mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radeonsi: don't set PACKET_TO_ONE_PA for line stippling
A hw guy told me this. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
This commit is contained in:
parent
4ca32bbc79
commit
3e8bd05020
2 changed files with 4 additions and 2 deletions
|
|
@ -5157,7 +5157,7 @@ gfx10_emit_ge_cntl(struct radv_cmd_buffer *cmd_buffer)
|
|||
|
||||
ge_cntl = S_03096C_PRIM_GRP_SIZE_GFX10(primgroup_size) |
|
||||
S_03096C_VERT_GRP_SIZE(256) | /* disable vertex grouping */
|
||||
S_03096C_PACKET_TO_ONE_PA(0) /* line stipple */ |
|
||||
S_03096C_PACKET_TO_ONE_PA(0) /* this should only be set if LINE_STIPPLE_TEX_ENA == 1 */ |
|
||||
S_03096C_BREAK_WAVE_AT_EOI(break_wave_at_eoi);
|
||||
|
||||
if (state->last_ge_cntl != ge_cntl) {
|
||||
|
|
|
|||
|
|
@ -1325,7 +1325,9 @@ static void gfx10_emit_ge_cntl(struct si_context *sctx, unsigned num_patches)
|
|||
S_03096C_BREAK_WAVE_AT_EOI(key.u.uses_tess && key.u.tess_uses_prim_id);
|
||||
}
|
||||
|
||||
ge_cntl |= S_03096C_PACKET_TO_ONE_PA(si_is_line_stipple_enabled(sctx));
|
||||
/* Note: GE_CNTL.PACKET_TO_ONE_PA should only be set if LINE_STIPPLE_TEX_ENA == 1.
|
||||
* Since we don't use that, we don't have to do anything.
|
||||
*/
|
||||
|
||||
if (ge_cntl != sctx->last_multi_vgt_param) {
|
||||
struct radeon_cmdbuf *cs = &sctx->gfx_cs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue