X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fglsl%2Fir.cpp;h=4d4bc0fb957e32c88ffa8fb46549c57964fe2471;hb=73fa3a1ca44a5eb7bf1c4c5087fcacd912b62e65;hp=dc832a2b632c6075a326138f09ba74e3281f72db;hpb=6b9f6caf0676bf875d7b346f9d1838c2b6c6b2f1;p=mesa.git diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index dc832a2b632..4d4bc0fb957 100644 --- a/src/compiler/glsl/ir.cpp +++ b/src/compiler/glsl/ir.cpp @@ -293,6 +293,8 @@ ir_expression::ir_expression(int op, ir_rvalue *op0) break; case ir_unop_f2f16: + case ir_unop_f2fmp: + case ir_unop_b2f16: this->type = glsl_type::get_instance(GLSL_TYPE_FLOAT16, op0->type->vector_elements, 1); break; @@ -300,6 +302,7 @@ ir_expression::ir_expression(int op, ir_rvalue *op0) case ir_unop_f2b: case ir_unop_i2b: case ir_unop_d2b: + case ir_unop_f162b: case ir_unop_i642b: this->type = glsl_type::get_instance(GLSL_TYPE_BOOL, op0->type->vector_elements, 1);