diff options
author | Marek Olšák <[email protected]> | 2014-06-14 02:49:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-06-19 00:17:09 +0200 |
commit | 552c70a837b68124a8cd85873d45075fa17659f4 (patch) | |
tree | c3a3dc14a91b2d1c715cbb7709138a7f1572b3ed /src/gallium | |
parent | c530282bbc5e235bee11f3d253d1bda20f5b98ba (diff) |
st/mesa: set sampler_view::last_level correctly
It was set to pipe_resource::last_level and _MaxLevel was embedded in max_lod,
that's why it worked for ordinary texturing. However, min_lod doesn't have
any effect on texelFetch and textureQueryLevels, so we must still set
last_level correctly.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions