[PATCH vkd3d 4/5] vkd3d-shader/hlsl: Lex the SamplerState keyword.

Giovanni Mascellani gmascellani at codeweavers.com
Tue Nov 2 09:05:29 CDT 2021


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

On 02/11/21 01:43, Zebediah Figura wrote:
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
>   libs/vkd3d-shader/hlsl.l | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/libs/vkd3d-shader/hlsl.l b/libs/vkd3d-shader/hlsl.l
> index 762a8a026..caf8fe8f9 100644
> --- a/libs/vkd3d-shader/hlsl.l
> +++ b/libs/vkd3d-shader/hlsl.l
> @@ -109,6 +109,7 @@ sampler3D               {return KW_SAMPLER3D;           }
>   samplerCUBE             {return KW_SAMPLERCUBE;         }
>   sampler_state           {return KW_SAMPLER_STATE;       }
>   SamplerComparisonState  {return KW_SAMPLERCOMPARISONSTATE;}
> +SamplerState            {return KW_SAMPLER;             }
>   shared                  {return KW_SHARED;              }
>   stateblock              {return KW_STATEBLOCK;          }
>   stateblock_state        {return KW_STATEBLOCK_STATE;    }
> 



More information about the wine-devel mailing list