From: Brian Date: Tue, 4 Dec 2007 21:05:26 +0000 (-0700) Subject: Fix gl_FrontFacing compilation problem X-Git-Tag: 062012170305~19304 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ee7035886d9f857677776f84e55f92153318832;p=profile%2Fivi%2Fmesa.git Fix gl_FrontFacing compilation problem --- diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 5191e0c..f6ea57b 100644 --- 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;