mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Process 'texture' as a valid stateblock lhs.
This commit is contained in:
parent
125bf74ef3
commit
f47d523e0b
Notes:
Henri Verbeet
2024-10-02 22:37:40 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1112
@ -7796,6 +7796,11 @@ stateblock_lhs_identifier:
|
|||||||
if (!($$ = hlsl_strdup(ctx, "pixelshader")))
|
if (!($$ = hlsl_strdup(ctx, "pixelshader")))
|
||||||
YYABORT;
|
YYABORT;
|
||||||
}
|
}
|
||||||
|
| KW_TEXTURE
|
||||||
|
{
|
||||||
|
if (!($$ = hlsl_strdup(ctx, "texture")))
|
||||||
|
YYABORT;
|
||||||
|
}
|
||||||
| KW_VERTEXSHADER
|
| KW_VERTEXSHADER
|
||||||
{
|
{
|
||||||
if (!($$ = hlsl_strdup(ctx, "vertexshader")))
|
if (!($$ = hlsl_strdup(ctx, "vertexshader")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user