@@ -3721,13 +3721,9 @@ void MSMain(uint GID : SV_GroupIndex,
37213721 <RootSignature >UAV(u0), UAV(u1)</RootSignature >
37223722 <!-- Note: Width is set dynamically (via c++ test code) based on the input vector size and element type -->
37233723 <Resource Name =" InputVector1" Dimension =" BUFFER" Init =" ByName"
3724- ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS"
3725- TransitionTo =" UNORDERED_ACCESS" >
3726- </Resource >
3724+ Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" />
37273725 <Resource Name =" OutputVector" Dimension =" BUFFER" Width =" 0" Init =" ByName"
3728- ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS"
3729- TransitionTo =" UNORDERED_ACCESS" >
3730- </Resource >
3726+ ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" />
37313727
37323728 <RootValues >
37333729 <RootValue Index =" 0" ResName =" InputVector1" />
@@ -3766,8 +3762,7 @@ void MSMain(uint GID : SV_GroupIndex,
37663762 <Resource Name =" InputVector1" Dimension =" BUFFER" Init =" ByName" />
37673763 <Resource Name =" OutputVector" Dimension =" BUFFER" Width =" 0" Init =" ByName"
37683764 ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS"
3769- TransitionTo =" UNORDERED_ACCESS" >
3770- </Resource >
3765+ TransitionTo =" UNORDERED_ACCESS" />
37713766
37723767 <RootValues >
37733768 <RootValue Index =" 0" ResName =" InputVector1" />
@@ -3804,23 +3799,20 @@ void MSMain(uint GID : SV_GroupIndex,
38043799 <RootSignature >DescriptorTable(UAV(u0, numDescriptors=2))</RootSignature >
38053800 <!-- Note: Width is set dynamically (via c++ test code) based on the input vector size and element type -->
38063801 <Resource Name =" InputVector1" Dimension =" BUFFER" Width =" 0" Init =" ByName"
3807- ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS"
3808- TransitionTo =" UNORDERED_ACCESS" >
3809- </Resource >
3802+ Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" />
38103803 <Resource Name =" OutputVector" Dimension =" BUFFER" Width =" 0" Init =" ByName"
38113804 ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS"
3812- TransitionTo =" UNORDERED_ACCESS" >
3813- </Resource >
3805+ TransitionTo =" UNORDERED_ACCESS" />
38143806
38153807 <!-- Note: NumElements is set dynamically (via c++ test code) based on the
38163808 input vector size and element type -->
38173809 <RootValues >
38183810 <RootValue HeapName =" DescriptorTable" Index =" 0" />
38193811 </RootValues >
38203812 <DescriptorHeap Name =" DescriptorTable" Type =" CBV_SRV_UAV" >
3821- <Descriptor Name =" InputVector1" Kind =" UAV" ResName =" InputVector1" NumElements =" 0" Format = " R32_Typeless " Flags = " RAW " />
3813+ <Descriptor Name =" InputVector1" Kind =" UAV" ResName =" InputVector1" NumElements =" 0" />
38223814 <Descriptor Name =" OutputVector" Kind =" UAV" ResName =" OutputVector"
3823- NumElements =" 0" Format = " R32_Typeless " Flags = " RAW " />
3815+ NumElements =" 0" />
38243816 </DescriptorHeap >
38253817
38263818 <Shader Name =" CS" Target =" cs_6_9" EntryPoint =" main" >
@@ -3859,18 +3851,17 @@ void MSMain(uint GID : SV_GroupIndex,
38593851 <Resource Name =" InputVector1" Dimension =" BUFFER" Width =" 0" Init =" ByName" />
38603852 <Resource Name =" OutputVector" Dimension =" BUFFER" Width =" 0" Init =" ByName"
38613853 ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS"
3862- TransitionTo =" UNORDERED_ACCESS" >
3863- </Resource >
3854+ TransitionTo =" UNORDERED_ACCESS" />
38643855
38653856 <!-- Note: NumElements is set dynamically (via c++ test code) based on the
38663857 input vector size and element type -->
38673858 <RootValues >
38683859 <RootValue HeapName =" DescriptorTable" Index =" 0" />
38693860 </RootValues >
38703861 <DescriptorHeap Name =" DescriptorTable" Type =" CBV_SRV_UAV" >
3871- <Descriptor Name =" InputVector1" Kind =" SRV" ResName =" InputVector1" NumElements =" 0" Format = " R32_Typeless " Flags = " RAW " />
3862+ <Descriptor Name =" InputVector1" Kind =" SRV" ResName =" InputVector1" NumElements =" 0" />
38723863 <Descriptor Name =" OutputVector" Kind =" UAV" ResName =" OutputVector"
3873- NumElements =" 0" Format = " R32_Typeless " Flags = " RAW " />
3864+ NumElements =" 0" />
38743865 </DescriptorHeap >
38753866
38763867 <Shader Name =" CS" Target =" cs_6_9" EntryPoint =" main" >
@@ -3904,20 +3895,16 @@ void MSMain(uint GID : SV_GroupIndex,
39043895
39053896 <!-- Note: Width is set dynamically (via c++ test code) based on the input vector size and element type -->
39063897 <Resource Name =" InputVector1" Dimension =" BUFFER" Width =" 0"
3907- InitialResourceState =" COPY_DEST" Init =" ByName" >
3908- </Resource >
3898+ InitialResourceState =" COPY_DEST" Init =" ByName" />
39093899 <Resource Name =" OutputVector" Dimension =" BUFFER" Width =" 0"
39103900 InitialResourceState =" COPY_DEST" Init =" ByName" ReadBack =" true"
3911- Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" >
3912- </Resource >
3901+ Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" />
39133902
39143903 <!-- Note: NumElements is set dynamically (via c++ test code) based on the
39153904 input vector size and element type -->
39163905 <DescriptorHeap Name =" ResourceDescriptorHeap" Type =" CBV_SRV_UAV" >
3917- <Descriptor Name =" InputVector1" Kind =" SRV" Flags =' RAW' NumElements =" 0"
3918- Format =" R32_Typeless" />
3919- <Descriptor Name =" OutputVector" Kind =" UAV" Flags =' RAW' NumElements =" 0"
3920- Format =" R32_Typeless" />
3906+ <Descriptor Name =" InputVector1" Kind =" SRV" NumElements =" 0" />
3907+ <Descriptor Name =" OutputVector" Kind =" UAV" NumElements =" 0" />
39213908 </DescriptorHeap >
39223909
39233910 <Shader Name =" CS" Target =" cs_6_9" EntryPoint =" main" >
@@ -3953,21 +3940,15 @@ void MSMain(uint GID : SV_GroupIndex,
39533940
39543941 <!-- Note: Width is set dynamically (via c++ test code) based on the input vector size and element type -->
39553942 <Resource Name =" InputVector1" Dimension =" BUFFER" Width =" 0"
3956- InitialResourceState =" COPY_DEST" Init =" ByName" ReadBack =" true"
3957- Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" >
3958- </Resource >
3943+ Init =" ByName" Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" />
39593944 <Resource Name =" OutputVector" Dimension =" BUFFER" Width =" 0"
3960- InitialResourceState =" COPY_DEST" Init =" ByName" ReadBack =" true"
3961- Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" >
3962- </Resource >
3945+ Init =" ByName" ReadBack =" true" Flags =" ALLOW_UNORDERED_ACCESS" TransitionTo =" UNORDERED_ACCESS" />
39633946
39643947 <!-- Note: NumElements is set dynamically (via c++ test code) based on the
39653948 input vector size and element type -->
39663949 <DescriptorHeap Name =" ResourceDescriptorHeap" Type =" CBV_SRV_UAV" >
3967- <Descriptor Name =" InputVector1" Kind =" UAV" Flags =' RAW' NumElements =" 0"
3968- Format =" R32_Typeless" />
3969- <Descriptor Name =" OutputVector" Kind =" UAV" Flags =' RAW' NumElements =" 0"
3970- Format =" R32_Typeless" />
3950+ <Descriptor Name =" InputVector1" Kind =" UAV" NumElements =" 0" />
3951+ <Descriptor Name =" OutputVector" Kind =" UAV" NumElements =" 0" />
39713952 </DescriptorHeap >
39723953
39733954 <Shader Name =" CS" Target =" cs_6_9" EntryPoint =" main" >
0 commit comments