mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
v3dv: add a note on interactions between clearing and scissor
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
9f3fd1a3ca
commit
6379a552a7
1 changed files with 6 additions and 0 deletions
|
|
@ -820,6 +820,12 @@ emit_rcl(struct v3dv_cmd_buffer *cmd_buffer)
|
|||
}
|
||||
}
|
||||
|
||||
/* FIXME: the tile buffer clears don't seem to honor the scissor rect
|
||||
* so if the current combination of scissor + renderArea doesn't cover
|
||||
* the full extent of the render target we won't get correct behavior.
|
||||
* We probably need to detect these cases, implement the clearing by
|
||||
* drawing a rect and skip clearing here.
|
||||
*/
|
||||
cl_emit(rcl, TILE_RENDERING_MODE_CFG_CLEAR_COLORS_PART1, clear) {
|
||||
clear.clear_color_low_32_bits = clear_color[0];
|
||||
clear.clear_color_next_24_bits = clear_color[1] & 0xffffff;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue