From 958dacf388cdd965b6d4858535f91a37f1ec1652 Mon Sep 17 00:00:00 2001 From: Simon Kallweit <64953474+skallweitNV@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:44:46 +0200 Subject: [PATCH] Update slang-rhi (#5160) --- external/slang-rhi | 2 +- tools/render-test/render-test-main.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/external/slang-rhi b/external/slang-rhi index c34ac8d44d..88455c63f7 160000 --- a/external/slang-rhi +++ b/external/slang-rhi @@ -1 +1 @@ -Subproject commit c34ac8d44d23fc333c9e48dc850c46d3861c9ab5 +Subproject commit 88455c63f78a045bec194697881d5076a77120da diff --git a/tools/render-test/render-test-main.cpp b/tools/render-test/render-test-main.cpp index 370225c7ce..977cdfa421 100644 --- a/tools/render-test/render-test-main.cpp +++ b/tools/render-test/render-test-main.cpp @@ -889,8 +889,7 @@ void RenderTestApp::renderFrame(IRenderCommandEncoder* encoder) auto pipelineType = PipelineType::Graphics; applyBinding(pipelineType, encoder); - encoder->setPrimitiveTopology(PrimitiveTopology::TriangleList); - encoder->setVertexBuffer(0, m_vertexBuffer); + encoder->setVertexBuffer(0, m_vertexBuffer); encoder->draw(3); }