glsl: Add missing ir_quadop_vector constant evaluation for Boolean types
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -1726,6 +1726,9 @@ ir_expression::constant_expression_value(struct hash_table *variable_context)
|
||||
case GLSL_TYPE_DOUBLE:
|
||||
data.d[c] = op[c]->value.d[0];
|
||||
break;
|
||||
case GLSL_TYPE_BOOL:
|
||||
data.b[c] = op[c]->value.b[0];
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user