freedreno/ir3: Switch emit_const_ptrs() to take BOs instead of prscs.
authorEric Anholt <eric@anholt.net>
Wed, 11 Nov 2020 20:18:51 +0000 (12:18 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 16 Nov 2020 21:54:22 +0000 (13:54 -0800)
commit386998cfbf068706237e0f274be6f3b874e9d66f
tree7a6b005d836b3bcb54e1cbc651f5d28cf281d72a
parenta9b37e5dad6652e7cb404da6a0452dfd46533d04
freedreno/ir3: Switch emit_const_ptrs() to take BOs instead of prscs.

Just indirect in the caller, which means that I'll be able to pass a
non-resource BO in the large-constants case.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5810>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_const.c
src/gallium/drivers/freedreno/ir3/ir3_const.h