diff options
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_variable.c | 4 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_compile_variable.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c index 928c752d14f..92951b85bbc 100644 --- a/src/mesa/shader/slang/slang_compile_variable.c +++ b/src/mesa/shader/slang/slang_compile_variable.c @@ -247,8 +247,8 @@ slang_variable_copy(slang_variable * x, const slang_variable * y) } slang_variable * -_slang_locate_variable(slang_variable_scope * scope, slang_atom a_name, - GLboolean all) +_slang_locate_variable(const slang_variable_scope * scope, + const slang_atom a_name, GLboolean all) { GLuint i; diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h index 626e424e797..2f358860f82 100644 --- a/src/mesa/shader/slang/slang_compile_variable.h +++ b/src/mesa/shader/slang/slang_compile_variable.h @@ -115,7 +115,7 @@ extern int slang_variable_copy(slang_variable *, const slang_variable *); extern slang_variable * -_slang_locate_variable(slang_variable_scope *, slang_atom a_name, +_slang_locate_variable(const slang_variable_scope *, const slang_atom a_name, GLboolean all); extern GLboolean |