Chris Wilson <ch...@chris-wilson.co.uk> writes: > Quoting Eric Anholt (2019-02-27 02:19:32) >> Overall, I'm hesitatant to land support for actually doing anything with >> APPLE_object_purgeable when there are no functional tests of it. I >> don't mean to actually have tests that force purging, but at least >> making sure that we don't accidentally break rendering by having marked >> things purgeable at all. > > For test design you are thinking of a few of the more common operations > with a purgeable/unpurgeable cycle in between? For each of the purgeable > objects (i.e. every object type). And from a robustness pov, run through > with GL_UNDEFINED_APPLE in between, so the objects are discarded before > attempting to reuse (and gracefully failing).
For example, for the vc4 issue, submitting a draw, marking one of the buffers involved purgeable, then read back the result of the draw to the unrelated buffer.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev