Hi!
Ok validation layers are cool it tells you what the error is but it doesn’t tells you where the error is in your code because it doesn’t gives you the line number.
Is it possible to get the line number in your code ?
Thanks.
No. Line numbers don’t exist after the compiler has finished with your text. Validation layers happen at runtime… after the compiler has done its job.
Add a debug callback to your application (if you don’t have one yet) and put a break point inside that callback. That way you can traverse through the call stack (at runtime) to find the code that triggered the layer message.