summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_simplify.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-02 15:30:50 -0700
committerBrian <[email protected]>2007-02-02 15:30:50 -0700
commit1bc71e32ea281077fed6f77bf4c1d63c65eb14f6 (patch)
tree954bd217e048c0b0dbd7958a8a4f6019eee3ae13 /src/mesa/shader/slang/slang_simplify.c
parentfe45343df98ecdc06039b68d5a249a41f9e9e11e (diff)
s/slang_assembly_typeinfo/slang_typeinfo/
Diffstat (limited to 'src/mesa/shader/slang/slang_simplify.c')
-rw-r--r--src/mesa/shader/slang/slang_simplify.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/shader/slang/slang_simplify.c b/src/mesa/shader/slang/slang_simplify.c
index bf6afe45322..ef8b2fedd80 100644
--- a/src/mesa/shader/slang/slang_simplify.c
+++ b/src/mesa/shader/slang/slang_simplify.c
@@ -294,15 +294,15 @@ _slang_adapt_call(slang_operation *callOper, const slang_function *fun,
* into individual floats/ints and try to match the function params.
*/
for (i = 0; i < numParams; i++) {
- slang_assembly_typeinfo argType;
+ slang_typeinfo argType;
GLint argSz, j;
/* Get type of arg[i] */
- if (!slang_assembly_typeinfo_construct(&argType))
+ if (!slang_typeinfo_construct(&argType))
return GL_FALSE;
if (!_slang_typeof_operation_(&callOper->children[i], space,
&argType, atoms)) {
- slang_assembly_typeinfo_destruct(&argType);
+ slang_typeinfo_destruct(&argType);
return GL_FALSE;
}
@@ -369,15 +369,15 @@ _slang_adapt_call(slang_operation *callOper, const slang_function *fun,
* x = foo(int(3.15), bool(9))
*/
for (i = 0; i < numParams; i++) {
- slang_assembly_typeinfo argType;
+ slang_typeinfo argType;
slang_variable *paramVar = fun->parameters->variables[i];
/* Get type of arg[i] */
- if (!slang_assembly_typeinfo_construct(&argType))
+ if (!slang_typeinfo_construct(&argType))
return GL_FALSE;
if (!_slang_typeof_operation_(&callOper->children[i], space,
&argType, atoms)) {
- slang_assembly_typeinfo_destruct(&argType);
+ slang_typeinfo_destruct(&argType);
return GL_FALSE;
}
@@ -398,7 +398,7 @@ _slang_adapt_call(slang_operation *callOper, const slang_function *fun,
callOper->children[i].children = child;
}
- slang_assembly_typeinfo_destruct(&argType);
+ slang_typeinfo_destruct(&argType);
}
if (dbg) {