-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2016-07-03 um 10:04 schrieb Henri Verbeet:
Finally, there the possibility that Windows filters invalid flag combinations like Wine currently does, and picking either DISCARD or NOOVERWRITE will break an application that depends on that.
When I originally added support for dynamic buffers in 2010 or so I just forwarded the flags to the driver. That did break some applications. I'll try to find out which one it was, I believe I put some details in the patch description.
It's also possible that there are some differences between textures and buffers. In d3d <= 9, D3DLOCK_NOOVERWRITE is not supported on textures. So it might be filtered out, and DISCARD prevails. But my understanding is that Unigine uses the questionable combination on buffers, not textures.