diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-12-04 14:05:11 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-12-04 14:07:15 -0700 |
commit | c13542626729a6fe3e4dfbc71f3569119255b668 (patch) | |
tree | c0aacebfc986d11ff605a73a4475198bf3273c6c /src | |
parent | 4be0c981205b5530366a10eb96e06b93a2439391 (diff) |
Fix gl_FrontFacing compilation problem
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 675dd831805..ef9c0ab3f9a 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -2344,7 +2344,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; |