Skip to content

Remove non-functional device layers - #77

Merged
smoogipoo merged 1 commit into
ppy:masterfrom
Tom94:fix-device-layers
Sep 17, 2026
Merged

smoogipoo merged 1 commit into
ppy:masterfrom
Tom94:fix-device-layers

Conversation

@Tom94

@Tom94 Tom94 commented Sep 17, 2026

Copy link
Copy Markdown

It is an error to use device layers; they've been non-functional for a very long time already. Instance layers should be (and already are) used instead.

See also:

Validation Error: [ VUID-VkDeviceCreateInfo-ppEnabledLayerNames-12385 ] | MessageID = 0xd19e260d
vkCreateDevice(): pCreateInfo->ppEnabledLayerNames is 0x7ffd73690468 (not null).
Device Layers have never worked since Vulkan 1.0 and only Instance Layers should be used instead:
https://docs.vulkan.org/spec/latest/appendices/legacy.html#legacy-devicelayers. The Vulkan spec states: ppEnabledLayerNames must be NULL (https://docs.vulkan.org/spec/latest/chapters/devsandqueues.html#VUID-VkDeviceCreateInfo-ppEnabledLayerNames-12385) Objects: 1
    [0] VkPhysicalDevice 0x62a622b77150

It is an error to use device layers; they've been non-functional for a
very long time already. Instance layers should be (and already are) used
instead.

See also:

Validation Error: [ VUID-VkDeviceCreateInfo-ppEnabledLayerNames-12385 ]
| MessageID = 0xd19e260d
vkCreateDevice(): pCreateInfo->ppEnabledLayerNames is 0x7ffd73690468
(not null).
Device Layers have never worked since Vulkan 1.0 and only Instance
Layers should be used instead:
https://docs.vulkan.org/spec/latest/appendices/legacy.html#legacy-devicelayers.
The Vulkan spec states: ppEnabledLayerNames must be NULL
(https://docs.vulkan.org/spec/latest/chapters/devsandqueues.html#VUID-VkDeviceCreateInfo-ppEnabledLayerNames-12385)
Objects: 1
    [0] VkPhysicalDevice 0x62a622b77150
@peppy
peppy requested a review from smoogipoo September 17, 2026 01:40
@smoogipoo
smoogipoo merged commit 0b271a6 into ppy:master Sep 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants