diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-08-27 16:49:15 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-08-27 16:49:15 +0300 |
commit | 3f372f543040c6220da59a87ff542e1ea313fdcd (patch) | |
tree | a7f28b35866a1d84a82106c9e9ea4b67f1f94890 /source | |
parent | 48e773ca407bf2bdc9d181cd486f38ee281fe5ea (diff) |
Fix old eevee
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/shaders/common_view_lib.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/shaders/common_view_lib.glsl b/source/blender/draw/intern/shaders/common_view_lib.glsl index 19b5f77ca49..07dbd9e519d 100644 --- a/source/blender/draw/intern/shaders/common_view_lib.glsl +++ b/source/blender/draw/intern/shaders/common_view_lib.glsl @@ -126,7 +126,7 @@ uniform int drw_resourceChunk; * have the right resourceId and all the correct ubo datas. */ uniform int drw_ResourceID; # define resource_id drw_ResourceID -# elif defined(UNIFORM_RESOURCE_ID_NEW) +# else # define resource_id (gpu_BaseInstance + instanceId) # endif |