@@ -2190,7 +2190,7 @@ void TestRenderStateCaches(bool CompileAsync)
21902190
21912191 SpecializationConstant SpecConsts[SpecConstRefDescCount];
21922192
2193- for (size_t i = 0 ; i < SpecConstRefDescCount; ++i)
2193+ for (Uint32 i = 0 ; i < SpecConstRefDescCount; ++i)
21942194 {
21952195 SpecConsts[i].Name = SpecConstRefDescs[i].Name ;
21962196 SpecConsts[i].ShaderStages = SpecConstRefDescs[i].Stage ;
@@ -2243,7 +2243,7 @@ void TestRenderStateCaches(bool CompileAsync)
22432243 CreateGraphicsPSO (pCache, false , CompileAsync, " SpecConsts Cache Mutable Test" , pVS, pPS, MutableSpecConsts, _countof (MutableSpecConsts), pMutablePSO);
22442244 ASSERT_NE (pMutablePSO, nullptr );
22452245
2246- // Make sure the strings and data are properly copied in CreateGraphicsPSO.
2246+ // Make sure the strings and data are properly copied in CreateGraphicsPSO.
22472247 for (Uint32 i = 0 ; i < SpecConstRefDescCount; ++i)
22482248 {
22492249 MutableNames[i] = SpecConstRefDescs[(i + 1 ) % SpecConstRefDescCount].Name ;
@@ -2369,7 +2369,9 @@ void TestDistinctEntries(bool CompileAsync)
23692369 ASSERT_NE (pPSO_A2, nullptr );
23702370 ASSERT_EQ (pPSO_A2->GetStatus (CompileAsync), PIPELINE_STATE_STATUS_READY);
23712371 if (!CompileAsync)
2372+ {
23722373 EXPECT_EQ (pPSO_A, pPSO_A2);
2374+ }
23732375 else
23742376 {
23752377 RefCntAutoPtr<IPipelineState> pPSO_A3;
@@ -2390,7 +2392,9 @@ void TestDistinctEntries(bool CompileAsync)
23902392 ASSERT_NE (pPSO_B2, nullptr );
23912393 ASSERT_EQ (pPSO_B2->GetStatus (CompileAsync), PIPELINE_STATE_STATUS_READY);
23922394 if (!CompileAsync)
2395+ {
23932396 EXPECT_EQ (pPSO_B, pPSO_B2);
2397+ }
23942398 else
23952399 {
23962400 RefCntAutoPtr<IPipelineState> pPSO_B3;
0 commit comments