[Mesa-dev] [PATCH 08/13] nir/vtn: add OpLifetime*
Rob Clark
robdclark at gmail.com
Wed Feb 28 19:51:38 UTC 2018
These are just hints so we can ignore them.
Signed-off-by: Rob Clark <robdclark at gmail.com>
---
src/compiler/spirv/spirv_to_nir.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index e539d944302..3e7ac46c639 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -3771,6 +3771,10 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode,
vtn_handle_barrier(b, opcode, w, count);
break;
+ case SpvOpLifetimeStart:
+ case SpvOpLifetimeStop:
+ break;
+
default:
vtn_fail("Unhandled opcode");
}
--
2.14.3
More information about the mesa-dev
mailing list