A warning is not an error. If you are getting warnings regarding unused constants and such, it’s just to notify you that you are specifying things (constants, attributes, samplers) that you are aren’t using in the shaders.
5 Likes