If I comment out the camera uniform block in the inputs of my shader, my pipeline gets created just fine. However, if I leave it there, when I try to create a pipeline I get an initialization error back, but no validation message beforehand.
Should not the validation layers be able to detect that you're attempting to create a shader that requires a descriptor set, when you've supplied none in the pipeline layout?
I'm working on a shader where the inputs are declared like so:
currently my pipeline layout creation code looks like this:
If I comment out the camera uniform block in the inputs of my shader, my pipeline gets created just fine. However, if I leave it there, when I try to create a pipeline I get an initialization error back, but no validation message beforehand.
Should not the validation layers be able to detect that you're attempting to create a shader that requires a descriptor set, when you've supplied none in the pipeline layout?