projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df198d2
)
Fix gl_FrontFacing compilation problem
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 4 Dec 2007 21:05:26 +0000
(14:05 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 4 Dec 2007 21:07:08 +0000
(14:07 -0700)
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 5191e0c222f71bcf580a833769c28835724f0cc8..f6ea57b3f2e8a9c98cc59cc1f5e7fc1086cf4b04 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-2352,7
+2352,8
@@
_slang_gen_field(slang_assemble_ctx * A, slang_operation *oper)
return n;
}
else if ( ti.spec.type == SLANG_SPEC_FLOAT
- || ti.spec.type == SLANG_SPEC_INT) {
+ || ti.spec.type == SLANG_SPEC_INT
+ || ti.spec.type == SLANG_SPEC_BOOL) {
const GLuint rows = 1;
slang_swizzle swz;
slang_ir_node *n;