Skip to content

Conversation

@svenvh
Copy link
Member

@svenvh svenvh commented Jan 4, 2024

This translator currently only supports the OpenCL/compute "flavour" of SPIR-V, but for the llvm.bitreverse intrinsic it could produce SPIR-V modules declaring the Shader Capability.

When translating llvm.bitreverse without having the SPV_KHR_bit_instructions extension enabled, avoid producing SPIR-V modules declaring the Shader Capability and report an error instead.

This translator currently only supports the OpenCL/compute "flavour"
of SPIR-V, but for the `llvm.bitreverse` intrinsic it could produce
SPIR-V modules declaring the `Shader` Capability.

When translating `llvm.bitreverse` without having the
`SPV_KHR_bit_instructions` extension enabled, avoid producing SPIR-V
modules declaring the `Shader` Capability and report an error instead.
@MrSidims MrSidims merged commit 17a5d2d into KhronosGroup:main Jan 4, 2024
@svenvh svenvh deleted the bitrev-never-shader branch January 5, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants