panfrost: Emulate GL_CLAMP on Bifrost
Hardware support was removed with Midgard. Use mesa/st to emulate GL_CLAMP with nir_lower_tex automatically (the Zink lowering), and disable GL_MIRROR_CLAMP which isn't lowered correctly. Fixes *texwrap* Piglit tests on G52. Fixes: f9ceab7b ("panfrost: Fix CLAMP wrap mode") Signed-off-by:Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!15253> (cherry picked from commit 1f97819f)
Showing
- .pick_status.json 1 addition, 1 deletion.pick_status.json
- src/gallium/drivers/panfrost/pan_cmdstream.c 12 additions, 16 deletionssrc/gallium/drivers/panfrost/pan_cmdstream.c
- src/gallium/drivers/panfrost/pan_screen.c 2 additions, 1 deletionsrc/gallium/drivers/panfrost/pan_screen.c
- src/panfrost/ci/panfrost-g52-fails.txt 0 additions, 244 deletionssrc/panfrost/ci/panfrost-g52-fails.txt
Loading
Please register or sign in to comment