aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.h
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-06-09 16:35:43 -0600
committerMark Lobodzinski <mark@lunarg.com>2017-06-12 07:32:50 -0600
commitfb005c48ca6d7effceb10dfa39999e2a3674c64d (patch)
treec3910bcf21826622abc24a6927d4e431db625404 /layers/core_validation.h
parent898f916d8468dcbccf9ee013fc451139fa1e92cb (diff)
downloadusermoji-fb005c48ca6d7effceb10dfa39999e2a3674c64d.tar.xz
layers: Move remaining Swapchain checks into CV
Also refactored modified routines for pre/post call structure. Change-Id: I192e11c1d04effa8d2f3478c1341f6eedea7138a
Diffstat (limited to 'layers/core_validation.h')
-rw-r--r--layers/core_validation.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/layers/core_validation.h b/layers/core_validation.h
index fd1c8b4d..460dba37 100644
--- a/layers/core_validation.h
+++ b/layers/core_validation.h
@@ -140,13 +140,6 @@ class QUERY_POOL_NODE : public BASE_NODE {
VkQueryPoolCreateInfo createInfo;
};
-// Stuff from Device Limits Layer
-enum CALL_STATE {
- UNCALLED, // Function has not been called
- QUERY_COUNT, // Function called once to query a count
- QUERY_DETAILS, // Function called w/ a count to query details
-};
-
struct PHYSICAL_DEVICE_STATE {
// Track the call state and array sizes for various query functions
CALL_STATE vkGetPhysicalDeviceQueueFamilyPropertiesState = UNCALLED;
@@ -156,6 +149,7 @@ struct PHYSICAL_DEVICE_STATE {
CALL_STATE vkGetPhysicalDeviceSurfaceCapabilitiesKHRState = UNCALLED;
CALL_STATE vkGetPhysicalDeviceSurfacePresentModesKHRState = UNCALLED;
CALL_STATE vkGetPhysicalDeviceSurfaceFormatsKHRState = UNCALLED;
+ CALL_STATE vkGetPhysicalDeviceDisplayPlanePropertiesKHRState = UNCALLED;
VkPhysicalDeviceFeatures features = {};
VkPhysicalDevice phys_device = VK_NULL_HANDLE;
uint32_t queue_family_count = 0;
@@ -163,6 +157,7 @@ struct PHYSICAL_DEVICE_STATE {
VkSurfaceCapabilitiesKHR surfaceCapabilities = {};
std::vector<VkPresentModeKHR> present_modes;
std::vector<VkSurfaceFormatKHR> surface_formats;
+ uint32_t display_plane_property_count = 0;
};
struct GpuQueue {