diff options
author | Roland Scheidegger <[email protected]> | 2013-05-17 23:19:05 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-05-18 00:32:18 +0200 |
commit | 87978518e996d02e055174d7152fff150fe3cd13 (patch) | |
tree | c1d7c1ca62fc574e30bda00754d24229a396add2 /Android.mk | |
parent | d7e811c0b0f51df85a624a5784518e274a1db173 (diff) |
llvmpipe: fix bogus handling of first_layer when setting up texture sampling
The code avoided first_layer parameter in the sampler interface (and needing
to do another calculation at runtime) by fixing up the base texture pointer
instead. Unfortunately, this didn't actually work as we have mip-first
texture layout so fixing up the base ptr by a fixed amount is very wrong if
there are mipmaps present. The wrong offsets caused misrendering and crashes.
Fix this by just adjusting the individual mip level offsets instead.
Spotted by Jose.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions