]> git.tdb.fi Git - libs/gl.git/commitdiff
Vulkan doesn't support uniform locations
authorMikko Rasa <tdb@tdb.fi>
Sat, 27 Nov 2021 20:17:17 +0000 (22:17 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 27 Nov 2021 20:17:17 +0000 (22:17 +0200)
source/glsl/finalize.cpp

index 5307cff93ed1461d1da9c5eab9de770fd6fcd8b0..29eef60fb3342d12c31374441ed7a076d343ea2c 100644 (file)
@@ -588,7 +588,7 @@ bool QualifierConverter::supports_sample_sampling() const
 bool QualifierConverter::supports_uniform_location() const
 {
        if(features.target_api==VULKAN)
-               return true;
+               return false;
        else if(features.target_api==OPENGL_ES)
                return check_version(Version(3, 10));
        else if(check_version(Version(4, 30)))