mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
radeonsi: fix gl_FrontFace elimination when one side is culled
Fixes: 55d81214c9 - radeonsi: replace gl_FrontFacing with a constant if one side is always culled
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32186>
This commit is contained in:
parent
48c1c6247c
commit
51aa1d8381
1 changed files with 1 additions and 2 deletions
|
|
@ -2448,8 +2448,7 @@ void si_vs_ps_key_update_rast_prim_smooth_stipple(struct si_context *sctx)
|
|||
ps_key->ps.part.prolog.poly_stipple = rs->poly_stipple_enable;
|
||||
ps_key->ps.mono.poly_line_smoothing = rs->poly_smooth && sctx->framebuffer.nr_samples <= 1;
|
||||
ps_key->ps.mono.point_smoothing = 0;
|
||||
ps_key->ps.opt.force_front_face_input = rs->force_front_face_input &&
|
||||
ps->info.uses_frontface;
|
||||
ps_key->ps.opt.force_front_face_input = ps->info.uses_frontface ? rs->force_front_face_input : 0;
|
||||
}
|
||||
|
||||
if (vs_key->ge.opt.kill_pointsize != old_kill_pointsize ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue