summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/assets/TestRenderScripts.lua
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-05-31 15:35:34 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-05-31 15:35:34 +0000
commitc6bfb3bdcb4215eba7061090c25fa7604a1a0d44 (patch)
tree9b980c7331aecc3cbd110b51b2cd46f59ed6c8cf /Tests/TestApp/assets/TestRenderScripts.lua
parentMoved Stride to vertex layout desc; updated tests (diff)
downloadDiligentEngine-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.lua6
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",
}
}