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 1 addition, 1 deletionsrc/freedreno/ir3/ir3_context.c
- src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c 100 additions, 11 deletionssrc/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c
- src/freedreno/ir3/ir3_shader.h 17 additions, 0 deletionssrc/freedreno/ir3/ir3_shader.h
- src/gallium/drivers/freedreno/a6xx/fd6_emit.c 11 additions, 4 deletionssrc/gallium/drivers/freedreno/a6xx/fd6_emit.c
- src/gallium/drivers/freedreno/ir3/ir3_gallium.c 16 additions, 0 deletionssrc/gallium/drivers/freedreno/ir3/ir3_gallium.c