diff options
author | Ilia Mirkin <[email protected]> | 2016-11-17 22:40:29 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-11-21 21:11:26 -0500 |
commit | ee0b6597a9579342029e46bf2bc4a8dd887f7896 (patch) | |
tree | c0e4a24b25f0a1018ebdfe46673fa17483f6fe84 /src/gallium/drivers/swr/swr_draw.cpp | |
parent | c5a654786b5b68c5c215e3bd1bc83b02d7e2a0e9 (diff) |
swr: [rasterizer memory] minify texture width before alignment
The minification should happen before alignment, not after. See similar
logic on ComputeLODOffsetY. The current logic requires unnecessarily
large textures when there's an initial NPOT size.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_draw.cpp')
0 files changed, 0 insertions, 0 deletions