diff options
author | Roland Scheidegger <[email protected]> | 2017-10-25 02:39:20 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2017-10-25 19:52:24 +0200 |
commit | 20c77ae6390451a74e2463f02c49bd7fec3dd29c (patch) | |
tree | fa073698f2e0a05b4b8bb7455368a0576791f550 /meson.build | |
parent | 7983adc60f2f3e4390b2dee98c30d7da14732b83 (diff) |
gallium/util: remove some block alignment assertions
These assertions were revisited a couple of times in the past, and they
still weren't quite right.
The problem I was seeing (with some other state tracker) was a copy between
two 512x512 s3tc textures, but from mip level 0 to mip level 8. Therefore,
the destination has only size 2x2 (not a full block), so the box width/height
was only 2, causing the assertion to trigger for src alignment.
As far as I can tell, such a copy is completely legal, and because a correct
assertion would get ridiculously complicated just get rid of it for good.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions