mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radv: do not force VRS 1x1 when smooth lines are enabled
Otherwise this will break VRS with GPL. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23200>
This commit is contained in:
parent
f6c01cd1dc
commit
8f88cf3b42
1 changed files with 2 additions and 1 deletions
|
|
@ -2312,7 +2312,8 @@ radv_should_force_vrs1x1(struct radv_cmd_buffer *cmd_buffer)
|
|||
const struct radv_shader *ps = cmd_buffer->state.shaders[MESA_SHADER_FRAGMENT];
|
||||
|
||||
return pdevice->rad_info.gfx_level >= GFX10_3 &&
|
||||
(cmd_buffer->state.ms.sample_shading_enable || (ps && ps->info.ps.reads_sample_mask_in));
|
||||
(cmd_buffer->state.ms.sample_shading_enable || (ps && ps->info.ps.reads_sample_mask_in &&
|
||||
!ps->info.ps.needs_poly_line_smooth));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue