aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2015-12-22 03:42:33 +0100
committerRoland Scheidegger <[email protected]>2016-01-07 02:00:04 +0100
commit8d4039ecdb167771d4b085f70b9666438be1c6ad (patch)
treec1812ea0e1f41f09e8cc41a62ea4078ae30f1963 /src/glsl
parent8e3a76791f208e67392b7b7a2e63eca32945ac7b (diff)
softpipe: tell draw about the vertex layout we want
This makes it more similar to llvmpipe. It also allows us to let draw emit code handle things like getting zeros for non-existing vs outputs automatically. There probably isn't really any overhead either way, there isn't really any "simply copy everything" code in the emit path it would copy each attrib individually just the same. Likewise, we still do another mapping step in softpipe as the layout may still not match exactly (same as in llvmpipe, should probably nuke the pointless mapping in both drivers). This fixes the piglit arb_fragment_layer_viewport no_gs/no_write tests. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions