Skip to content

Codegen - Handle case where extension needs A or B extension as dependency #9464

Open
@dabrain34

Description

Environment:

  • OS: Linux
  • GPU and driver version:
  • SDK or header version if building from repo: 1.4.304
  • Options enabled (synchronization, best practices, etc.):

Describe the Issue

In the case of a decode operation such as dEQP-VK.video.decode.h264.inline_session_params_layered_dpb, the validation layer complains that the maintenance2 extension requires VK_KHR_video_encode_queue which should not be mandatory.

Expected behavior

No validation layer issue if vk_khr_video_queue is enabled

Valid Usage ID
VUID-vkCreateDevice-ppEnabledExtensionNames-01387

Additional context

VUID-vkCreateDevice-ppEnabledExtensionNames-01387(ERROR / SPEC): msgNum: 307460652 - Validation Error: [ VUID-vkCreateDevice-ppEnabledExtensionNames-01387 ] Object 0: handle = 0x55555b309110, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x12537a2c | vkCreateDevice(): pCreateInfo->ppEnabledExtensionNames[3] Missing extension required by the device extension VK_KHR_video_maintenance2: VK_KHR_video_encode_queue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

codegenRelated to code generation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions