mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Use case-insensitive match for the "technique" keyword.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
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
@ -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; }
|
||||
|
@ -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
|
||||
|
@ -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};
|
||||
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user