anv: use urb_setup_attribs in SBE
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 11 Mar 2020 10:35:13 +0000 (10:35 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Apr 2020 23:36:28 +0000 (23:36 +0000)
commit67c7cabd7fa9e6babb423080d53a045980e295ef
treee5c1605b27a9450faa03c241ae4d21096f193412
parent1ac9f362e0f848ef5bdc6ede12d0389bb7407ff6
anv: use urb_setup_attribs in SBE

Avoid looping over all VARYING_SLOT_MAX urb_setup arrray entries.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2010>
src/intel/vulkan/genX_pipeline.c