vkd3d-shader/hlsl: Use case-insensitive match for the "technique" keyword.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2023-11-01 22:16:47 +01:00 committed by Alexandre Julliard
parent ea8ff5394c
commit 53b0101a53
Notes: Alexandre Julliard 2023-11-02 22:50:16 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/437
4 changed files with 5 additions and 5 deletions

View File

@ -131,7 +131,7 @@ string {return KW_STRING; }
struct {return KW_STRUCT; }
switch {return KW_SWITCH; }
tbuffer {return KW_TBUFFER; }
technique {return KW_TECHNIQUE; }
(?i:technique) {return KW_TECHNIQUE; }
technique10 {return KW_TECHNIQUE10; }
technique11 {return KW_TECHNIQUE11; }
texture {return KW_TEXTURE; }

View File

@ -1,7 +1,7 @@
[require]
shader model < 3.0
[pixel shader fail todo]
[pixel shader fail]
float4 main() : sv_target
{
float4 teChnique = {0, 0, 0, 0};
@ -30,7 +30,7 @@ float4 main() : sv_target
return float4(0, 0, 0, 0);
}
[pixel shader fail todo]
[pixel shader fail]
typedef float4 Technique;
float4 main() : sv_target

View File

@ -2,7 +2,7 @@
shader model >= 4.0
shader model < 6.0
[pixel shader fail todo]
[pixel shader fail]
float4 main() : sv_target
{
float4 teChnique = {0, 0, 0, 0};

View File

@ -2,7 +2,7 @@
shader model >= 5.0
shader model < 6.0
[pixel shader fail todo]
[pixel shader fail]
float4 main() : sv_target
{
float4 teChnique = {0, 0, 0, 0};