diff options
author | Eric Anholt <[email protected]> | 2012-04-12 16:28:37 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-04-16 11:28:18 -0700 |
commit | d91c8edd851839799d8338ecc127ea004d76fcab (patch) | |
tree | 63a0541eff51fb304fc62676b538de94149ca966 /src/glsl/builtins/tools | |
parent | 9a01e09ee57a875ccff58316c81395c3f1094aa6 (diff) |
glsl: Add textureSize(*samplerBuffer) support.
Fixes the corresponding new tests in piglit.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/builtins/tools')
-rwxr-xr-x | src/glsl/builtins/tools/texture_builtins.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/builtins/tools/texture_builtins.py b/src/glsl/builtins/tools/texture_builtins.py index bbbbd0bd0c5..3d957e272d3 100755 --- a/src/glsl/builtins/tools/texture_builtins.py +++ b/src/glsl/builtins/tools/texture_builtins.py @@ -162,6 +162,7 @@ def generate_texture_functions(fs): generate_sigs("", "txs", "2DArrayShadow") generate_fiu_sigs("txs", "2DRect") generate_sigs("", "txs", "2DRectShadow") + generate_fiu_sigs("txs", "Buffer") end_function(fs, "textureSize") start_function("texture") |