Skip to content

Added WaveOps tests for QuadReadLaneAt#1335

Open
kcloudy0717 wants to merge 3 commits into
llvm:mainfrom
kcloudy0717:kcloudy0717/QuadReadLaneAt
Open

Added WaveOps tests for QuadReadLaneAt#1335
kcloudy0717 wants to merge 3 commits into
llvm:mainfrom
kcloudy0717:kcloudy0717/QuadReadLaneAt

Conversation

@kcloudy0717

Copy link
Copy Markdown
Contributor

Resolves #884.

Note there is a separate testing path between DXIL and SPIRV due to the lane index restriction between the two IRs. DXIL allows lane index to be non-uniform as described in https://github.com/microsoft/DirectXShaderCompiler/wiki/Wave-Intrinsics, whereas SPIRV only allows constant (dynamically uniform after version 1.5, https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpGroupNonUniformQuadBroadcast).

@bob80905 bob80905 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inbelic inbelic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, are we able to close the issues that are no longer linked as duplicate now?

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.

Add test for QuadReadLaneAt

4 participants