diff options
Diffstat (limited to 'Tests/TestApp/src/TestDepthStencilState.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestDepthStencilState.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestDepthStencilState.cpp b/Tests/TestApp/src/TestDepthStencilState.cpp index f8fbef1..52e491a 100644 --- a/Tests/TestApp/src/TestDepthStencilState.cpp +++ b/Tests/TestApp/src/TestDepthStencilState.cpp @@ -35,6 +35,11 @@ void TestDepthStencilState::CreateTestDSS( DepthStencilStateDesc &DSSDesc ) RefCntAutoPtr<IPipelineState> pPSO; m_pDevice->CreatePipelineState( m_PSODesc, &pPSO ); m_pDeviceContext->SetPipelineState( pPSO ); + + RefCntAutoPtr<IShaderResourceBinding> pSRB; + pPSO->CreateShaderResourceBinding(&pSRB); + auto PSVarCount = pSRB->GetVariableCount(SHADER_TYPE_PIXEL); + auto VSVarCount = pSRB->GetVariableCount(SHADER_TYPE_VERTEX); #if 0 DSSDesc.Name = "TestDSS2"; m_pDevice->CreateDepthStencilState( DSSDesc, &pDSState2 ); |
