diff options
author | Jason Ekstrand <[email protected]> | 2017-03-15 16:43:54 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-17 12:11:35 -0700 |
commit | 9d43afa3dc4ecc22317836a8f3c707d69ba8ed50 (patch) | |
tree | 5c1f4de11a94794e88a0cfa76b1845322c2a1806 /CleanSpec.mk | |
parent | c2a97fb7ae991fa52adfd1dabbebbe1803261863 (diff) |
anv/query: Let 32-bit values wrap
From the Vulkan 1.0.39 Specification:
"If VK_QUERY_RESULT_64_BIT is not set and the result overflows a
32-bit value, the value may either wrap or saturate."
So we can either clamp or wrap. Wrapping is both easier and what the
user gets if they use vkCmdCopyQueryPoolResults and we should be
consistent. We could make vkCmdCopyQueryPoolResults clamp but it's
annoying and ends up burning extra batch for something the spec clearly
doesn't require.
Reviewed-By: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions