diff options
author | Roland Scheidegger <[email protected]> | 2015-05-13 22:56:07 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2015-05-13 22:57:50 +0200 |
commit | adcf8f8a13717f7eb53b2aa86c4b56e344f2f317 (patch) | |
tree | 7a8de997b26ce0c6713926427a322e528d3c4432 /src/mesa/drivers | |
parent | e6c66f4fb060cf2566d2b5e091b76a098566344d (diff) |
softpipe: enable ARB_texture_view
Some bits were already there for texture views but some were missing.
In particular for cube map views things needed to change a bit.
For simplicity I ended up removing the separate face addr bit (just use
the z bit) - cube arrays didn't use it already, so just follow the same
logic there. (In theory using separate bits could allow for better hash
function but I don't think anyone ever did some measurements of that so
probably not worth the trouble, if we'd reintroduce it we'd certainly
wanted to use the same logic for cube arrays and cube maps.)
Also extend the seamless cube sampling to cube arrays - as there were no
piglit failures before this is apparently untested, but things now generally
work quite the same for cube textures and cube array textures so there
hopefully shouldn't be any trouble...
49 new piglits, 47 pass, 2 fail (both due to fake multisampling).
v2: incorporate Brian's feedback, add sampler view validation,
function rename, formatting fixes.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions