From 921a995810a60528a71bbea1d4299155742af9d4 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 14 Apr 2018 13:14:51 -0700 Subject: Moved primitive topology to pipeline state --- Tests/TestApp/src/MTResourceCreationTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/TestApp/src/MTResourceCreationTest.cpp') diff --git a/Tests/TestApp/src/MTResourceCreationTest.cpp b/Tests/TestApp/src/MTResourceCreationTest.cpp index 0bf8529..837f4f9 100644 --- a/Tests/TestApp/src/MTResourceCreationTest.cpp +++ b/Tests/TestApp/src/MTResourceCreationTest.cpp @@ -201,7 +201,7 @@ void MTResourceCreationTest::ThreadWorkerFunc(bool bIsMasterThread) PipelineStateDesc PSODesc; PSODesc.GraphicsPipeline.pVS = pTrivialVS; PSODesc.GraphicsPipeline.pPS = pTrivialPS; - PSODesc.GraphicsPipeline.PrimitiveTopologyType = PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE; + PSODesc.GraphicsPipeline.PrimitiveTopology = PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; PSODesc.GraphicsPipeline.NumRenderTargets = 1; PSODesc.GraphicsPipeline.RTVFormats[0] = TEX_FORMAT_RGBA8_UNORM; PSODesc.GraphicsPipeline.DSVFormat = TEX_FORMAT_D32_FLOAT; -- cgit v1.2.3