[Mesa-dev] i965: Blorp state setup refactors

Topi Pohjolainen topi.pohjolainen at intel.com
Thu Apr 23 11:00:25 PDT 2015


This series introduces virtual member functions for blorp parameters
that know how certain part of the batch is to be programmed for the
shader in question.

This will be taken advantage of later on when I add support for
launching glsl-based programs.

Topi Pohjolainen (16):
  i965/blorp: Remove constant parameter
  i965/blorp: Refactor vertex buffer state setup
  i965/blorp: Allow caller to provide sampler settings
  i965/gen7/blorp: Remove unused arguments
  i965/blorp: Remove unused arguments
  i965/blorp: Prepare for attributes other than render position
  i965/blorp: Allow blend state to be set for multiple render targets
  i965/blorp: Add support for layered rendering
  i965/blorp: Prepare drawing rectangle for flipped coordinates
  i965/blorp: Use virtual function for wm/ps configuration
  i965/blorp: Move push const setup for the parameter type to handle
  i965/blorp: Move sampler setup for the parameter type to handle
  i965/blorp/gen6: Move surface setup for the parameter type to handle
  i965/blorp/gen7: Move surface setup for the parameter type to handle
  i965/blorp: Move vertex uploading for parameter type to handle
  i965/blorp: Move multisample setup for parameter type to handle

 src/mesa/drivers/dri/i965/brw_blorp.cpp      |  23 +--
 src/mesa/drivers/dri/i965/brw_blorp.h        |  73 ++++---
 src/mesa/drivers/dri/i965/brw_blorp_blit.cpp |  13 +-
 src/mesa/drivers/dri/i965/gen6_blorp.cpp     | 273 ++++++++++++++++-----------
 src/mesa/drivers/dri/i965/gen6_blorp.h       |   2 +-
 src/mesa/drivers/dri/i965/gen7_blorp.cpp     | 204 +++++++++-----------
 src/mesa/drivers/dri/i965/gen7_blorp.h       |   2 +-
 7 files changed, 316 insertions(+), 274 deletions(-)

-- 
1.9.3



More information about the mesa-dev mailing list