[Mesa-dev] [PATCH] glsl: Add missing textureSize(samplerCubeShadow, int) variant.
Kenneth Graunke
kenneth at whitecape.org
Mon Nov 14 17:27:17 PST 2011
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/glsl/builtins/tools/texture_builtins.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
I really don't know how I keep missing these. :(
diff --git a/src/glsl/builtins/tools/texture_builtins.py b/src/glsl/builtins/tools/texture_builtins.py
index 586e206..27cc027 100755
--- a/src/glsl/builtins/tools/texture_builtins.py
+++ b/src/glsl/builtins/tools/texture_builtins.py
@@ -150,6 +150,7 @@ def generate_texture_functions(fs):
generate_fiu_sigs("txs", "2DArray")
generate_sigs("", "txs", "1DShadow")
generate_sigs("", "txs", "2DShadow")
+ generate_sigs("", "txs", "CubeShadow")
generate_sigs("", "txs", "1DArrayShadow")
generate_sigs("", "txs", "2DArrayShadow")
end_function(fs, "textureSize")
--
1.7.7.2
More information about the mesa-dev
mailing list