summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorKarl Schultz <k.w.schultz@comcast.net>2007-04-24 08:53:28 -0600
committerBrian <brian@yutani.localnet.net>2007-04-24 08:53:28 -0600
commit286faac68e7f8c51fd1afa801c75db33a427f8b6 (patch)
treede1314f7783aadf2d86faae2ae7187590ee2759b /src/mesa/shader
parent3b0bd0ce1747bf9145d4fcee83515d7a1e7a5f03 (diff)
assorted fixes for Windows/VC8
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_vartable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_vartable.c b/src/mesa/shader/slang/slang_vartable.c
index 5814481ea7..8a3c299d19 100644
--- a/src/mesa/shader/slang/slang_vartable.c
+++ b/src/mesa/shader/slang/slang_vartable.c
@@ -319,9 +319,9 @@ GLboolean
_slang_is_temp(const slang_var_table *vt, const slang_ir_storage *store)
{
struct table *t = vt->Top;
+ GLuint comp;
assert(store->Index >= 0);
assert(store->Index < vt->MaxRegisters);
- GLuint comp;
if (store->Swizzle == SWIZZLE_NOOP)
comp = 0;
else