panfrost: mark separate_stencil as valid when surface is valid
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: <mesa/mesa!28738> (cherry picked from commit c939111f)
- .pick_status.json 1 addition, 1 deletion.pick_status.json
- src/gallium/drivers/panfrost/pan_cmdstream.c 2 additions, 0 deletionssrc/gallium/drivers/panfrost/pan_cmdstream.c
- src/panfrost/ci/panfrost-g52-fails.txt 0 additions, 33 deletionssrc/panfrost/ci/panfrost-g52-fails.txt
- src/panfrost/ci/panfrost-g57-fails.txt 0 additions, 33 deletionssrc/panfrost/ci/panfrost-g57-fails.txt