radeonsi: correct old comment in si_emit_framebuffer_state()
si_init_cs_preamble_state() function does not exist anymore and PA_SC_WINDOW_SCISSOR_TL is set to 0,0. Update the comments with this information. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25148>
This commit is contained in:

committed by
Marge Bot

parent
e373b7c07e
commit
b1111f35c6
@@ -3560,7 +3560,7 @@ static void si_emit_framebuffer_state(struct si_context *sctx, unsigned index)
|
||||
}
|
||||
|
||||
/* Framebuffer dimensions. */
|
||||
/* PA_SC_WINDOW_SCISSOR_TL is set in si_init_cs_preamble_state */
|
||||
/* PA_SC_WINDOW_SCISSOR_TL is set to 0,0 in gfx*_init_gfx_preamble_state */
|
||||
radeon_set_context_reg(R_028208_PA_SC_WINDOW_SCISSOR_BR,
|
||||
S_028208_BR_X(state->width) | S_028208_BR_Y(state->height));
|
||||
|
||||
|
Reference in New Issue
Block a user