diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-01-21 11:58:58 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-01-21 11:58:58 +0300 |
commit | 23fa5bb723049684b06192afbdd1714e4109be72 (patch) | |
tree | 33cf86682b1cc5a15199c2aa82b2742a76cd144b /source/blender/gpu/shaders/infos/gpu_shader_3D_flat_color_info.hh | |
parent | 64196a6b29016892f52771947047146c6c125f3f (diff) |
GPU: Remove unused resources in shader create info.
When adding the shader create infos some additional resources where defined
that doesn't exist in the shader itself. This commit will remove them.
Diffstat (limited to 'source/blender/gpu/shaders/infos/gpu_shader_3D_flat_color_info.hh')
-rw-r--r-- | source/blender/gpu/shaders/infos/gpu_shader_3D_flat_color_info.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/infos/gpu_shader_3D_flat_color_info.hh b/source/blender/gpu/shaders/infos/gpu_shader_3D_flat_color_info.hh index 70b2dac8266..14a6986f478 100644 --- a/source/blender/gpu/shaders/infos/gpu_shader_3D_flat_color_info.hh +++ b/source/blender/gpu/shaders/infos/gpu_shader_3D_flat_color_info.hh @@ -30,7 +30,6 @@ GPU_SHADER_CREATE_INFO(gpu_shader_3D_flat_color) .vertex_out(flat_color_iface) .fragment_out(0, Type::VEC4, "fragColor") .push_constant(0, Type::MAT4, "ModelViewProjectionMatrix") - .push_constant(1, Type::BOOL, "srgbTarget") .vertex_source("gpu_shader_3D_flat_color_vert.glsl") .fragment_source("gpu_shader_flat_color_frag.glsl") .additional_info("gpu_srgb_to_framebuffer_space") |