Open
Conversation
Fix compilation error: no matching function for call to ‘vk::Device::getQueryPoolResults<uint64_t>(vk::QueryPool&, int, int, std::vector<long unsigned int>&, long unsigned int, vk::QueryResultFlagBits) const’ Building and testing vulkan environment: ``` GPU0: apiVersion = 1.3.255 driverVersion = 0.0.1 vendorID = 0x10005 deviceID = 0x0000 deviceType = PHYSICAL_DEVICE_TYPE_CPU deviceName = llvmpipe (LLVM 15.0.7, 256 bits) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 23.2.1-1ubuntu3.1~22.04.2 (LLVM 15.0.7) conformanceVersion = 1.3.1.1 deviceUUID = 6d657361-3233-2e32-2e31-2d3175627500 driverUUID = 6c6c766d-7069-7065-5555-494400000000 ``` Signed-off-by: Luc Ma <luc@sietium.com>
Fix compilation error: no matching function for call to
‘vk::Device::getQueryPoolResults<uint64_t>(vk::QueryPool&, int, int,
std::array<long unsigned int, 2>&, long unsigned int, vk::QueryResultFlagBits) const’
152 | device.getQueryPoolResults<uint64_t>(queryPool, 0, 1, pipelineStats, sizeof(uint64_t), vk::QueryResultFlagBits::e64);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Luc Ma <luc@sietium.com>
Author
Since 8ba8294c86d0 ("Update for Vulkan-Docs 1.3.212") in the repo
[Vulkan-Headers](KhronosGroup/Vulkan-Headers@8ba8294#diff-a83f956c7aeb2b6dee7ffa2f249c0d98a2cfad6e157fe8438e372a5267afaeffL5986-R6086),
vk::createResultValue is renamed as vk::createResultValueType. And
in the recent versions (after 1.3.282), vk::createResultValueType has
been encapsulated under namespace ::detail, so presumably users have
to construct a vk::ResultValue<> on their own.
Signed-off-by: Luc Ma <luc@sietium.com>
197f18c to
bdd0f69
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Uh oh!
There was an error while loading. Please reload this page.