Fix gl_FrontFacing compilation problem
This commit is contained in:
parent
df198d24bc
commit
2ee7035886
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue