[Mesa-dev] [PATCH] glsl: Add missing textureSize(samplerCubeShadow, int) variant.

Eric Anholt eric at anholt.net
Tue Nov 15 16:36:19 PST 2011


On Mon, 14 Nov 2011 17:27:17 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> 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")

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111115/5fbbaca9/attachment.pgp>


More information about the mesa-dev mailing list