File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
#define REGISTER(Idx, Space) : register(Idx, Space)
7
7
#endif
8
8
9
- RWBuffer<float4> In REGISTER(u0, space0);
10
- RWBuffer<float4> Out1 REGISTER(u1, space4);
11
- RWBuffer<float4> Out2 REGISTER(u2, space4);
9
+ [[vk::binding(0)]] RWBuffer<float4> In REGISTER(u0, space0);
10
+ [[vk::binding(1)]] RWBuffer<float4> Out1 REGISTER(u1, space4);
11
+ [[vk::binding(0,1)]] RWBuffer<float4> Out2 REGISTER(u2, space4);
12
12
13
13
[numthreads(1,1,1)]
14
14
void main(uint GI : SV_GroupIndex) {
@@ -45,12 +45,12 @@ DescriptorSets:
45
45
...
46
46
#--- end
47
47
48
+ # UNSUPPORTED: Clang
48
49
# RUN: split-file %s %t
49
50
# RUN: %if DirectX %{ dxc -T cs_6_0 -Fo %t.dxil %t/DescriptorSets.hlsl %}
50
51
# RUN: %if DirectX %{ %offloader %t/DescriptorSets.yaml %t.dxil | FileCheck %s %}
51
52
# RUN: %if Vulkan %{ dxc -T cs_6_0 -spirv -fspv-target-env=vulkan1.1 -Fo %t.spv %t/DescriptorSets.hlsl %}
52
53
# RUN: %if Vulkan %{ %offloader %t/DescriptorSets.yaml %t.spv | FileCheck %s %}
53
- # XFAIL: Vulkan-NV
54
54
55
55
# RUN: %if Metal %{ dxc -T cs_6_0 -Fo %t.dxil %t/DescriptorSets.hlsl %}
56
56
# RUN: %if Metal %{ metal-shaderconverter %t.dxil -o=%t.metallib %}
You can’t perform that action at this time.
0 commit comments