From a7bce1b27c4f1fe3d96859588f23f86d2b4d595d Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 2 Jul 2018 09:48:04 -0700 Subject: Updated unit tests to set DSV format in PSO --- Tests/TestApp/assets/TestRenderScripts.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/TestApp/assets/TestRenderScripts.lua') diff --git a/Tests/TestApp/assets/TestRenderScripts.lua b/Tests/TestApp/assets/TestRenderScripts.lua index 6aa43fa..7b53735 100644 --- a/Tests/TestApp/assets/TestRenderScripts.lua +++ b/Tests/TestApp/assets/TestRenderScripts.lua @@ -85,7 +85,7 @@ PSO = PipelineState.Create pVS = MinimalVS, pPS = UniformBufferPS, RTVFormats = extBackBufferFormat, - DSVFormat = "TEX_FORMAT_UNKNOWN", + DSVFormat = extDepthBufferFormat }, SRBAllocationGranularity = 16 } @@ -123,7 +123,7 @@ PSOInst = PipelineState.Create pVS = MinimalInstVS, pPS = UniformBufferPS, RTVFormats = extBackBufferFormat, - DSVFormat = "TEX_FORMAT_D32_FLOAT", + DSVFormat = extDepthBufferFormat } } SRBInst = PSOInst:CreateShaderResourceBinding() -- cgit v1.2.3