mirror of https://github.com/PCSX2/pcsx2.git
GS/Vulkan: Set line width unconditionally on line draw
This commit is contained in:
parent
64ed6f5572
commit
d0ce4c52b0
|
@ -3617,7 +3617,7 @@ void GSDeviceVK::RenderHW(GSHWDrawConfig& config)
|
||||||
if (config.blend.constant_enable)
|
if (config.blend.constant_enable)
|
||||||
SetBlendConstants(config.blend.constant);
|
SetBlendConstants(config.blend.constant);
|
||||||
|
|
||||||
if (config.line_expand)
|
if (config.topology == GSHWDrawConfig::Topology::Line)
|
||||||
SetLineWidth(config.cb_ps.ScaleFactor.z);
|
SetLineWidth(config.cb_ps.ScaleFactor.z);
|
||||||
|
|
||||||
// Primitive ID tracking DATE setup.
|
// Primitive ID tracking DATE setup.
|
||||||
|
|
|
@ -416,7 +416,7 @@ private:
|
||||||
|
|
||||||
GSVector4i m_scissor = GSVector4i::zero();
|
GSVector4i m_scissor = GSVector4i::zero();
|
||||||
VkViewport m_viewport = {0.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f};
|
VkViewport m_viewport = {0.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f};
|
||||||
float m_current_line_width = -1.0f;
|
float m_current_line_width = 1.0f;
|
||||||
u8 m_blend_constant_color = 0;
|
u8 m_blend_constant_color = 0;
|
||||||
|
|
||||||
std::array<const GSTextureVK*, NUM_TFX_TEXTURES> m_tfx_textures{};
|
std::array<const GSTextureVK*, NUM_TFX_TEXTURES> m_tfx_textures{};
|
||||||
|
|
Loading…
Reference in New Issue