mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Add keyword tokens for fx_5_0 shader object types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
5082893e5d
commit
5edbccd33b
Notes:
Alexandre Julliard
2024-03-06 23:29:49 +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/676
@ -76,6 +76,7 @@ case {return KW_CASE; }
|
||||
cbuffer {return KW_CBUFFER; }
|
||||
centroid {return KW_CENTROID; }
|
||||
column_major {return KW_COLUMN_MAJOR; }
|
||||
ComputeShader {return KW_COMPUTESHADER; }
|
||||
compile {return KW_COMPILE; }
|
||||
const {return KW_CONST; }
|
||||
continue {return KW_CONTINUE; }
|
||||
@ -83,6 +84,7 @@ DepthStencilState {return KW_DEPTHSTENCILSTATE; }
|
||||
DepthStencilView {return KW_DEPTHSTENCILVIEW; }
|
||||
default {return KW_DEFAULT; }
|
||||
discard {return KW_DISCARD; }
|
||||
DomainShader {return KW_DOMAINSHADER; }
|
||||
do {return KW_DO; }
|
||||
double {return KW_DOUBLE; }
|
||||
else {return KW_ELSE; }
|
||||
@ -92,6 +94,7 @@ for {return KW_FOR; }
|
||||
fxgroup {return KW_FXGROUP; }
|
||||
GeometryShader {return KW_GEOMETRYSHADER; }
|
||||
groupshared {return KW_GROUPSHARED; }
|
||||
HullShader {return KW_HULLSHADER; }
|
||||
if {return KW_IF; }
|
||||
in {return KW_IN; }
|
||||
inline {return KW_INLINE; }
|
||||
|
@ -5243,6 +5243,7 @@ static void validate_uav_type(struct hlsl_ctx *ctx, enum hlsl_sampler_dim dim,
|
||||
%token KW_CENTROID
|
||||
%token KW_COLUMN_MAJOR
|
||||
%token KW_COMPILE
|
||||
%token KW_COMPUTESHADER
|
||||
%token KW_CONST
|
||||
%token KW_CONTINUE
|
||||
%token KW_DEFAULT
|
||||
@ -5250,6 +5251,7 @@ static void validate_uav_type(struct hlsl_ctx *ctx, enum hlsl_sampler_dim dim,
|
||||
%token KW_DEPTHSTENCILVIEW
|
||||
%token KW_DISCARD
|
||||
%token KW_DO
|
||||
%token KW_DOMAINSHADER
|
||||
%token KW_DOUBLE
|
||||
%token KW_ELSE
|
||||
%token KW_EXTERN
|
||||
@ -5258,6 +5260,7 @@ static void validate_uav_type(struct hlsl_ctx *ctx, enum hlsl_sampler_dim dim,
|
||||
%token KW_FXGROUP
|
||||
%token KW_GEOMETRYSHADER
|
||||
%token KW_GROUPSHARED
|
||||
%token KW_HULLSHADER
|
||||
%token KW_IF
|
||||
%token KW_IN
|
||||
%token KW_INLINE
|
||||
|
Loading…
Reference in New Issue
Block a user