mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
freedreno/a6xx: Separate stencil sysmem clear fix
We need to clear with PIPE_FORMAT_S8_UINT. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5717>
This commit is contained in:
parent
ab61393bc7
commit
1a58596258
1 changed files with 1 additions and 0 deletions
|
|
@ -1327,6 +1327,7 @@ emit_sysmem_clears(struct fd_batch *batch, struct fd_ringbuffer *ring)
|
|||
value.ui[0] = batch->clear_stencil;
|
||||
|
||||
struct pipe_surface stencil_surf = *pfb->zsbuf;
|
||||
stencil_surf.format = PIPE_FORMAT_S8_UINT;
|
||||
stencil_surf.texture = separate_stencil;
|
||||
|
||||
fd6_clear_surface(ctx, ring,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue