diff options
author | Dave Airlie <[email protected]> | 2011-12-19 15:54:03 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-12-22 12:25:33 +0000 |
commit | 7fd8dc3aa97271e3302667adc963f606c5b2e1e7 (patch) | |
tree | af7e60957672cf234f8737726094be1f12506f7e /src/gallium/drivers/softpipe/Makefile | |
parent | d61d39922b06c234790d055761407eaf4333ccde (diff) |
softpipe: try and use back color for a slot if color fails.
In the case where a front and back output are specified, the draw code will
copy the back output into the front color slot and everything is happy.
However if no front is specified then the draw code will do a bad copy (separate patch), but also the frag shader won't pick up the color as there there is
no write to COLOR from the vertex shader just BCOLOR.
This patch fixes that problem so if it can't find a vertex shader output
for the front color slot, it will go and lookup and use one for the back color
slot.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/Makefile')
0 files changed, 0 insertions, 0 deletions