Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I have a GLSL file with some readonly descriptors and some not, however the code generated by vulkano-shaders marks all of the descriptors as readonly. This has knock-on effects like the pipeline barrier code not working, since it looks for buffers that are not readonly in order to generate barriers in the right places.
It seems like vulkano-shaders always considers descriptors to structs (and by rule induction, buffers too) as readonly, which doesn't seem correct: https://github.com/vulkano-rs/vulkano/blob/master/vulkano-shaders/src/descriptor_sets.rs#L203