freedreno/ir3: Push UBOs to constant file
authorKristian H. Kristensen <hoegsberg@chromium.org>
Tue, 26 Mar 2019 17:31:54 +0000 (10:31 -0700)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Wed, 27 Mar 2019 20:26:02 +0000 (13:26 -0700)
commit893425a607a63a83e8a4c13fd963367c8d174678
tree8854bd3625f9fbf5706dbd934f7c9f3f8fe37ded
parent3c8779af325965a6c200b14ab4cc44c8f0b835e8
freedreno/ir3: Push UBOs to constant file

We have a rather big constant file and it seems that the best way to
use it is to upload all UBOs and lower UBO access the load_uniform.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_context.c
src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c
src/freedreno/ir3/ir3_shader.h
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/ir3/ir3_gallium.c