i965: Implement interface to edit binding table entries

Graphics / Mesa 3D Graphics Library / Mesa - Abdiel Janulgue [linux.intel.com] - 18 July 2015 08:16 UTC

Unlike normal software binding tables where the driver has to manually generate and fill a binding table array which are then uploaded to the hardware, the resource streamer instead presents the driver with an option to fill out slots for individual binding table indices. The hardware accumulates the state for these combined edits which it then automatically flushes to a binding table pool when the binding table pointer state command is invoked.

v2: Clarify binding table edit bit aligment (Topi).
v3: Make comments and function names more clearer (Ken).

2133980 i965: Implement interface to edit binding table entries
src/mesa/drivers/dri/i965/brw_binding_tables.c | 55 ++++++++++++++++++++++++
src/mesa/drivers/dri/i965/brw_state.h | 9 ++++
2 files changed, 64 insertions(+)

Upstream: cgit.freedesktop.org


  • Share