aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c
index 819b4f901b3..664fd9bc576 100644
--- a/src/mesa/shader/slang/slang_compile_variable.c
+++ b/src/mesa/shader/slang/slang_compile_variable.c
@@ -393,9 +393,9 @@ gl_type_from_specifier(const slang_type_specifier * type)
return GL_SAMPLER_3D_ARB;
case SLANG_SPEC_SAMPLERCUBE:
return GL_SAMPLER_CUBE_ARB;
- case SLANG_SPEC_SAMPLER1DShadow:
+ case SLANG_SPEC_SAMPLER1DSHADOW:
return GL_SAMPLER_1D_SHADOW_ARB;
- case SLANG_SPEC_SAMPLER2DShadow:
+ case SLANG_SPEC_SAMPLER2DSHADOW:
return GL_SAMPLER_2D_SHADOW_ARB;
case SLANG_SPEC_ARRAy:
return gl_type_from_specifier(type->_array);