From 6644b0e398e1282257dbc117a405a66f6e8ff5f8 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 19 Apr 2021 18:48:09 +0300 Subject: [PATCH] spirv: fix uToAccelerationStructure handling Signed-off-by: Lionel Landwerlin Fixes: 7f223a2329a7d3 ("spirv: Implement SpvOpConvertUToAccelerationStructureKHR") Reviewed-by: Jason Ekstrand Part-of: (cherry picked from commit 856953b131d573cab6f304df54b4ba877fb7d52c) --- .pick_status.json | 2 +- src/compiler/spirv/spirv_to_nir.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 036b37130fc..9cf87f41236 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -553,7 +553,7 @@ "description": "spirv: fix uToAccelerationStructure handling", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "7f223a2329a7d392b8860f488b3797012cdd37fe" }, diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index f739a8389aa..d8b2efabe4e 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -5284,6 +5284,7 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode, case SpvOpGenericPtrMemSemantics: case SpvOpSubgroupBlockReadINTEL: case SpvOpSubgroupBlockWriteINTEL: + case SpvOpConvertUToAccelerationStructureKHR: vtn_handle_variables(b, opcode, w, count); break;