[Mesa-dev] [PATCH 09/13] nir/vtn: add OpConvertPtrToU

Rob Clark robdclark at gmail.com
Wed Feb 28 19:51:39 UTC 2018


Signed-off-by: Rob Clark <robdclark at gmail.com>
---
 src/compiler/spirv/vtn_alu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c
index d0c9e316935..9397240912b 100644
--- a/src/compiler/spirv/vtn_alu.c
+++ b/src/compiler/spirv/vtn_alu.c
@@ -592,6 +592,7 @@ vtn_handle_alu(struct vtn_builder *b, SpvOp opcode,
       vtn_handle_bitcast(b, val->ssa, src[0]);
       break;
 
+   case SpvOpConvertPtrToU:
    case SpvOpFConvert: {
       nir_alu_type src_alu_type = nir_get_nir_type_for_glsl_type(vtn_src[0]->type);
       nir_alu_type dst_alu_type = nir_get_nir_type_for_glsl_type(type);
-- 
2.14.3



More information about the mesa-dev mailing list