[PATCH vkd3d v5 5/6] vkd3d-shader/hlsl: Remove Texture3DArrays from lexer and parser.

Giovanni Mascellani gmascellani at codeweavers.com
Fri Jan 28 02:26:32 CST 2022


Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>

Il 27/01/22 19:31, Francisco Casas ha scritto:
> Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
> 
> ---
> 
> For they don't exist. *mystic noises*
> 
> Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
> ---
>   libs/vkd3d-shader/hlsl.l | 1 -
>   libs/vkd3d-shader/hlsl.y | 1 -
>   2 files changed, 2 deletions(-)
> 
> diff --git a/libs/vkd3d-shader/hlsl.l b/libs/vkd3d-shader/hlsl.l
> index e9281ec3..a37e5d88 100644
> --- a/libs/vkd3d-shader/hlsl.l
> +++ b/libs/vkd3d-shader/hlsl.l
> @@ -131,7 +131,6 @@ Texture2DMS             {return KW_TEXTURE2DMS;         }
>   Texture2DMSArray        {return KW_TEXTURE2DMSARRAY;    }
>   texture3D               {return KW_TEXTURE3D;           }
>   Texture3D               {return KW_TEXTURE3D;           }
> -Texture3DArray          {return KW_TEXTURE3DARRAY;      }
>   textureCUBE             {return KW_TEXTURECUBE;         }
>   TextureCube             {return KW_TEXTURECUBE;         }
>   true                    {return KW_TRUE;                }
> diff --git a/libs/vkd3d-shader/hlsl.y b/libs/vkd3d-shader/hlsl.y
> index 2f1bd447..ec688764 100644
> --- a/libs/vkd3d-shader/hlsl.y
> +++ b/libs/vkd3d-shader/hlsl.y
> @@ -2137,7 +2137,6 @@ static bool add_method_call(struct hlsl_ctx *ctx, struct list *instrs, struct hl
>   %token KW_TEXTURE2DMS
>   %token KW_TEXTURE2DMSARRAY
>   %token KW_TEXTURE3D
> -%token KW_TEXTURE3DARRAY
>   %token KW_TEXTURECUBE
>   %token KW_TRUE
>   %token KW_TYPEDEF



More information about the wine-devel mailing list