diff options
author | Kenneth Graunke <[email protected]> | 2010-08-07 01:11:43 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-08-09 12:41:39 -0700 |
commit | 2eed82ebc0435da40dd5b588efc9bef0946e8497 (patch) | |
tree | f40e799ac35983367cd68c7a8e3bfcd048e6df04 /src/glsl/builtins | |
parent | dbff7b541e4be26cc9363956af8595ec052c4e56 (diff) |
texture_builtins.py: Fix cut and paste errors in function names.
Some signatures were being generated with the wrong function name.
Diffstat (limited to 'src/glsl/builtins')
-rw-r--r-- | src/glsl/builtins/130/textureProjGrad | 2 | ||||
-rw-r--r-- | src/glsl/builtins/130/textureProjLod | 2 | ||||
-rwxr-xr-x | src/glsl/builtins/tools/texture_builtins.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/builtins/130/textureProjGrad b/src/glsl/builtins/130/textureProjGrad index a0142c5e683..b4bfa58c123 100644 --- a/src/glsl/builtins/130/textureProjGrad +++ b/src/glsl/builtins/130/textureProjGrad @@ -1,4 +1,4 @@ -((function textureLod +((function textureProjGrad (signature vec4 (parameters (declare (in) sampler1D sampler) diff --git a/src/glsl/builtins/130/textureProjLod b/src/glsl/builtins/130/textureProjLod index 9f4ce1b493d..d242f7e40fc 100644 --- a/src/glsl/builtins/130/textureProjLod +++ b/src/glsl/builtins/130/textureProjLod @@ -1,4 +1,4 @@ -((function textureLod +((function textureProjLod (signature vec4 (parameters (declare (in) sampler1D sampler) diff --git a/src/glsl/builtins/tools/texture_builtins.py b/src/glsl/builtins/tools/texture_builtins.py index 23d53149161..c4672ae8c12 100755 --- a/src/glsl/builtins/tools/texture_builtins.py +++ b/src/glsl/builtins/tools/texture_builtins.py @@ -156,7 +156,7 @@ with open(path.join(builtins_dir, "130", "texelFetch"), 'w') as sys.stdout: print "))" with open(path.join(builtins_dir, "130", "textureProjLod"), 'w') as sys.stdout: - print "((function textureLod" + print "((function textureProjLod" generate_fiu_sigs("txl", "1D", True) generate_fiu_sigs("txl", "1D", True, 2) generate_fiu_sigs("txl", "2D", True) @@ -175,7 +175,7 @@ with open(path.join(builtins_dir, "130", "textureGrad"), 'w') as sys.stdout: print ")\n)" with open(path.join(builtins_dir, "130", "textureProjGrad"), 'w') as sys.stdout: - print "((function textureLod" + print "((function textureProjGrad" generate_fiu_sigs("txd", "1D", True) generate_fiu_sigs("txd", "1D", True, 2) generate_fiu_sigs("txd", "2D", True) |