diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 5798d39ff2d..7837714faa7 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -805,8 +805,6 @@ anv_physical_device_try_create(struct vk_instance *vk_instance, device->info = devinfo; - device->cmd_parser_version = -1; - if (!anv_gem_get_param(fd, I915_PARAM_HAS_WAIT_TIMEOUT)) { result = vk_errorf(device, VK_ERROR_INITIALIZATION_FAILED, "kernel missing gem wait"); diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 4f3eacc9471..a6023bc0849 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -905,7 +905,6 @@ struct anv_physical_device { * end. */ uint32_t n_perf_query_commands; - int cmd_parser_version; bool has_exec_async; bool has_exec_capture; int max_context_priority;