freedreno/ir3: split out const_state setup
authorRob Clark <robdclark@chromium.org>
Tue, 7 May 2019 13:05:58 +0000 (06:05 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 7 May 2019 14:26:00 +0000 (07:26 -0700)
commit5690f83bb533cd62747194f0029892e9dc662669
tree3605cd7132ba4ba78c2495b5a2e6100f208a512f
parent9403184ddd002f11f30a0eab0f98f9545810b513
freedreno/ir3: split out const_state setup

Next patch moves const_state to ir3_shader, before the compile context
is created.  So move the code around in prep to call it earlier.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3_context.c
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir.h