diff --git a/gfx/drivers_shader/slang_reflection.h b/gfx/drivers_shader/slang_reflection.h index 3f60a38d8e..a814da743f 100644 --- a/gfx/drivers_shader/slang_reflection.h +++ b/gfx/drivers_shader/slang_reflection.h @@ -92,8 +92,8 @@ enum slang_constant_buffer SLANG_CBUFFER_MAX }; -/* Vulkan minimum limit. */ -#define SLANG_NUM_BINDINGS 32 +/* Vulkan maximum texture bindings inside shader. D3D11 has hard limit of 16 */ +#define SLANG_NUM_BINDINGS 16 struct slang_texture_semantic_map {