Skip to content

[SPIR-V] QuadAny/QuadAll Unsupported in SPIR-V #7247

@rnvannatta

Description

@rnvannatta

Description
The QuadAny/QuadAll builtins do not work when targeting SPIR-V, reporting a "QuadAny intrinsic function unimplemented" error.

Other builtins, like QuadReadLaneAt work in SPIR-V. And DXC uses a polyfill for QuadAny when targeting DXIL < SM 6_7. I'd also expect DXC to use a polyfill for old SPIR-V versions.

We also target SPIR-V platforms which lack QuadAny support so I'd appreciate if the polyfill worked there too :)

Steps to Reproduce
https://godbolt.org/z/zeK7jv3x5

Actual Behavior
The QuadAny/QuadAll builtins do not work when targeting SPIR-V, reporting a "QuadAny intrinsic function unimplemented" error.

Environment

  • DXC version libdxcompiler.so: 1.8(dev;1-11e1318c)
  • Host Operating System any

Metadata

Metadata

Assignees

Labels

bugBug, regression, crashspirvWork related to SPIR-V

Type

No type

Projects

Status

Done

Status

Triaged

Relationships

None yet

Development

No branches or pull requests

Issue actions