diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-03-12 03:44:01 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-03-12 03:44:01 +0000 |
| commit | 71cc1dc3f1c32c9d30a38dee0a1d0414f154f258 (patch) | |
| tree | a61aedaa089a38bd30c339be958eadc95896bfcf /Tests/TestApp/assets/LuaTest.lua | |
| parent | Updated Asteroids and aubmodules (diff) | |
| download | DiligentEngine-71cc1dc3f1c32c9d30a38dee0a1d0414f154f258.tar.gz DiligentEngine-71cc1dc3f1c32c9d30a38dee0a1d0414f154f258.zip | |
Implemened PSO compatibility: updated tests and submodules
Diffstat (limited to 'Tests/TestApp/assets/LuaTest.lua')
| -rw-r--r-- | Tests/TestApp/assets/LuaTest.lua | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Tests/TestApp/assets/LuaTest.lua b/Tests/TestApp/assets/LuaTest.lua index f932693..fc7cf97 100644 --- a/Tests/TestApp/assets/LuaTest.lua +++ b/Tests/TestApp/assets/LuaTest.lua @@ -232,7 +232,6 @@ TestVertexLayoutPSO = PipelineState.Create } - function CheckVertexDescription(VD) assert(VD[1].InputIndex == 0) assert(VD[1].BufferSlot == 0) @@ -303,6 +302,16 @@ TestVertexLayoutPSO3 = PipelineState.Create } } +assert(TestVertexLayoutPSO:IsCompatibleWith(TestVertexLayoutPSO)) +assert(TestVertexLayoutPSO:IsCompatibleWith(TestVertexLayoutPSO2)) +assert(TestVertexLayoutPSO:IsCompatibleWith(TestVertexLayoutPSO3)) +assert(TestVertexLayoutPSO2:IsCompatibleWith(TestVertexLayoutPSO)) +assert(TestVertexLayoutPSO2:IsCompatibleWith(TestVertexLayoutPSO2)) +assert(TestVertexLayoutPSO2:IsCompatibleWith(TestVertexLayoutPSO3)) +assert(TestVertexLayoutPSO3:IsCompatibleWith(TestVertexLayoutPSO)) +assert(TestVertexLayoutPSO3:IsCompatibleWith(TestVertexLayoutPSO2)) +assert(TestVertexLayoutPSO3:IsCompatibleWith(TestVertexLayoutPSO3)) + CheckVertexDescription(TestVertexLayoutPSO3.GraphicsPipeline.InputLayout) |
