File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
test/Feature/StructuredBuffer Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ RWStructuredBuffer<int> Out[4] : register(u0);
88[numthreads(4,1,1)]
99void main(uint GI : SV_GroupIndex) {
1010 for (int i = 0; i < GI; i++)
11- Out[GI ].IncrementCounter();
12-
13- Out[GI ][0] = Out[GI ].IncrementCounter();
11+ Out[NonUniformResourceIndex(GI) ].IncrementCounter();
12+
13+ Out[NonUniformResourceIndex(GI) ][0] = Out[NonUniformResourceIndex(GI) ].IncrementCounter();
1414}
1515
1616//--- pipeline.yaml
@@ -48,10 +48,6 @@ DescriptorSets:
4848# Unimplemented https://github.com/llvm/offload-test-suite/issues/305
4949# XFAIL: Metal
5050
51- # Intel has an issue with counters in resource arrays
52- # Bug https://github.com/llvm/offload-test-suite/issues/376
53- # XFAIL: Intel
54-
5551# RUN: split-file %s %t
5652# RUN: %dxc_target -T cs_6_0 -Fo %t.o %t/source.hlsl
5753# RUN: %offloader %t/pipeline.yaml %t.o | FileCheck %s %if DirectX %{ --check-prefixes=CHECK,DX-CHECK %}
You can’t perform that action at this time.
0 commit comments