Skip to content

Add synchronized HLSL barrier tests - #1498

Draft
damyanp wants to merge 4 commits into
llvm:mainfrom
damyanp:sync-barrier-tests
Draft

Add synchronized HLSL barrier tests#1498
damyanp wants to merge 4 commits into
llvm:mainfrom
damyanp:sync-barrier-tests

Conversation

@damyanp

@damyanp damyanp commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Add execution tests for DeviceMemoryBarrierWithGroupSync and AllMemoryBarrierWithGroupSync.

Fixes #105
Fixes #830

Add execution tests for DeviceMemoryBarrierWithGroupSync, AllMemoryBarrierWithGroupSync, and the Shader Model 6.8 Barrier API. Use 256 ordered writers so each barrier must complete one update before the next update starts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d7bf7f57-d4d3-4f90-8e1c-1adf57ff0ff0
@damyanp damyanp added the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Sep 4, 2026
@damyanp damyanp closed this Sep 4, 2026
@damyanp damyanp reopened this Sep 4, 2026
Skip the execution test when a DirectX device reports an older shader model.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d7bf7f57-d4d3-4f90-8e1c-1adf57ff0ff0
Keep running the test with Clang so it reports an unexpected pass when support becomes available.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d7bf7f57-d4d3-4f90-8e1c-1adf57ff0ff0
@damyanp
damyanp marked this pull request as ready for review September 4, 2026 19:59
@damyanp
damyanp marked this pull request as draft September 5, 2026 02:38
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d7bf7f57-d4d3-4f90-8e1c-1adf57ff0ff0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-all When applied to a PR this will opt-in to additional pre-merge test configurations..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add test for AllMemoryBarrierWithGroupSync Add test for DeviceMemoryBarrierWithGroupSync

1 participant