diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-05-31 15:35:34 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-05-31 15:35:34 +0000 |
| commit | c6bfb3bdcb4215eba7061090c25fa7604a1a0d44 (patch) | |
| tree | 9b980c7331aecc3cbd110b51b2cd46f59ed6c8cf /Tests/TestApp/assets/TestRenderScripts.lua | |
| parent | Moved Stride to vertex layout desc; updated tests (diff) | |
| download | DiligentEngine-c6bfb3bdcb4215eba7061090c25fa7604a1a0d44.tar.gz DiligentEngine-c6bfb3bdcb4215eba7061090c25fa7604a1a0d44.zip | |
Updated back buffer format to match the one from the swap chain in the tests
Diffstat (limited to 'Tests/TestApp/assets/TestRenderScripts.lua')
| -rw-r--r-- | Tests/TestApp/assets/TestRenderScripts.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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", } } |
