diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-10-29 17:10:26 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-10-29 17:16:47 +0300 |
commit | d0d57f17121f1649b4347a14769d274204945717 (patch) | |
tree | cd19ed3a539c9801bacbd1bf406683b637cfd911 /source | |
parent | 883e22a92ca5b2b22bd441bedc6bdd1626980f35 (diff) |
Fix T70091 EEVEE: volumetric broken, not refresh
Thanks @mano-wii for finding the fix.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_volumes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_volumes.c b/source/blender/draw/engines/eevee/eevee_volumes.c index aaa351a1922..728e6615f43 100644 --- a/source/blender/draw/engines/eevee/eevee_volumes.c +++ b/source/blender/draw/engines/eevee/eevee_volumes.c @@ -81,7 +81,9 @@ extern char datatoc_volumetric_integration_frag_glsl[]; extern char datatoc_volumetric_lib_glsl[]; extern char datatoc_common_fullscreen_vert_glsl[]; -#define USE_VOLUME_OPTI (GLEW_ARB_shader_image_load_store && GLEW_ARB_shading_language_420pack) +#define USE_VOLUME_OPTI \ + (GLEW_ARB_shader_image_load_store && GLEW_ARB_shading_language_420pack && \ + !GPU_crappy_amd_driver()) static void eevee_create_shader_volumes(void) { |