From: Rob Clark <robdcl...@gmail.com>

Signed-off-by: Karol Herbst <kher...@redhat.com>
---
 src/compiler/spirv/spirv_to_nir.c  | 1 +
 src/compiler/spirv/vtn_variables.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/compiler/spirv/spirv_to_nir.c 
b/src/compiler/spirv/spirv_to_nir.c
index 6a16d77a771..3b86aef2978 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -3732,6 +3732,7 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp 
opcode,
    case SpvOpCopyMemorySized:
    case SpvOpAccessChain:
    case SpvOpPtrAccessChain:
+   case SpvOpInBoundsPtrAccessChain:
    case SpvOpInBoundsAccessChain:
    case SpvOpArrayLength:
       vtn_handle_variables(b, opcode, w, count);
diff --git a/src/compiler/spirv/vtn_variables.c 
b/src/compiler/spirv/vtn_variables.c
index 51f73b3cf8c..6cf1a63f8c9 100644
--- a/src/compiler/spirv/vtn_variables.c
+++ b/src/compiler/spirv/vtn_variables.c
@@ -2259,6 +2259,7 @@ vtn_handle_variables(struct vtn_builder *b, SpvOp opcode,
 
    case SpvOpAccessChain:
    case SpvOpPtrAccessChain:
+   case SpvOpInBoundsPtrAccessChain:
    case SpvOpInBoundsAccessChain: {
       struct vtn_type *ptr_type = vtn_value(b, w[1], 
vtn_value_type_type)->type;
       struct vtn_value *base_val = vtn_untyped_value(b, w[3]);
-- 
2.14.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to