[Mesa-dev] [PATCH v2] gallium: Implement APPLE_object_purgeable (iris, freedeno, vc4)
chris at chris-wilson.co.uk
Wed Feb 27 08:06:12 UTC 2019
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).
More information about the mesa-dev