1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[hud] Draw lines as triangle strip

This commit is contained in:
Philip Rebohle 2020-12-01 03:23:35 +01:00
parent 0ce5dd8b03
commit 8fe3effb40
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -190,7 +190,7 @@ namespace dxvk::hud {
m_context->bindShader(VK_SHADER_STAGE_FRAGMENT_BIT, m_lineShaders.frag); m_context->bindShader(VK_SHADER_STAGE_FRAGMENT_BIT, m_lineShaders.frag);
static const DxvkInputAssemblyState iaState = { static const DxvkInputAssemblyState iaState = {
VK_PRIMITIVE_TOPOLOGY_LINE_LIST, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,
VK_FALSE, 0 }; VK_FALSE, 0 };
static const std::array<DxvkVertexAttribute, 2> ilAttributes = {{ static const std::array<DxvkVertexAttribute, 2> ilAttributes = {{