Issue 160231
Summary [SPIRV] Capture non-uniform resource index flag
Labels backend:SPIR-V
Assignees
Reporter hekota
    PR #159608 introduced `llvm.svp.resource.nonuniformindex` intrinsic which is generated from `NonUniformResourceIndex` calls in HLSL (#159655).
When this intrinsic is used as part of the index value in a resource array/range, the resource needs to be marked with `NonUniform` flag.

The following test depends on this fearture and is currently marked XFAIL:
llvm/test/CodeGen/SPIRV/hlsl-resources/StorageImageNonUniformIdx.ll
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to