Mesa (master): spirv: fix uToAccelerationStructure handling

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Apr 19 22:25:36 UTC 2021


Module: Mesa
Branch: master
Commit: 856953b131d573cab6f304df54b4ba877fb7d52c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=856953b131d573cab6f304df54b4ba877fb7d52c

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Apr 19 18:48:09 2021 +0300

spirv: fix uToAccelerationStructure handling

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: 7f223a2329a7d3 ("spirv: Implement SpvOpConvertUToAccelerationStructureKHR")
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10324>

---

 src/compiler/spirv/spirv_to_nir.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index cf13aedc4a7..814b9e05f80 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -5370,6 +5370,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;
 



More information about the mesa-commit mailing list