-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-02-12 11:20, schrieb Stefan Dösinger:
Am 2014-02-11 14:23, schrieb Martin Storsjö:
Yes - now I extended the test to use a non-power-of-two texture size, and if I hack out the ARB_TEXTURE_NON_POWER_OF_TWO support (in wined3d/directx.c) the tests fail and crash.
Alright, I guess I should have a look at it.
It looks like I screwed up heightscale handling with my recent surface memory management rework. YUY2 and UYVY are regular block-based formats, but YV12, NV12 and I420 are not.
The block-based properties of those 3 formats (or lack thereof) could use some tests as well. I think I didn't test YV12 when I wrote / updated test_surface_blocks and test_volume_blocks in dlls/d3d9/tests/device.c because none of my cards supported it in d3d9. Maybe that's different with I420 and NV12 - I haven't checked on Windows yet.
Ddraw has some YV12 tests in dlls/ddraw/tests/overlay.c. It shows that this format does not use a block-based offset calculation.