vkd3d-shader/hlsl: Add 'fxgroup' token.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2023-11-02 15:37:01 +01:00 committed by Alexandre Julliard
parent ffae369748
commit c3af1f9989
Notes: Alexandre Julliard 2024-01-11 23:13:27 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/443
5 changed files with 5 additions and 3 deletions

View File

@ -89,6 +89,7 @@ else {return KW_ELSE; }
extern {return KW_EXTERN; } extern {return KW_EXTERN; }
false {return KW_FALSE; } false {return KW_FALSE; }
for {return KW_FOR; } for {return KW_FOR; }
fxgroup {return KW_FXGROUP; }
GeometryShader {return KW_GEOMETRYSHADER; } GeometryShader {return KW_GEOMETRYSHADER; }
groupshared {return KW_GROUPSHARED; } groupshared {return KW_GROUPSHARED; }
if {return KW_IF; } if {return KW_IF; }

View File

@ -4888,6 +4888,7 @@ static void check_duplicated_switch_cases(struct hlsl_ctx *ctx, const struct hls
%token KW_EXTERN %token KW_EXTERN
%token KW_FALSE %token KW_FALSE
%token KW_FOR %token KW_FOR
%token KW_FXGROUP
%token KW_GEOMETRYSHADER %token KW_GEOMETRYSHADER
%token KW_GROUPSHARED %token KW_GROUPSHARED
%token KW_IF %token KW_IF

View File

@ -38,7 +38,7 @@ float4 main() : sv_target
return float4(0, 0, 0, 0); return float4(0, 0, 0, 0);
} }
[pixel shader fail todo] [pixel shader fail]
float4 main() : sv_target float4 main() : sv_target
{ {
float4 fxgroup = {0, 0, 0, 0}; float4 fxgroup = {0, 0, 0, 0};

View File

@ -9,7 +9,7 @@ float4 main() : sv_target
return teChnique; return teChnique;
} }
[pixel shader fail todo] [pixel shader fail]
float4 main() : sv_target float4 main() : sv_target
{ {
float4 fxgroup = {0, 0, 0, 0}; float4 fxgroup = {0, 0, 0, 0};

View File

@ -9,7 +9,7 @@ float4 main() : sv_target
return teChnique; return teChnique;
} }
[pixel shader fail todo] [pixel shader fail]
float4 main() : sv_target float4 main() : sv_target
{ {
float4 fxgroup = {0, 0, 0, 0}; float4 fxgroup = {0, 0, 0, 0};