diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-26 21:08:56 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-26 21:09:05 +0300 |
commit | 57dfec79f4ab1ceeb8c5f6049aa03e779e7871c0 (patch) | |
tree | b400a9a7e8d63dc2e60c45e988e969798c066d3b /source/blender/draw/intern | |
parent | 13f2df3c2806a187682ddd05d8ce44d56a42239e (diff) |
DRW: Fix builtin uniform name mismatch
This lead to severe unreported regression, like volume rendering broken
in workbench.
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/shaders/common_view_lib.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/shaders/common_view_lib.glsl b/source/blender/draw/intern/shaders/common_view_lib.glsl index 8627aa40bfd..d4d18b95238 100644 --- a/source/blender/draw/intern/shaders/common_view_lib.glsl +++ b/source/blender/draw/intern/shaders/common_view_lib.glsl @@ -106,8 +106,8 @@ uniform int drw_resourceChunk; # if defined(UNIFORM_RESOURCE_ID) /* This is in the case we want to do a special instance drawcall for one object but still want to * have the right resourceId and all the correct ubo datas. */ -uniform int drw_resourceId; -# define resource_id drw_resourceId +uniform int drw_ResourceID; +# define resource_id drw_ResourceID # else # define resource_id (gpu_BaseInstance + instanceId) # endif |