ac1c75f3d0
GPU module assumes that image and textures uses different bind namespaces. In Vulkan this isn't the case, leading that some shaders generate incorrect bind types, when the state has bindings that are not used by the shader, but would conflict due to namespace differences. This PR will only return the binding when after validating it is from the expected namespace. This removes several validation warnings. This was done in order to debug EEVEE using modern toolsets. These toolsets don't support OpenGL and we use Vulkan as a workaround if possible. Pull Request: https://projects.blender.org/blender/blender/pulls/116465