freedreno: a2xx: fix builtin blit program compilation
authorJonathan Marek <jonathan@marek.ca>
Wed, 10 Apr 2019 17:52:55 +0000 (13:52 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 23 Apr 2019 17:13:32 +0000 (17:13 +0000)
commit418c3d9a4f75ad1d075ab6d928c215cd2f25d34a
tree84e84153382c534922730abe89302cd5e0de0b21
parent33cafb41a241bf899b99192a6416a644be052863
freedreno: a2xx: fix builtin blit program compilation

tgsi_to_nir now requires a screen pointer and is used by fd2_prog_init.
fd2_prog_init is used before fd_context_init so set the pointer manually.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_context.c