diff options
Diffstat (limited to 'src/glsl/builtins/tools/texture_builtins.py')
-rwxr-xr-x | src/glsl/builtins/tools/texture_builtins.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/glsl/builtins/tools/texture_builtins.py b/src/glsl/builtins/tools/texture_builtins.py index 3d957e272d3..84a144e6adc 100755 --- a/src/glsl/builtins/tools/texture_builtins.py +++ b/src/glsl/builtins/tools/texture_builtins.py @@ -177,6 +177,8 @@ def generate_texture_functions(fs): generate_sigs("", "tex", "CubeShadow", Single); generate_sigs("", "tex", "1DArrayShadow", Single); generate_sigs("", "tex", "2DArrayShadow", Single); + generate_fiu_sigs("tex", "2DRect") + generate_sigs("", "tex", "2DRectShadow", Single); generate_fiu_sigs("txb", "1D") generate_fiu_sigs("txb", "2D") @@ -199,6 +201,9 @@ def generate_texture_functions(fs): generate_fiu_sigs("tex", "3D", Proj) generate_sigs("", "tex", "1DShadow", Proj | Single, 1); generate_sigs("", "tex", "2DShadow", Proj | Single); + generate_fiu_sigs("tex", "2DRect", Proj) + generate_fiu_sigs("tex", "2DRect", Proj, 1) + generate_sigs("", "tex", "2DRectShadow", Proj | Single); generate_fiu_sigs("txb", "1D", Proj) generate_fiu_sigs("txb", "1D", Proj, 2) @@ -236,6 +241,8 @@ def generate_texture_functions(fs): generate_fiu_sigs("tex", "1D", Offset) generate_fiu_sigs("tex", "2D", Offset) generate_fiu_sigs("tex", "3D", Offset) + generate_fiu_sigs("tex", "2DRect", Offset) + generate_sigs("", "tex", "2DRectShadow", Offset | Single); generate_fiu_sigs("tex", "1DArray", Offset) generate_fiu_sigs("tex", "2DArray", Offset) generate_sigs("", "tex", "1DShadow", Offset | Single, 1); @@ -256,6 +263,7 @@ def generate_texture_functions(fs): generate_fiu_sigs("txf", "1D") generate_fiu_sigs("txf", "2D") generate_fiu_sigs("txf", "3D") + generate_fiu_sigs("txf", "2DRect") generate_fiu_sigs("txf", "1DArray") generate_fiu_sigs("txf", "2DArray") generate_fiu_sigs("txf", "Buffer") @@ -265,6 +273,7 @@ def generate_texture_functions(fs): generate_fiu_sigs("txf", "1D", Offset) generate_fiu_sigs("txf", "2D", Offset) generate_fiu_sigs("txf", "3D", Offset) + generate_fiu_sigs("txf", "2DRect", Offset) generate_fiu_sigs("txf", "1DArray", Offset) generate_fiu_sigs("txf", "2DArray", Offset) end_function(fs, "texelFetchOffset") @@ -275,6 +284,9 @@ def generate_texture_functions(fs): generate_fiu_sigs("tex", "2D", Proj | Offset) generate_fiu_sigs("tex", "2D", Proj | Offset, 1) generate_fiu_sigs("tex", "3D", Proj | Offset) + generate_fiu_sigs("tex", "2DRect", Proj | Offset) + generate_fiu_sigs("tex", "2DRect", Proj | Offset, 1) + generate_sigs("", "tex", "2DRectShadow", Proj | Offset | Single); generate_sigs("", "tex", "1DShadow", Proj | Offset | Single, 1); generate_sigs("", "tex", "2DShadow", Proj | Offset | Single); @@ -314,6 +326,8 @@ def generate_texture_functions(fs): generate_fiu_sigs("txd", "Cube") generate_fiu_sigs("txd", "1DArray") generate_fiu_sigs("txd", "2DArray") + generate_fiu_sigs("txd", "2DRect") + generate_sigs("", "txd", "2DRectShadow", Single); generate_sigs("", "txd", "1DShadow", Single, 1); generate_sigs("", "txd", "2DShadow", Single); generate_sigs("", "txd", "CubeShadow", Single); @@ -325,6 +339,8 @@ 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", "2DRect", Offset) + generate_sigs("", "txd", "2DRectShadow", Offset | Single); generate_fiu_sigs("txd", "1DArray", Offset) generate_fiu_sigs("txd", "2DArray", Offset) generate_sigs("", "txd", "1DShadow", Offset | Single, 1); @@ -339,6 +355,9 @@ def generate_texture_functions(fs): generate_fiu_sigs("txd", "2D", Proj) generate_fiu_sigs("txd", "2D", Proj, 1) generate_fiu_sigs("txd", "3D", Proj) + generate_fiu_sigs("txd", "2DRect", Proj) + generate_fiu_sigs("txd", "2DRect", Proj, 1) + generate_sigs("", "txd", "2DRectShadow", Proj | Single); generate_sigs("", "txd", "1DShadow", Proj | Single, 1); generate_sigs("", "txd", "2DShadow", Proj | Single); end_function(fs, "textureProjGrad") @@ -349,6 +368,9 @@ def generate_texture_functions(fs): generate_fiu_sigs("txd", "2D", Proj | Offset) generate_fiu_sigs("txd", "2D", Proj | Offset, 1) generate_fiu_sigs("txd", "3D", Proj | Offset) + generate_fiu_sigs("txd", "2DRect", Proj | Offset) + generate_fiu_sigs("txd", "2DRect", Proj | Offset, 1) + generate_sigs("", "txd", "2DRectShadow", Proj | Offset | Single); generate_sigs("", "txd", "1DShadow", Proj | Offset | Single, 1); generate_sigs("", "txd", "2DShadow", Proj | Offset | Single); end_function(fs, "textureProjGradOffset") |