You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce llvm.{dx|svp}.resource.nonuniformindex intrinsic that will be used when a resource index is not guaranteed to be uniform across threads (HLSL function NonUniformResourceIndex).
When a resource index value uses this intrinsic, it needs to be captured during DXIL lowering and reflected in the NonUniform flag on DXIL create handle ops (dx.op.createHandle and dx.op.createHandleFromBinding). Handling of SPIR-V version of the intrinsic work will be done separately.
The DXIL lowering layer also needs to make sure all calls to llvm.dx.resource.nonuniformindex are removed.