summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-05-17 23:19:05 +0200
committerRoland Scheidegger <[email protected]>2013-05-18 00:32:18 +0200
commit87978518e996d02e055174d7152fff150fe3cd13 (patch)
treec1d7c1ca62fc574e30bda00754d24229a396add2 /src/gallium/drivers/radeon
parentd7e811c0b0f51df85a624a5784518e274a1db173 (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 'src/gallium/drivers/radeon')
0 files changed, 0 insertions, 0 deletions