diff options
author | Ilia Mirkin <[email protected]> | 2014-11-15 13:29:25 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-11-17 22:17:49 -0500 |
commit | 68db29c434e144891e5990b032b44495de52f6eb (patch) | |
tree | 1aeda9293c643f2dc47a3194199b3d877e512866 /src/gallium/docs | |
parent | 7b8e04b3f0b66bda84cb1ab4f89239f357d9cb64 (diff) |
st/mesa: add a fallback for clear_with_quad when no vs_layer
Not all drivers can set gl_Layer from VS. Add a fallback that passes the
instance id from VS to GS, and then uses the GS to set the layer.
Tested by adding
quad_buffers |= clear_buffers;
clear_buffers = 0;
to the st_Clear logic, and forcing set_vertex_shader_layered in all
cases. No piglit regressions (on piglits with 'clear' in the name).
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Cc: "10.4 10.3" <[email protected]>
Diffstat (limited to 'src/gallium/docs')
0 files changed, 0 insertions, 0 deletions