lima: upload the shader to a BO at shader creation
authorEric Anholt <eric@anholt.net>
Tue, 16 Feb 2021 20:49:01 +0000 (12:49 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 4 Mar 2021 18:34:35 +0000 (18:34 +0000)
commit4ac3f850540f8fffd15e4994de6bbf54b17dc649
treebfa9fe6364dc1f39bfcb3e3420fc795b34339b57
parent5a550c8dc79120c259cea42db376ba7949e98384
lima: upload the shader to a BO at shader creation

No need to conditionally upload later.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9089>
src/gallium/drivers/lima/lima_program.c