freedreno: convert builtin blit VS prog to ureg builder
authorRob Clark <robdclark@chromium.org>
Mon, 22 Jun 2020 18:54:43 +0000 (11:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Jun 2020 22:29:28 +0000 (22:29 +0000)
commite6d650353a0b53e4b954cb41d0e7b0add9329283
tree8cfab2c2a8b0d413c8d41217984e7e92a3ac167b
parentb5574c516547066f2ee07086f475a7416604c175
freedreno: convert builtin blit VS prog to ureg builder

The correct varying semantic to use depends on PIPE_CAP_TGSI_TEXCOORD.
To handle this transition switch it over to ureg builder, and query the
pipe-cap to choose the appropriate semantic.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5595>
src/gallium/drivers/freedreno/freedreno_program.c