aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2016-06-14 03:31:20 +0200
committerRoland Scheidegger <[email protected]>2016-06-14 17:03:34 +0200
commitafbf5888f508634d30008b5e898c0f7be5d02785 (patch)
tree6402ce4bafbf63bbbea2f9eb005f87355c3915e0 /src/gallium/winsys/radeon
parentf4184d5450c12e107d3e41ae29e5927c75543259 (diff)
gallium/util: don't use blocksize for minify for assertions
The previous assertions required for texture sizes smaller than block_size that src_box.x + src_box.width still be block size. (e.g. for a texture with width 3, and src_box.x = 0, src_box.width would have to be 4 to not assert.) This caused some assertions with some other state tracker. It looks though like callers aren't expected to round up widths to block sizes (for sizes larger than block size the assertion would still have verified it wouldn't have been rounded up) so we simply shouldn't use a minify which rounds up to block size. (No piglit change with llvmpipe.) Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon')
0 files changed, 0 insertions, 0 deletions