gallium: Add a util_blitter path for using a custom VS and FS.
authorEric Anholt <eric@anholt.net>
Wed, 7 Feb 2018 14:40:08 +0000 (14:40 +0000)
committerEric Anholt <eric@anholt.net>
Fri, 9 Mar 2018 17:59:54 +0000 (09:59 -0800)
commitcf170616daa6e1a4545c2bbfd35c9b857fdcf2f6
tree21aa1b23d3e688313ccc34fc8d81b1c0c80b03c5
parent46a32e3d2e84bd4dfff9e76f0f1f21613e1bc5a9
gallium: Add a util_blitter path for using a custom VS and FS.

Like the r600 paths to use other custom states, we pass in a couple of
parameters to customize the innards of the blitter.  It's up to the caller
to wrap other state necessary for its shaders (for example, constant
buffers for the uniforms the shader uses).

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h