diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-27 10:48:37 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-27 10:54:24 +0300 |
commit | 5abab0a41a02a0dbae0ea3ec355b7dfb6a778613 (patch) | |
tree | c18ed3a2395967c3aad146e316b26694ed746e4f /source/blender/gpu/shaders/infos/gpu_shader_instance_varying_color_varying_size_info.hh | |
parent | a7f7b0b77e3ffce679c1b3a79bd7b9fd92779959 (diff) |
GPUShaderCreateInfo: Remove push_constant indexing
This is too much impractical and offers no real benefit.
Diffstat (limited to 'source/blender/gpu/shaders/infos/gpu_shader_instance_varying_color_varying_size_info.hh')
-rw-r--r-- | source/blender/gpu/shaders/infos/gpu_shader_instance_varying_color_varying_size_info.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/infos/gpu_shader_instance_varying_color_varying_size_info.hh b/source/blender/gpu/shaders/infos/gpu_shader_instance_varying_color_varying_size_info.hh index 98a1fcf5b37..418ec0bef2d 100644 --- a/source/blender/gpu/shaders/infos/gpu_shader_instance_varying_color_varying_size_info.hh +++ b/source/blender/gpu/shaders/infos/gpu_shader_instance_varying_color_varying_size_info.hh @@ -31,7 +31,7 @@ GPU_SHADER_CREATE_INFO(gpu_shader_instance_varying_color_varying_size) .vertex_in(3, Type::FLOAT, "size") .vertex_out(flat_color_iface) .fragment_out(0, Type::VEC4, "fragColor") - .push_constant(0, Type::MAT4, "ViewProjectionMatrix") + .push_constant(Type::MAT4, "ViewProjectionMatrix") .vertex_source("gpu_shader_instance_variying_size_variying_color_vert.glsl") .fragment_source("gpu_shader_flat_color_frag.glsl") .additional_info("gpu_srgb_to_framebuffer_space") |