From 83d0514f1fc5f747a4bf4c900338a47a17f86e4a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 9 Nov 2011 21:57:12 -0800 Subject: glsl: Remove textureGradOffset built-ins taking samplerCube parameters. These simply don't exist in the 1.30 specification---none of the Offset variants allow samplerCube. This must have been a cut and paste error from textureGrad, which /does/ allow cubemaps. Signed-off-by: Kenneth Graunke Reviewed-by: Paul Berry --- src/glsl/builtins/tools/texture_builtins.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/glsl/builtins/tools/texture_builtins.py') diff --git a/src/glsl/builtins/tools/texture_builtins.py b/src/glsl/builtins/tools/texture_builtins.py index 62bad70ca26..586e20618df 100755 --- a/src/glsl/builtins/tools/texture_builtins.py +++ b/src/glsl/builtins/tools/texture_builtins.py @@ -313,7 +313,6 @@ def generate_texture_functions(fs): generate_fiu_sigs("txd", "1D", Offset) generate_fiu_sigs("txd", "2D", Offset) generate_fiu_sigs("txd", "3D", Offset) - generate_fiu_sigs("txd", "Cube", Offset) generate_fiu_sigs("txd", "1DArray", Offset) generate_fiu_sigs("txd", "2DArray", Offset) generate_sigs("", "txd", "1DShadow", Offset | Single, 1); -- cgit v1.2.3