aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiers Daniell <pdaniell@nvidia.com>2019-08-21 12:10:19 -0600
committerMark Lobodzinski <mark@lunarg.com>2019-08-21 13:33:35 -0600
commit988ff1a4778d8a1be6f5191c342b25607d8386b3 (patch)
treedf0f8ceabaa9c23d665017e98348252c244172f7
parent8fd03f5150376662de841b0e106943a6e75a7202 (diff)
downloadvulkan-validation-layers-988ff1a4778d8a1be6f5191c342b25607d8386b3.tar.gz
corechecks: Remove moved code
Change-Id: Ia475cc39e8fdccd78a621ecde023af889f7e2362
-rw-r--r--layers/core_validation.cpp6
-rw-r--r--layers/core_validation_types.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 7ff019ae0..a52bfcf73 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -2620,12 +2620,6 @@ void ValidationStateTracker::PostCallRecordCreateDevice(VkPhysicalDevice gpu, co
state_tracker->enabled_features.pipeline_exe_props_features = *pipeline_exe_props_features;
}
- const auto *index_type_uint8_features =
- lvl_find_in_chain<VkPhysicalDeviceIndexTypeUint8FeaturesEXT>(pCreateInfo->pNext);
- if (index_type_uint8_features) {
- state_tracker->enabled_features.index_type_uint8_features = *index_type_uint8_features;
- }
-
// Store physical device properties and physical device mem limits into CoreChecks structs
DispatchGetPhysicalDeviceMemoryProperties(gpu, &state_tracker->phys_dev_mem_props);
DispatchGetPhysicalDeviceProperties(gpu, &state_tracker->phys_dev_props);
diff --git a/layers/core_validation_types.h b/layers/core_validation_types.h
index 863c7645a..72dbdf23d 100644
--- a/layers/core_validation_types.h
+++ b/layers/core_validation_types.h
@@ -1563,7 +1563,6 @@ struct DeviceFeatures {
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT texel_buffer_alignment_features;
VkPhysicalDeviceImagelessFramebufferFeaturesKHR imageless_framebuffer_features;
VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR pipeline_exe_props_features;
- VkPhysicalDeviceIndexTypeUint8FeaturesEXT index_type_uint8_features;
};
enum RenderPassCreateVersion { RENDER_PASS_VERSION_1 = 0, RENDER_PASS_VERSION_2 = 1 };