diff options
author | Roland Scheidegger <[email protected]> | 2015-12-17 05:58:58 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2015-12-18 00:55:35 +0100 |
commit | 44e87b7b7b49669d10b6d60500885e51b42d05c3 (patch) | |
tree | dd29a003d39db6a642c08bad62d3490411c13c25 /src/mapi | |
parent | 6723b61753102aae46833810ecedf2213cd714b4 (diff) |
draw: fix pstipple and aaline stages wrt sampler_views/samplers
Those stages only really work for OGL-style texturing (so number of samplers
and views mostly the same, certainly for the max values).
These get often set up all at once, thus there might be max number of both
even if all of them are just NULL. We must not set the max number of samplers
and views to the same value since that will lead to terrible things if a driver
supports more views than samplers (and the state tracker set up all the views).
(This will not make these stages magically work if a shader uses dx10-style
texturing, they might still replace an actually used sview in that case.)
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions