@@ -12423,7 +12423,7 @@ void ExecutionTest::runCoopVecMulSubtest(
1242312423 }
1242412424
1242512425 // Create the compute pipeline state for the CoopVec shader
12426- CComPtr<ID3D12PipelineState> ComputePipelineState ;
12426+ CComPtr<ID3D12PipelineState> PipelineState ;
1242712427
1242812428 std::string ShaderSource = R"(
1242912429#include "dx/linalg.h"
@@ -12613,7 +12613,7 @@ float4 ps_main() : SV_Target {
1261312613
1261412614 if (RunCompute) {
1261512615 CreateComputePSO(D3DDevice, RootSignature, ShaderSource.c_str(), L"cs_6_9",
12616- &ComputePipelineState , Options, _countof(Options),
12616+ &PipelineState , Options, _countof(Options),
1261712617 IncludeHandler);
1261812618 } else {
1261912619 CComPtr<ID3DBlob> VertexShader;
@@ -12639,7 +12639,7 @@ float4 ps_main() : SV_Target {
1263912639 PsoDesc.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;
1264012640 PsoDesc.SampleDesc.Count = 1;
1264112641 VERIFY_SUCCEEDED(D3DDevice->CreateGraphicsPipelineState(
12642- &PsoDesc, IID_PPV_ARGS(&ComputePipelineState )));
12642+ &PsoDesc, IID_PPV_ARGS(&PipelineState )));
1264312643 }
1264412644
1264512645 // Create a command list for the compute shader.
@@ -12653,7 +12653,7 @@ float4 ps_main() : SV_Target {
1265312653 VERIFY_SUCCEEDED(D3DDevice->CreateCommandAllocator(
1265412654 D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&CommandAllocator)));
1265512655 VERIFY_SUCCEEDED(D3DDevice->CreateCommandList(
12656- 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, ComputePipelineState ,
12656+ 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, PipelineState ,
1265712657 IID_PPV_ARGS(&CommandList)));
1265812658
1265912659 std::vector<CComPtr<ID3D12Resource>> InputMatrixSRVResources(
@@ -12753,7 +12753,7 @@ float4 ps_main() : SV_Target {
1275312753 ExecuteCommandList(CommandQueue, CommandList);
1275412754 WaitForSignal(CommandQueue, FO);
1275512755 VERIFY_SUCCEEDED(CommandAllocator->Reset());
12756- VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, ComputePipelineState ));
12756+ VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, PipelineState ));
1275712757
1275812758 SetDescriptorHeap(CommandList, DescriptorHeap);
1275912759
@@ -12767,7 +12767,7 @@ float4 ps_main() : SV_Target {
1276712767 if (RunCompute) {
1276812768 CommandList->SetComputeRootSignature(RootSignature);
1276912769 CommandList->SetComputeRootDescriptorTable(0, ResHandle);
12770- CommandList->SetPipelineState(ComputePipelineState );
12770+ CommandList->SetPipelineState(PipelineState );
1277112771 CommandList->Dispatch(1, 1, 1);
1277212772 } else {
1277312773 UINT FrameCount = 1;
@@ -13039,7 +13039,7 @@ void ExecutionTest::runCoopVecOuterProductSubtest(
1303913039 }
1304013040
1304113041 // Create a compute pipeline state object.
13042- CComPtr<ID3D12PipelineState> ComputePipelineState ;
13042+ CComPtr<ID3D12PipelineState> PipelineState ;
1304313043
1304413044 std::string ShaderSource = R"(
1304513045#include "dx/linalg.h"
@@ -13174,7 +13174,7 @@ float4 ps_main() : SV_Target {
1317413174
1317513175 if (RunCompute) {
1317613176 CreateComputePSO(D3DDevice, RootSignature, ShaderSource.c_str(), L"cs_6_9",
13177- &ComputePipelineState , Options, _countof(Options),
13177+ &PipelineState , Options, _countof(Options),
1317813178 IncludeHandler);
1317913179 } else {
1318013180 CComPtr<ID3DBlob> VertexShader;
@@ -13200,7 +13200,7 @@ float4 ps_main() : SV_Target {
1320013200 PsoDesc.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;
1320113201 PsoDesc.SampleDesc.Count = 1;
1320213202 VERIFY_SUCCEEDED(D3DDevice->CreateGraphicsPipelineState(
13203- &PsoDesc, IID_PPV_ARGS(&ComputePipelineState )));
13203+ &PsoDesc, IID_PPV_ARGS(&PipelineState )));
1320413204 }
1320513205
1320613206 // Create a command list for the compute shader.
@@ -13214,7 +13214,7 @@ float4 ps_main() : SV_Target {
1321413214 VERIFY_SUCCEEDED(D3DDevice->CreateCommandAllocator(
1321513215 D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&CommandAllocator)));
1321613216 VERIFY_SUCCEEDED(D3DDevice->CreateCommandList(
13217- 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, ComputePipelineState ,
13217+ 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, PipelineState ,
1321813218 IID_PPV_ARGS(&CommandList)));
1321913219
1322013220 CComPtr<ID3D12Resource> InputMatrixSRVResource, InputMatrixSRVUploadResource;
@@ -13355,7 +13355,7 @@ float4 ps_main() : SV_Target {
1335513355 ExecuteCommandList(CommandQueue, CommandList);
1335613356 WaitForSignal(CommandQueue, FO);
1335713357 VERIFY_SUCCEEDED(CommandAllocator->Reset());
13358- VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, ComputePipelineState ));
13358+ VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, PipelineState ));
1335913359
1336013360 SetDescriptorHeap(CommandList, DescriptorHeap);
1336113361
@@ -13369,7 +13369,7 @@ float4 ps_main() : SV_Target {
1336913369 if (RunCompute) {
1337013370 CommandList->SetComputeRootSignature(RootSignature);
1337113371 CommandList->SetComputeRootDescriptorTable(0, ResHandle);
13372- CommandList->SetPipelineState(ComputePipelineState );
13372+ CommandList->SetPipelineState(PipelineState );
1337313373 CommandList->Dispatch(1, 1, 1);
1337413374 } else {
1337513375 UINT FrameCount = 1;
@@ -13415,7 +13415,7 @@ float4 ps_main() : SV_Target {
1341513415 WaitForSignal(CommandQueue, FO);
1341613416
1341713417 VERIFY_SUCCEEDED(CommandAllocator->Reset());
13418- VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, ComputePipelineState ));
13418+ VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, PipelineState ));
1341913419
1342013420 // Convert matrix to sint8/fp32 row-major format before reading back to the
1342113421 // CPU. A new resource is created, along with a readback resource, for the
0 commit comments