[Piglit] [PATCH] generator: clear before rendering with the builtin tests
eric at anholt.net
Mon Apr 6 11:36:35 PDT 2015
Dave Airlie <airlied at gmail.com> writes:
> From: Dave Airlie <airlied at redhat.com>
> Otherwise there is a chance you'll get the contents from the last
> test which are green, and if this test fails to renderer you'll pass.
> Signed-off-by: Dave Airlie <airlied at redhat.com>
This probably slightly improves performance for me, actually. I
initially wondered why you were getting previous buffer contents, then
rememered that on a discrete GPU the on-GPU memory wouldn't be getting
zeroed in between allocations.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 818 bytes
Desc: not available
More information about the Piglit