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:
parent
0ce5dd8b03
commit
8fe3effb40
@ -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 = {{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user