]> git.tdb.fi Git - libs/gl.git/blobdiff - scripts/builtin_funcs.py
Fix the declaration of the builtin textureLod function
[libs/gl.git] / scripts / builtin_funcs.py
index 0022f40c7e5125c9db01d9826f05f084e085ab59..e7618877f34b00ebddf5032c69fbecbd2bf6b1b0 100755 (executable)
@@ -156,7 +156,7 @@ shared_funcs = [
        ("vec4 texture(T sampler, float[T::CDim] P)", colorsamplertypes),
        ("float texture(T sampler, float[T::CDim] P)", tuple(s for s in shadowsamplertypes if "CubeArray" not in s)),
        "float texture(samplerCubeArrayShadow sampler, vec4 P, float compare)",
-       ("vec4 textureLod(T sampler, float[T::CDim] P)", colorsamplertypes),
+       ("vec4 textureLod(T sampler, float[T::CDim] P, float lod)", colorsamplertypes),
        ("vec4 texelFetch(T sampler, int[T::CDim] P, int lod)", flatsamplertypes)
 ]