aboutsummaryrefslogtreecommitdiff
path: root/layers/parameter_validation.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-11-08 08:45:03 +1300
committerChris Forbes <chrisforbes@google.com>2016-11-08 08:45:03 +1300
commit5fa6650f695f3fd6a5e91156b576e639f550c899 (patch)
tree7b7e9f4dfab35be372028cd69b6b667b923b265e /layers/parameter_validation.cpp
parentb561ce44ee375059d1d6b418ab207230a134e8aa (diff)
downloadusermoji-5fa6650f695f3fd6a5e91156b576e639f550c899.tar.xz
layers: Avoid calling functions not produced by the pv codegen
Still need to investigate why the generator doesn't produce everything it should, but this should be enough to get us going. Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/parameter_validation.cpp')
-rw-r--r--layers/parameter_validation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/layers/parameter_validation.cpp b/layers/parameter_validation.cpp
index ef7ce0d1..bf7db2e6 100644
--- a/layers/parameter_validation.cpp
+++ b/layers/parameter_validation.cpp
@@ -5000,7 +5000,8 @@ VKAPI_ATTR VkBool32 VKAPI_CALL GetPhysicalDeviceWin32PresentationSupportKHR(VkPh
skip |= require_instance_extension(physicalDevice, &instance_extension_enables::win32_enabled,
"vkGetPhysicalDeviceWin32PresentationSupportKHR", VK_KHR_WIN32_SURFACE_EXTENSION_NAME);
- skip |= parameter_validation_vkGetPhysicalDeviceWin32PresentationSupportKHR(physicalDevice, queueFamilyIndex);
+ // TODO: codegen doesn't produce this function?
+ //skip |= parameter_validation_vkGetPhysicalDeviceWin32PresentationSupportKHR(physicalDevice, queueFamilyIndex);
if (!skip) {
result = get_dispatch_table(pc_instance_table_map, physicalDevice)->GetPhysicalDeviceWin32PresentationSupportKHR(