mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
anv: silence unused variable warning
Fixes: 59b0ea0c74 ("anv: Stop returning VK_ERROR_INCOMPATIBLE_DRIVER")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
This commit is contained in:
parent
b5b56f91f5
commit
51783f3e7d
1 changed files with 0 additions and 7 deletions
|
|
@ -514,13 +514,6 @@ VkResult anv_CreateInstance(
|
|||
|
||||
assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO);
|
||||
|
||||
/* Check if user passed a debug report callback to be used during
|
||||
* Create/Destroy of instance.
|
||||
*/
|
||||
const VkDebugReportCallbackCreateInfoEXT *ctor_cb =
|
||||
vk_find_struct_const(pCreateInfo->pNext,
|
||||
DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT);
|
||||
|
||||
struct anv_instance_extension_table enabled_extensions = {};
|
||||
for (uint32_t i = 0; i < pCreateInfo->enabledExtensionCount; i++) {
|
||||
int idx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue