[Mesa-dev] i965: Blorp state setup refactors

Kenneth Graunke kenneth at whitecape.org
Tue Apr 28 15:25:03 PDT 2015


On Thursday, April 23, 2015 09:00:25 PM Topi Pohjolainen wrote:
> 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

Patches 1-9 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

I'm still planning to read through 10-16.

>   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(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150428/232de70e/attachment.sig>


More information about the mesa-dev mailing list