nir/lower_pntc_ytransform: Support PointCoordIsSysval
Pattern match the point coord sysval and support lowering it as well. This is required to handle flipped framebuffers on Bifrost. However, what this pass normalizes to is the opposite of the hardware mode we used on Bifrost before, so we need to swap modes at the same time to prevent regressions. Fixes Piglit glsl-fs-pointcoord and glsl-fs-pointcoord_gles2 Signed-off-by:Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Cc: mesa-stable Part-of: <mesa/mesa!13073> (cherry picked from commit e257344a)
- .pick_status.json 1 addition, 1 deletion.pick_status.json
- src/compiler/nir/nir_lower_pntc_ytransform.c 4 additions, 2 deletionssrc/compiler/nir/nir_lower_pntc_ytransform.c
- src/panfrost/ci/panfrost-g52-fails.txt 0 additions, 3 deletionssrc/panfrost/ci/panfrost-g52-fails.txt
- src/panfrost/lib/pan_shader.h 4 additions, 0 deletionssrc/panfrost/lib/pan_shader.h