This implements loads from direct vec4-aligned fields in UBOs. More future work is needed for indirect or unaligned loads (just compiler changes), but the core command stream work is handled here.
Alyssa Rosenzweig (9): panfrost: Constant buffer refactor panfrost: Report UBO count panfrost: Allow for dynamic UBO count panfrost: Upload UBOs panfrost: Identify "uniform buffer count" bits panfrost: Handle disabled/empty UBOs panfrost/midgard: Implement UBO reads panfrost: DRY between shader stage setup panfrost: Allow up to 16 UBOs .../drivers/panfrost/include/panfrost-job.h | 15 +- .../panfrost/midgard/midgard_compile.c | 65 ++++-- src/gallium/drivers/panfrost/pan_context.c | 198 ++++++++++++------ src/gallium/drivers/panfrost/pan_context.h | 6 +- src/gallium/drivers/panfrost/pan_screen.c | 2 +- .../drivers/panfrost/pandecode/decode.c | 10 +- 6 files changed, 203 insertions(+), 93 deletions(-) -- 2.20.1 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
