Fix T70091 EEVEE: volumetric broken, not refresh

Thanks @mano-wii for finding the fix.
This commit is contained in:
Clément Foucault 2019-10-29 15:10:26 +01:00
parent 883e22a92c
commit d0d57f1712
Notes: blender-bot 2023-02-14 07:36:17 +01:00
Referenced by issue #70091, volumetric broken, not refresh
1 changed files with 3 additions and 1 deletions

View File

@ -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)
{