From c6bfb3bdcb4215eba7061090c25fa7604a1a0d44 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 31 May 2018 08:35:34 -0700 Subject: Updated back buffer format to match the one from the swap chain in the tests --- Tests/TestApp/assets/TestRenderScripts.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Tests/TestApp/assets/TestRenderScripts.lua') diff --git a/Tests/TestApp/assets/TestRenderScripts.lua b/Tests/TestApp/assets/TestRenderScripts.lua index 090c374..6aa43fa 100644 --- a/Tests/TestApp/assets/TestRenderScripts.lua +++ b/Tests/TestApp/assets/TestRenderScripts.lua @@ -84,8 +84,8 @@ PSO = PipelineState.Create PrimitiveTopology = "PRIMITIVE_TOPOLOGY_TRIANGLE_LIST", pVS = MinimalVS, pPS = UniformBufferPS, - RTVFormats = "TEX_FORMAT_RGBA8_UNORM_SRGB", - DSVFormat = "TEX_FORMAT_D32_FLOAT", + RTVFormats = extBackBufferFormat, + DSVFormat = "TEX_FORMAT_UNKNOWN", }, SRBAllocationGranularity = 16 } @@ -122,7 +122,7 @@ PSOInst = PipelineState.Create PrimitiveTopology = "PRIMITIVE_TOPOLOGY_TRIANGLE_LIST", pVS = MinimalInstVS, pPS = UniformBufferPS, - RTVFormats = "TEX_FORMAT_RGBA8_UNORM_SRGB", + RTVFormats = extBackBufferFormat, DSVFormat = "TEX_FORMAT_D32_FLOAT", } } -- cgit v1.2.3