Skip to content

[QC][Vulkan][Clang] WaveActiveCountBits test fails on Qualcomm under Vulkan with Clang #549

@Icohedron

Description

@Icohedron

The test Feature/WaveOps/WaveActiveCountBits.test passes on all runners except for Windows Vulkan QC Clang, which suggests there is perhaps a QC driver bug specific to what Clang outputs for Vulkan/SPIR-V in this test case.

╭────┬──────────────────────┬─────────────┬────────────────────────────────┬────────┬──────────────────────────────────────────╮
│  # │      timestamp       │   run-id    │            workflow            │ status │                   test                   │
├────┼──────────────────────┼─────────────┼────────────────────────────────┼────────┼──────────────────────────────────────────┤
│  0 │ 2025-12-02T16:08:53Z │ 19865269397 │ Windows Vulkan QC Clang        │ FAIL   │ Feature/WaveOps/WaveActiveCountBits.test │
│  1 │ 2025-12-02T12:08:13Z │ 19858051291 │ Windows D3D12 AMD Clang        │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  2 │ 2025-12-02T12:04:10Z │ 19857941802 │ Windows D3D12 Warp Clang       │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  3 │ 2025-12-02T16:05:25Z │ 19865159750 │ Windows D3D12 Intel Clang      │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  4 │ 2025-12-02T16:05:50Z │ 19865173460 │ Windows D3D12 NVIDIA Clang     │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  5 │ 2025-12-02T16:01:06Z │ 19865022716 │ Windows D3D12 QC Clang         │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  6 │ 2025-12-02T14:05:52Z │ 19861364159 │ Windows ARM64 D3D12 Warp Clang │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  7 │ 2025-12-02T12:01:06Z │ 19857858903 │ Windows D3D12 AMD DXC          │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  8 │ 2025-12-02T12:11:34Z │ 19858143265 │ Windows D3D12 Warp DXC         │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│  9 │ 2025-12-02T16:01:35Z │ 19865037929 │ Windows D3D12 Intel DXC        │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 10 │ 2025-12-02T16:03:51Z │ 19865110582 │ Windows D3D12 NVIDIA DXC       │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 11 │ 2025-12-02T16:08:39Z │ 19865261556 │ Windows D3D12 QC DXC           │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 12 │ 2025-12-02T16:00:59Z │ 19865018538 │ Windows ARM64 D3D12 Warp DXC   │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 13 │ 2025-12-02T16:43:05Z │ 19866287984 │ macOS Metal Clang              │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 14 │ 2025-12-02T17:09:41Z │ 19867100359 │ macOS Metal DXC                │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 15 │ 2025-12-02T12:08:36Z │ 19858062139 │ Windows Vulkan AMD Clang       │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 16 │ 2025-12-02T16:05:25Z │ 19865159803 │ Windows Vulkan Intel Clang     │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 17 │ 2025-12-02T16:02:24Z │ 19865064131 │ Windows Vulkan NVIDIA Clang    │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 18 │ 2025-12-02T12:07:36Z │ 19858035043 │ Windows Vulkan AMD DXC         │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 19 │ 2025-12-02T16:02:15Z │ 19865059004 │ Windows Vulkan Intel DXC       │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 20 │ 2025-12-02T16:07:41Z │ 19865230599 │ Windows Vulkan NVIDIA DXC      │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
│ 21 │ 2025-12-02T18:02:48Z │ 19868627852 │ Windows Vulkan QC DXC          │ PASS   │ Feature/WaveOps/WaveActiveCountBits.test │
╰────┴──────────────────────┴─────────────┴────────────────────────────────┴────────┴──────────────────────────────────────────╯

Logs: https://github.com/llvm/offload-test-suite/actions/runs/19865269397/job/56926148046#step:12:2165

FAIL: OffloadTest-clang-vk :: Feature/WaveOps/WaveActiveCountBits.test (257 of 294)
******************** TEST 'OffloadTest-clang-vk :: Feature/WaveOps/WaveActiveCountBits.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 67
c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe C:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\Feature\WaveOps\WaveActiveCountBits.test C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp
# executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\split-file.exe' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\test\Feature\WaveOps\WaveActiveCountBits.test' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp'
# RUN: at line 68
c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\clang-dxc.exe -spirv -fspv-target-env=vulkan1.3 -fspv-extension=DXC --dxv-path=C:/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Fo C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp.o C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp/source.hlsl
# executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\clang-dxc.exe' -spirv -fspv-target-env=vulkan1.3 -fspv-extension=DXC --dxv-path=C:/actions-runner/_work/offload-test-suite/offload-test-suite/DXC/build/bin -T cs_6_5 -Fo 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp.o' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp/source.hlsl'
# RUN: at line 69
c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe -debug-layer C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp/pipeline.yaml C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp.o
# executed command: 'c:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\bin\offloader.exe' -debug-layer 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp/pipeline.yaml' 'C:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\build\tools\OffloadTest\test\clang-vk\Feature\WaveOps\Output\WaveActiveCountBits.test.tmp.o'
# .---command stdout------------
# | Using Vulkan API
# | Physical device created.
# | Shader module created.
# | Copy command buffer created.
# | Memory buffers created.
# | Executed copy command buffer.
# | Execute command buffer created.
# | Descriptors: { type = 5, count = 1 }
# | Descriptors: { type = 7, count = 1 }
# | Descriptor pool created.
# | Binding 2 descriptors.
# | Num Descriptor sets: 1
# | Updating Descriptor [0] { 0, 0 }
# | Updating Descriptor [1] { 0, 1 }
# | WriteDescriptors: 2
# | Descriptor sets created.
# | Compute pipeline created.
# | Dispatched compute shader: { 1, 1, 1 }
# | Commands created.
# | Executed compute command buffer.
# | Compute pipeline created.
# | Cleanup complete.
# `-----------------------------
# .---command stderr------------
# | Test failed: Test
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name:            ExpectedOut
# | Format:          UInt32
# | Stride:          4
# | Data:            [ 3, 3, 3, 3, 2, 2, 0 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Got:
# | ---
# | Name:            Out
# | Format:          UInt32
# | Stride:          4
# | Data:            [ 2, 2, 2, 1, 2, 2, 0 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x3, 0x3, 0x3, 0x3, 0x2, 0x2, 0x0 ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x2, 0x2, 0x2, 0x1, 0x2, 0x2, 0x0 ]
# | 
# `-----------------------------
# error: command failed with exit status: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    driver-bugBugs that are likely or confirmed GPU driver bugs

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions