Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Tobin gh2374 mock query #2388

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Tobin gh2374 mock query #2388

wants to merge 2 commits into from

Conversation

tobine
Copy link
Contributor

@tobine tobine commented Jan 31, 2018

Updated mock icd to handle extension feature and properties queries down the GPDP2 and GPDF2 paths.

@mark-lunarg
Copy link
Collaborator

This all seems copacetic, once the status board is all green.

@tobine
Copy link
Contributor Author

tobine commented Feb 1, 2018

The fails are because DevSim doesn't yet report the extended properties or features.
DevSim needs to have similar updates made so that it can report extension properties and features that are read in from json. I started to do it myself but it wasn't immediately obvious how to read what I need from the JSON so created VulkanTools GH389 and hoping @mikew-lunarg can run with what I started.

@mikew-lunarg
Copy link
Contributor

Extension support is currently being added to DevSim, so this is good timing for the feature request.

Copy link
Contributor

@jzulauf-lunarg jzulauf-lunarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You still have one missing query (VkPhysicalDeviceIDPropertiesKHR) pNext type missing that doesn't correspond to a blacklisted extension

cr_prop->conservativeRasterizationPostDepthCoverage = VK_FALSE;
break;
}
default:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VkPhysicalDeviceIDPropertiesKHR is missing from the list but not on the "naughty" list below.

@tobine tobine force-pushed the tobin_gh2374_mock_query branch 2 times, most recently from 881a4fc to f4c96c0 Compare February 2, 2018 19:34
@tobine
Copy link
Contributor Author

tobine commented Feb 2, 2018

Great catch, @jzulauf-lunarg. The exclusion was un-intentional and I've pushed an update to add the missing extension.

tobine added 2 commits April 17, 2018 15:10
Updated vkGetPhysicalDeviceProperties2KHR() implementation in the mock
ICD to handle extension queries down pNext tree.

This is for #2374. Note that the bug references
vkGetPhysicalDeviceFeatures2KHR() which will be done in a separate CL.
Fixes #2374

Updated vkGetPhysicalDeviceFeatures2KHR() implementation in the mock
ICD to handle extension feature queries down pNext tree.
Initially returning all extension features as supported by mock icd.
@tobine tobine force-pushed the tobin_gh2374_mock_query branch from f4c96c0 to 779a3ae Compare April 17, 2018 21:11
@mark-lunarg
Copy link
Collaborator

@tobine, this repository will close for write access on Sunday, 5/13/2018. If it is pushed before that time it will be present in the follow-on Vulkan-ValidationLayers repository on Monday, otherwise a new PR will be required in the new repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants