File tree Expand file tree Collapse file tree
tools/clang/unittests/HLSLExec Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10855,6 +10855,7 @@ void ExecutionTest::GroupSharedLimitASTest() {
1085510855 out vertices MeshOutput verts[3],
1085610856 out indices uint3 tris[1]) {
1085710857 SetMeshOutputCounts(0, 0);
10858+ verts[0].pos = float4(0, 0, 0, 0);
1085810859 }
1085910860
1086010861 float4 PSMain() : SV_Target { return float4(0,0,0,0); }
@@ -10914,6 +10915,7 @@ void ExecutionTest::GroupSharedLimitMSTest() {
1091410915 out vertices MeshOutput verts[3],
1091510916 out indices uint3 tris[1]) {
1091610917 SetMeshOutputCounts(0, 0);
10918+ verts[0].pos = float4(0, 0, 0, 0);
1091710919 for (uint i = GI; i < GSM_DWORDS; i += 64)
1091810920 g_shared[i] = i;
1091910921 GroupMemoryBarrierWithGroupSync();
Original file line number Diff line number Diff line change 18691869 RootFlags(0),
18701870 DescriptorTable(UAV(u0))
18711871 </RootSignature >
1872- <Resource Name =" UAVBuffer0" Dimension =" BUFFER" Width =" 512" InitialResourceState =" COPY_DEST" Init =" Zero " Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" ReadBack =" true" />
1872+ <Resource Name =" UAVBuffer0" Dimension =" BUFFER" Width =" 512" InitialResourceState =" COPY_DEST" Init =" ByName " Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" ReadBack =" true" />
18731873 <Resource Name =" RTarget" Dimension =" TEXTURE2D" Width =" 4" Height =" 4" Format =" R8G8B8A8_UNORM" Flags =" ALLOW_RENDER_TARGET" InitialResourceState =" COPY_DEST" ReadBack =" false" />
18741874 <RootValues >
18751875 <RootValue HeapName =" ResHeap" />
18761876 </RootValues >
18771877 <DescriptorHeap Name =" ResHeap" Type =" CBV_SRV_UAV" >
1878- <Descriptor Name =" U0" Kind =" UAV" ResName =" UAVBuffer0" NumElements =" 128 " StructureByteStride =" 4" />
1878+ <Descriptor Name =" U0" Kind =" UAV" ResName =" UAVBuffer0" NumElements =" 4096 " StructureByteStride =" 4" />
18791879 </DescriptorHeap >
18801880 <DescriptorHeap Name =" RtvHeap" NumDescriptors =" 1" Type =" RTV" >
18811881 <Descriptor Name =" RTarget" Kind =" RTV" />
18951895 RootFlags(0),
18961896 DescriptorTable(UAV(u0))
18971897 </RootSignature >
1898- <Resource Name =" UAVBuffer0" Dimension =" BUFFER" Width =" 512" InitialResourceState =" COPY_DEST" Init =" Zero " Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" ReadBack =" true" />
1898+ <Resource Name =" UAVBuffer0" Dimension =" BUFFER" Width =" 512" InitialResourceState =" COPY_DEST" Init =" ByName " Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" ReadBack =" true" />
18991899 <Resource Name =" RTarget" Dimension =" TEXTURE2D" Width =" 4" Height =" 4" Format =" R8G8B8A8_UNORM" Flags =" ALLOW_RENDER_TARGET" InitialResourceState =" COPY_DEST" ReadBack =" false" />
19001900 <RootValues >
19011901 <RootValue HeapName =" ResHeap" />
19021902 </RootValues >
19031903 <DescriptorHeap Name =" ResHeap" Type =" CBV_SRV_UAV" >
1904- <Descriptor Name =" U0" Kind =" UAV" ResName =" UAVBuffer0" NumElements =" 128 " StructureByteStride =" 4" />
1904+ <Descriptor Name =" U0" Kind =" UAV" ResName =" UAVBuffer0" NumElements =" 4096 " StructureByteStride =" 4" />
19051905 </DescriptorHeap >
19061906 <DescriptorHeap Name =" RtvHeap" NumDescriptors =" 1" Type =" RTV" >
19071907 <Descriptor Name =" RTarget" Kind =" RTV" />
You can’t perform that action at this time.
0 commit comments