aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.h
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-11-25 16:37:41 +1300
committerChris Forbes <chrisforbes@google.com>2016-11-29 08:32:15 +1300
commit8d7ae53e3d23bfced0b799dce23db3b0fca2299f (patch)
tree5f3f8e265834ecb27125ecd80989d55b8b94cf3a /layers/core_validation.h
parent2bb5f72ccc6dc77f66fac121139aeb9aed4a5836 (diff)
downloadusermoji-8d7ae53e3d23bfced0b799dce23db3b0fca2299f.tar.xz
layers: Move surface format tracking to CV
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/core_validation.h')
-rw-r--r--layers/core_validation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/layers/core_validation.h b/layers/core_validation.h
index 850fc6c7..e09fd7d8 100644
--- a/layers/core_validation.h
+++ b/layers/core_validation.h
@@ -218,11 +218,13 @@ struct PHYSICAL_DEVICE_STATE {
CALL_STATE vkGetPhysicalDeviceFeaturesState = UNCALLED;
CALL_STATE vkGetPhysicalDeviceSurfaceCapabilitiesKHRState = UNCALLED;
CALL_STATE vkGetPhysicalDeviceSurfacePresentModesKHRState = UNCALLED;
+ CALL_STATE vkGetPhysicalDeviceSurfaceFormatsKHRState = UNCALLED;
VkPhysicalDeviceFeatures features = {};
VkPhysicalDevice phys_device = VK_NULL_HANDLE;
std::vector<VkQueueFamilyProperties> queue_family_properties;
VkSurfaceCapabilitiesKHR surfaceCapabilities = {};
std::vector<VkPresentModeKHR> present_modes;
+ std::vector<VkSurfaceFormatKHR> surface_formats;
};
struct GpuQueue {