mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
vk: Set line width when rasterizing points (workaround)
- Fixes point rendering when using AMD drivers.
This commit is contained in:
parent
de5217745c
commit
e98b07de03
@ -130,7 +130,7 @@ void VKGSRender::update_draw_state()
|
||||
m_profiler.start();
|
||||
|
||||
// Update conditional dynamic state
|
||||
if (rsx::method_registers.current_draw_clause.primitive >= rsx::primitive_type::lines &&
|
||||
if (rsx::method_registers.current_draw_clause.primitive >= rsx::primitive_type::points && // AMD/AMDVLK driver does not like it if you render points without setting line width for some reason
|
||||
rsx::method_registers.current_draw_clause.primitive <= rsx::primitive_type::line_strip)
|
||||
{
|
||||
const float actual_line_width =
|
||||
|
Loading…
x
Reference in New Issue
Block a user