summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/sw/dri/dri_sw_winsys.c
diff options
context:
space:
mode:
authorEric R. Smith <eric.smith@collabora.com>2024-04-15 06:59:46 -0300
committerMarge Bot <emma+marge@anholt.net>2024-04-16 12:58:09 +0000
commitc939111f3fc545bf301d67c46fedc4c73a2c2c2b (patch)
tree58376ee8d1ea44428ad13f13f53141a62b8b7794 /src/gallium/winsys/sw/dri/dri_sw_winsys.c
parent9f36fba9beafa3d1487b595f5c2b3f659cd94591 (diff)
panfrost: mark separate_stencil as valid when surface is validHEADmain
panfrost_initialize_surface is called when a surface is written to, and marks that surface as valid. If the surface is a depth buffer with a separate stencil, that separate stencil should also be marked as valid; otherwise, readpixel will skip reading it (and hence the stencil data will be read as uninitialized). This only affects DEPTH32F_STENCIL8 formats. Cc: mesa-stable Signed-off-by: Eric R. Smith <eric.smith@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28738>
Diffstat (limited to 'src/gallium/winsys/sw/dri/dri_sw_winsys.c')
0 files changed, 0 insertions, 0 deletions