summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.c2
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.h2
2 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 b62743addb0..679d93b951a 100644
--- a/src/mesa/shader/slang/slang_compile_variable.c
+++ b/src/mesa/shader/slang/slang_compile_variable.c
@@ -183,7 +183,7 @@ int slang_variable_construct (slang_variable *var)
var->initializer = NULL;
var->address = ~0;
var->size = 0;
- var->global = 0;
+ var->global = GL_FALSE;
return 1;
}
diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h
index 6b9679a3b75..0b62ad2f1d3 100644
--- a/src/mesa/shader/slang/slang_compile_variable.h
+++ b/src/mesa/shader/slang/slang_compile_variable.h
@@ -76,7 +76,7 @@ typedef struct slang_variable_
struct slang_operation_ *initializer;
unsigned int address;
unsigned int size;
- int global;
+ GLboolean global;
} slang_variable;
int slang_variable_construct (slang_variable *);