projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5dd389
)
fix swizzle-related bug 11534
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 12 Jul 2007 20:50:53 +0000
(14:50 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 12 Jul 2007 20:50:53 +0000
(14:50 -0600)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index 2b5196f095fbde3d8aba0e019c623d2604b6800d..35e80e04523ceef13354f8cbc16303b42d06d16a 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-1,6
+1,6
@@
/*
* Mesa 3-D graphics library
- * Version:
6.5.3
+ * Version:
7.1
*
* Copyright (C) 2005-2007 Brian Paul All Rights Reserved.
*
@@
-2328,7
+2328,8
@@
_slang_gen_field(slang_assemble_ctx * A, slang_operation *oper)
n = _slang_gen_swizzle(n, swizzle);
return n;
}
- else if (ti.spec.type == SLANG_SPEC_FLOAT) {
+ else if ( ti.spec.type == SLANG_SPEC_FLOAT
+ || ti.spec.type == SLANG_SPEC_INT) {
const GLuint rows = 1;
slang_swizzle swz;
slang_ir_node *n;