diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2019-03-21 17:43:56 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2019-03-25 08:21:22 +0100 |
commit | 01cf39003517c6842ad8684e5ba30552d54e3570 (patch) | |
tree | 4efe4d2887c29ad903cd89d5ab249cf581b2b9ae /src/mesa | |
parent | cb3ea50ec2c429960e945d073315b61f78fc67b9 (diff) |
radv: write availability status vkGetQueryPoolResults() when the data is not available
If VK_QUERY_RESULT_WITH_AVAILABILY_BIT is set and
VK_QUERY_RESULT_WAIT_BIT and VK_QUERY_RESULT_PARTIAL_BIT are both not
set, we need return to VK_NOT_READY only and set the availability
status field for each query.
From Vulkan spec:
"If VK_QUERY_RESULT_WAIT_BIT and VK_QUERY_RESULT_PARTIAL_BIT are both
not set then no result values are written to pData for queries that are
in the unavailable state at the time of the call, and
vkGetQueryPoolResults returns VK_NOT_READY. However, availability state
is still written to pData for those queries if
VK_QUERY_RESULT_WITH_AVAILABILITY_BIT is set."
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions