panfrost: Decompress for incompatible AFBC formats
AFBC is keyed to the format. Depending on the hardware, we'll get an Invalid Data Fault or a GPU timeout if we attempt to sample from an AFBC-compressed RGBA8 texture as R32F (for example). Fixes Piglit ./bin/arb_texture_view-rendering-formats_gles3 with AFBC. Signed-off-by:Alyssa Rosenzweig <alyssa@collabora.com> Cc: mesa-stable Part-of: <mesa/mesa!13205> (cherry picked from commit 789601a1)
Showing
- .pick_status.json 1 addition, 1 deletion.pick_status.json
- src/gallium/drivers/panfrost/pan_cmdstream.c 3 additions, 0 deletionssrc/gallium/drivers/panfrost/pan_cmdstream.c
- src/gallium/drivers/panfrost/pan_resource.c 26 additions, 0 deletionssrc/gallium/drivers/panfrost/pan_resource.c
- src/gallium/drivers/panfrost/pan_resource.h 5 additions, 0 deletionssrc/gallium/drivers/panfrost/pan_resource.h
Loading
Please register or sign in to comment