gallium/u_blitter: let drivers decide which VS to use for draw_rectangle
authorMarek Olšák <marek.olsak@amd.com>
Thu, 5 Oct 2017 02:02:05 +0000 (04:02 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 7 Oct 2017 16:26:35 +0000 (18:26 +0200)
commit0a3b5a0232cef1598ff0417e588a2d32e81d4f6a
tree22cbff599fedf33b6a93de7d00038972220934d9
parenta46bcf0a771575ce68e0a0585a84ca6029b96b4e
gallium/u_blitter: let drivers decide which VS to use for draw_rectangle

This approach allows drivers to set their own vertex shader and skip
compilation of u_blitter vertex shaders.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r600/r600_pipe_common.c
src/gallium/drivers/r600/r600_pipe_common.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.c