PacktPublishing / Mastering-Graphics-Programming-with-Vulkan

MIT License
514 stars 65 forks source link

debug_mesh pipeline validation error. #33

Closed dorian-apanel-intel closed 9 months ago

dorian-apanel-intel commented 1 year ago

With core checks of validation layers, running Chapter 6 produces following error:

...
Parsing GPU Technique debug
temp.shader

temp.shader

UNASSIGNED-CoreValidation-Shader-InputNotProduced(ERROR / SPEC): msgNum: 602160055 - Validation Error: [ UNASSIGNED-CoreValidation-Shader-InputNotProduced ] Object 0: handle = 0x5131e00000000419, name = debug_mesh, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x23e43bb7 | Vertex shader consumes input at location 0 but not provided
    Objects: 1
       [0]  0x5131e00000000419, type: 15, name: debug_mesh
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in RaptorEngine_Chapter6_Debug.exe.
theWatchmen commented 10 months ago

Better late than never :D Turns out we did some refactoring for the pipeline definition and missed a couple of files. This should now be fixed.

theWatchmen commented 9 months ago

Closing this for now, feel free to reopen if the issue is not fixed.