diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-06-14 20:12:39 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-06-14 20:17:06 +0300 |
commit | 0707177ab868f1845dba1ecfd396e58c091e89b0 (patch) | |
tree | a3ba924b06631c961eb2ec49f9e5c6ca3ac88ae8 /source/blender/draw/engines/eevee/eevee_private.h | |
parent | 486755460ab23f555036537f1ac79037d5e7ef08 (diff) |
Fix T64913 Eevee: shader compilation does not reset TAA
This tracks the number of compiling shaders and just reset the TAA
if previous number mismatch.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index fbbd5bc4ab3..166e8ac7473 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -840,6 +840,10 @@ typedef struct EEVEE_PrivateData { /* Color Management */ bool use_color_render_settings; + /* Compiling shaders count. This is to track if a shader has finished compiling. */ + int queued_shaders_count; + int queued_shaders_count_prev; + /* LookDev Settings */ int studiolight_index; float studiolight_rot_z; |