@@ -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"
@@ -12612,7 +12612,7 @@ float4 ps_main() : SV_Target {
1261212612
1261312613 if (RunCompute) {
1261412614 CreateComputePSO(D3DDevice, RootSignature, ShaderSource.c_str(), L"cs_6_9",
12615- &ComputePipelineState , Options, _countof(Options),
12615+ &PipelineState , Options, _countof(Options),
1261612616 IncludeHandler);
1261712617 } else {
1261812618 CComPtr<ID3DBlob> VertexShader;
@@ -12638,7 +12638,7 @@ float4 ps_main() : SV_Target {
1263812638 PsoDesc.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;
1263912639 PsoDesc.SampleDesc.Count = 1;
1264012640 VERIFY_SUCCEEDED(D3DDevice->CreateGraphicsPipelineState(
12641- &PsoDesc, IID_PPV_ARGS(&ComputePipelineState )));
12641+ &PsoDesc, IID_PPV_ARGS(&PipelineState )));
1264212642 }
1264312643
1264412644 // Create a command list for the compute shader.
@@ -12652,7 +12652,7 @@ float4 ps_main() : SV_Target {
1265212652 VERIFY_SUCCEEDED(D3DDevice->CreateCommandAllocator(
1265312653 D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&CommandAllocator)));
1265412654 VERIFY_SUCCEEDED(D3DDevice->CreateCommandList(
12655- 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, ComputePipelineState ,
12655+ 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, PipelineState ,
1265612656 IID_PPV_ARGS(&CommandList)));
1265712657
1265812658 std::vector<CComPtr<ID3D12Resource>> InputMatrixSRVResources(
@@ -12752,7 +12752,7 @@ float4 ps_main() : SV_Target {
1275212752 ExecuteCommandList(CommandQueue, CommandList);
1275312753 WaitForSignal(CommandQueue, FO);
1275412754 VERIFY_SUCCEEDED(CommandAllocator->Reset());
12755- VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, ComputePipelineState ));
12755+ VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, PipelineState ));
1275612756
1275712757 SetDescriptorHeap(CommandList, DescriptorHeap);
1275812758
@@ -12766,7 +12766,7 @@ float4 ps_main() : SV_Target {
1276612766 if (RunCompute) {
1276712767 CommandList->SetComputeRootSignature(RootSignature);
1276812768 CommandList->SetComputeRootDescriptorTable(0, ResHandle);
12769- CommandList->SetPipelineState(ComputePipelineState );
12769+ CommandList->SetPipelineState(PipelineState );
1277012770 CommandList->Dispatch(1, 1, 1);
1277112771 } else {
1277212772 UINT FrameCount = 1;
@@ -13038,7 +13038,7 @@ void ExecutionTest::runCoopVecOuterProductSubtest(
1303813038 }
1303913039
1304013040 // Create a compute pipeline state object.
13041- CComPtr<ID3D12PipelineState> ComputePipelineState ;
13041+ CComPtr<ID3D12PipelineState> PipelineState ;
1304213042
1304313043 std::string ShaderSource = R"(
1304413044#include "dx/linalg.h"
@@ -13173,7 +13173,7 @@ float4 ps_main() : SV_Target {
1317313173
1317413174 if (RunCompute) {
1317513175 CreateComputePSO(D3DDevice, RootSignature, ShaderSource.c_str(), L"cs_6_9",
13176- &ComputePipelineState , Options, _countof(Options),
13176+ &PipelineState , Options, _countof(Options),
1317713177 IncludeHandler);
1317813178 } else {
1317913179 CComPtr<ID3DBlob> VertexShader;
@@ -13199,7 +13199,7 @@ float4 ps_main() : SV_Target {
1319913199 PsoDesc.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;
1320013200 PsoDesc.SampleDesc.Count = 1;
1320113201 VERIFY_SUCCEEDED(D3DDevice->CreateGraphicsPipelineState(
13202- &PsoDesc, IID_PPV_ARGS(&ComputePipelineState )));
13202+ &PsoDesc, IID_PPV_ARGS(&PipelineState )));
1320313203 }
1320413204
1320513205 // Create a command list for the compute shader.
@@ -13213,7 +13213,7 @@ float4 ps_main() : SV_Target {
1321313213 VERIFY_SUCCEEDED(D3DDevice->CreateCommandAllocator(
1321413214 D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&CommandAllocator)));
1321513215 VERIFY_SUCCEEDED(D3DDevice->CreateCommandList(
13216- 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, ComputePipelineState ,
13216+ 0, D3D12_COMMAND_LIST_TYPE_DIRECT, CommandAllocator, PipelineState ,
1321713217 IID_PPV_ARGS(&CommandList)));
1321813218
1321913219 CComPtr<ID3D12Resource> InputMatrixSRVResource, InputMatrixSRVUploadResource;
@@ -13354,7 +13354,7 @@ float4 ps_main() : SV_Target {
1335413354 ExecuteCommandList(CommandQueue, CommandList);
1335513355 WaitForSignal(CommandQueue, FO);
1335613356 VERIFY_SUCCEEDED(CommandAllocator->Reset());
13357- VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, ComputePipelineState ));
13357+ VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, PipelineState ));
1335813358
1335913359 SetDescriptorHeap(CommandList, DescriptorHeap);
1336013360
@@ -13368,7 +13368,7 @@ float4 ps_main() : SV_Target {
1336813368 if (RunCompute) {
1336913369 CommandList->SetComputeRootSignature(RootSignature);
1337013370 CommandList->SetComputeRootDescriptorTable(0, ResHandle);
13371- CommandList->SetPipelineState(ComputePipelineState );
13371+ CommandList->SetPipelineState(PipelineState );
1337213372 CommandList->Dispatch(1, 1, 1);
1337313373 } else {
1337413374 UINT FrameCount = 1;
@@ -13414,7 +13414,7 @@ float4 ps_main() : SV_Target {
1341413414 WaitForSignal(CommandQueue, FO);
1341513415
1341613416 VERIFY_SUCCEEDED(CommandAllocator->Reset());
13417- VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, ComputePipelineState ));
13417+ VERIFY_SUCCEEDED(CommandList->Reset(CommandAllocator, PipelineState ));
1341813418
1341913419 // Convert matrix to sint8/fp32 row-major format before reading back to the
1342013420 // CPU. A new resource is created, along with a readback resource, for the
0 commit comments