mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 16:10:36 +02:00
radv: cleanup configuring AUTO_RESET_CNTL
There is already a different branch for >= GFX12 and older gens. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37022>
This commit is contained in:
parent
93d3427543
commit
0e398ddc43
1 changed files with 2 additions and 3 deletions
|
|
@ -11551,8 +11551,7 @@ radv_emit_raster_state(struct radv_cmd_buffer *cmd_buffer)
|
|||
|
||||
gfx12_opt_set_context_reg(R_028A0C_PA_SC_LINE_STIPPLE, RADV_TRACKED_PA_SC_LINE_STIPPLE,
|
||||
S_028A0C_LINE_PATTERN(d->vk.rs.line.stipple.pattern) |
|
||||
S_028A0C_REPEAT_COUNT(d->vk.rs.line.stipple.factor - 1) |
|
||||
S_028A0C_AUTO_RESET_CNTL(pdev->info.gfx_level < GFX12 ? auto_reset_cntl : 0));
|
||||
S_028A0C_REPEAT_COUNT(d->vk.rs.line.stipple.factor - 1));
|
||||
|
||||
gfx12_opt_set_context_reg(R_028BDC_PA_SC_LINE_CNTL, RADV_TRACKED_PA_SC_LINE_CNTL, pa_sc_line_cntl);
|
||||
|
||||
|
|
@ -11574,7 +11573,7 @@ radv_emit_raster_state(struct radv_cmd_buffer *cmd_buffer)
|
|||
radeon_opt_set_context_reg(R_028A0C_PA_SC_LINE_STIPPLE, RADV_TRACKED_PA_SC_LINE_STIPPLE,
|
||||
S_028A0C_LINE_PATTERN(d->vk.rs.line.stipple.pattern) |
|
||||
S_028A0C_REPEAT_COUNT(d->vk.rs.line.stipple.factor - 1) |
|
||||
S_028A0C_AUTO_RESET_CNTL(pdev->info.gfx_level < GFX12 ? auto_reset_cntl : 0));
|
||||
S_028A0C_AUTO_RESET_CNTL(auto_reset_cntl));
|
||||
|
||||
radeon_opt_set_context_reg(R_028BDC_PA_SC_LINE_CNTL, RADV_TRACKED_PA_SC_LINE_CNTL, pa_sc_line_cntl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue