diff options
author | Jason Ekstrand <[email protected]> | 2017-03-14 20:48:47 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-16 15:08:18 -0700 |
commit | 08df015b9de8ccb16ce6db93890910f8a02be4c6 (patch) | |
tree | 2bb032c3f35e7e36b3f825c05834e415d2be9205 /src/mesa/main/clear.c | |
parent | 81840130c0f147ed6ae4c26872c2f04a2167bc54 (diff) |
anv/GetQueryPoolResults: Actually implement the spec
The Vulkan spec is fairly clear about when we should and should not
write query pool results. We're also supposed to return VK_NOT_READY if
VK_QUERY_RESULT_PARTIAL_BIT is not set and we come across any queries
which are not yet finished. This fixes rendering corruptions on The
Talos Principle where geometry flickers in and out due to bogus query
results being returned by the driver. These issues are most noticable
on Sky Lake GT4 2hen running on "ultra" settings.
Reviewed-By: Lionel Landwerlin <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100182
Cc: "17.0 13.0" <[email protected]>
Diffstat (limited to 'src/mesa/main/clear.c')
0 files changed, 0 insertions, 0 deletions