diff options
author | Brian <[email protected]> | 2007-04-18 16:27:35 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-04-18 17:14:13 -0600 |
commit | c93e883b205a679aa80f6228459890f9118ad909 (patch) | |
tree | f9e8290d6c013e7e3086a8c53bf436fe33c57824 /src/mesa/shader/slang/slang_link.c | |
parent | 274ac7a801766a0ae766219ec6a40ed52e479d07 (diff) |
Start fixing some issues with uniform variables and their types.
Diffstat (limited to 'src/mesa/shader/slang/slang_link.c')
-rw-r--r-- | src/mesa/shader/slang/slang_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 360af0922fa..48c0d68375e 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -202,10 +202,10 @@ link_uniform_vars(struct gl_shader_program *shProg, struct gl_program *prog) j = _mesa_add_state_reference(shProg->Uniforms, p->StateIndexes); break; case PROGRAM_UNIFORM: - j = _mesa_add_uniform(shProg->Uniforms, p->Name, p->Size); + j = _mesa_add_uniform(shProg->Uniforms, p->Name, p->Size, p->DataType); break; case PROGRAM_SAMPLER: - j = _mesa_add_sampler(shProg->Uniforms, p->Name); + j = _mesa_add_sampler(shProg->Uniforms, p->Name, p->DataType); break; default: _mesa_problem(NULL, "bad parameter type in link_uniform_vars()"); |