For questions about the Khronos group Vulkan validation layers.
Questions tagged [validation-layers]
25 questions
5
votes
1 answer
Vulkan VK_ERROR_LAYER_NOT_PRESENT
I'm currently learning vulkan with golang, and I've run into an issue creating the vulkan instance with validation layers. I'm trying to use VK_LAYER_KHRONOS_validation, and it shows up as an available layer when I call…

Jen Reiss
- 51
- 1
- 2
2
votes
1 answer
Using debugPrintfEXT in Vulkan
I'm trying to figure out how to use debugPrintfEXT but with no luck.
First I've enabled the extension in my vertex shader
#version 450
#extension GL_EXT_debug_printf : enable
void main()
{
debugPrintfEXT("Test");
// ... some more stuff…

alagris
- 1,838
- 16
- 31
1
vote
1 answer
vulkan_win32.h is not "recognized"
I'm following this Vulkan tutorial: https://youtu.be/dHPuU-DJoBM, in particular, this video https://youtu.be/6Kj3O2Ov1RU
when I run in VS code, this errors shows (there are a lot of them, but all of the same type), i think is something with Windows…

Neptune Luke
- 13
- 3
1
vote
1 answer
Driver says it supports interface version 6 but still exports core entrypoints
I have experience in OpenGL and I'm starting to learn Vulkan, following from this tutorial, and I am onto the testing section.
However, instead of the intended output:
I'm getting the following output instead:
[vlk] Searching for ICD drivers named…

kosude
- 177
- 3
- 14
1
vote
0 answers
vulkan unable to find validation layers
I'm following a vulkan tutorial and when i'm trying to check for validation layer support.
the function always returns false when it is supposed to return true.
this is the code:
bool app::checkValidationLayersSupport() {
uint32_t layersCount =…

BlenderModeler
- 13
- 3
1
vote
1 answer
Binding Images without using them all in Vulkan
I trying to create a bloom effect for my vulkan game-engine.
To implement this I use several bulring pass, in each one I read from one image and render/write a slightly more blurry picture to a other.
After each draw pass i swap the role of these…

TheAntsMaster
- 47
- 4
1
vote
2 answers
How to make VK_LAYER_KHRONOS_validation available?
Solution:
Uninstall vulkan
In registry HKLM\SOFTWARE\Khronos\Vulkan\ExplicitLayers and HKLM\SOFTWARE\WOW6432Node\Khronos\Vulkan\ExplicitLayers remove everything
reinstall vulkan
I recently started learning how to use Vulkan. I'm following this…

Dimethylebutane
- 13
- 1
- 5
1
vote
1 answer
Vulkan queue waiting on semaphore that can't be signaled
It seems I have had invalid code for a while but the validation layers were silent. After updating my sdk to the latest version I started getting this error:
Message ID name: VUID-vkQueuePresentKHR-pWaitSemaphores-03268
Message: […

Makogan
- 8,208
- 7
- 44
- 112
0
votes
1 answer
Vulkan VK_LAYER_KHRONOS_validation is Wrong Bit-Type
The Problem:
Hello! I am developing a Vulkan project between two 64-bit Windows systems, using the same MinGW/GCC build system on both. I am writing the program in C to challenge myself, and it has gone well until now. When I run my program on…

kadealicious
- 55
- 6
0
votes
1 answer
Vulkan - wrong ELF class: ELFCLASS32
I'm following this Vulkan tutorial, and I'm trying to implement validation layers - here is my code:
#define GLFW_INCLUDE_VULKAN
#include
#include
#include
#include
#include
#include…

new Q Open Wid
- 2,225
- 2
- 18
- 34
0
votes
2 answers
Vulkan validation errors states my images are in the wrong layout, but only the two first times I present images from the swapchain
I have loosely been following this guide to setup some simple rendering in Vulkan using the raii headers in Vulkan-Hpp. I have skipped the Graphics Pipeline Basics section (except for the render pass chapter) just to see if I'm able to only get the…

McFlyboy
- 23
- 1
- 1
- 9
0
votes
1 answer
When I follow vulkan-tutorial example code, validation layer doesn't work
It's my first time to learnin vulkan. I try to follow https://vulkan-tutorial.com/Drawing_a_triangle/Setup/Validation_layers, but it doesn't work in using validation layer. Copy and paste this…
0
votes
1 answer
Vulkan MacOS- Cannot setup Debug Messenger
I am following the tutorial https://vulkan-tutorial.com/Drawing_a_triangle/Setup/Validation_layers
auto func = (PFN_vkCreateDebugUtilsMessengerEXT)vkGetInstanceProcAddr(instance, "vkCreateDebugUtilsMessengerEXT");
"func" returns nullptr in the…

Juroza
- 17
- 5
0
votes
1 answer
vkQueuePresentKHR image has invalid layout if no command buffers are submitted
I have a minimalistic Vulkan pipeline set up and all it does is clearing the backbuffer before presenting it. However, if I set .commandBufferCount = 0 I get the following validation error:
vkQueuePresentKHR(): pSwapchains[0] images passed to…

Semicolon
- 163
- 2
- 16
0
votes
2 answers
Vulkan Invalid attribAddress alignment for vertex attribute 0
I really do not understand what the validation error means. There is no alignment requirement for vertex shader attributes in VkPhysicalDeviceLimits.
Here is the full error:
[2022-02-07.20:42:38]: Validation Error: [ VUID-vkCmdDrawIndexed-None-02721…

Youssef
- 1
- 1
- 2