For questions about the Khronos group Vulkan validation layers.
Questions tagged [validation-layers]
25 questions
0
votes
1 answer
Vulkan image incompatibility, is there a nice way to check which parameters are incompatible?
My validation errors are returning the following error:
Message ID name: VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251
Message: Validation Error: [ VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251 ] Object 0: handle = 0x1867f53a780, name…

Makogan
- 8,208
- 7
- 44
- 112
0
votes
1 answer
Vulkan queue waiting on semaphore that has no way to be signaled
Validation error:
VUID-vkQueuePresentKHR-pWaitSemaphores-03268(ERROR / SPEC): msgNum: 622825338 - Validation Error: [ VUID-vkQueuePresentKHR-pWaitSemaphores-03268 ] Object 0: handle = 0x2ad2f2d8a38, type = VK_OBJECT_TYPE_QUEUE; Object 1: handle =…

Ivan
- 3
- 3
0
votes
1 answer
How to set validation layers from within program rather than env var?
The official vulkan documentation claims:
Applications may programmatically activate layers via the vkCreateInstance() entry point.
And this is given as alternative to setting an environment variable. However, nothing else is said in this section…

Makogan
- 8,208
- 7
- 44
- 112
0
votes
1 answer
Couldn't find VkNonDispatchableHandle
I'm using Vulkan to create a simple program. After I resize the window, the validation layer gives me this output. The resize itself works fine. What does it say? The complete error is following:
UNASSIGNED-Threading-Info(ERROR / SPEC): msgNum:…

Plugrol Huldo
- 21
- 1
- 4
0
votes
2 answers
How to use a vulkan sampler with unnormalized texture-coordinates? (without triggering VUID-vkCmdDrawIndexed-None-02703)
So I have been using unnormalized coordinates in my texture-sampler since I find it easier to address certain parts of a texture when using it as a sprite atlas. Today I patched my workstation and recompiled everything and this error started to get…

Xatian
- 772
- 1
- 8
- 24
0
votes
1 answer
Vulkan Validation Layer: loader_create_instance_chain: Failed to find 'vkGetInstanceProcAddr'
I followed this guide to create a very basic Vulkan program, and for some reason, even when completely copying the code from the guide (and not using my own version which is slightly different and modified to my needs) I still receive the following…

Ely Shaffir
- 317
- 3
- 17
0
votes
1 answer
Cleanup of command buffers (and resources) after barrier-based synchronization; but the validation layers still complain
This is a specific question about barrier-based synchronization w.r.t. command buffer submission and cleanup of resources that are required by the command buffers (like used buffers and images).
Let's assume, everything is on a single queue and…

j00hi
- 5,420
- 3
- 45
- 82
0
votes
1 answer
Vulkan, why do validation layers (and by extension the spec) forbid pipelines from not writing to certain attachments?
In vulkan, if under the lifetime of a single render pass you naively render to a framebuffer that contains multiple attachemnts with a pipeline that renders to all of them and then render again with a pipeline that only renders to one of them you…

Makogan
- 8,208
- 7
- 44
- 112
-1
votes
0 answers
GUID for 21 is not SoftwareComponent skipping - Vulkan validation layer
I've recently set up the Debug Messanger, because i noticed that i have accidentally skipped a part of the tutorial. Well, i have encountered this strange error message which i cant make sense of:
validation layer: windows_get_device_registry_files:…

StarFox
- 9
- 3
-1
votes
1 answer
How does the Vulkan Validation Layer assignment work?
I have started with Vulkan and just did the Validation Layers.
In here, they add a static function static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback(...) to the .cpp file, then simply assign
createInfo.pfnUserCallback = debugCallback;
How (/why)…

Tare
- 482
- 1
- 9
- 25