vkd3d-shader/hlsl: Rename rule for top-level techniques.

Only technique10 and technique11 types could be nested in groups.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2023-11-05 14:29:53 +01:00 committed by Alexandre Julliard
parent c3af1f9989
commit 8494342fa0
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

View File

@ -5095,7 +5095,7 @@ hlsl_prog:
destroy_block($2);
}
| hlsl_prog preproc_directive
| hlsl_prog technique
| hlsl_prog global_technique
| hlsl_prog ';'
technique_name:
@ -5134,7 +5134,7 @@ technique11:
hlsl_fixme(ctx, &@$, "Unsupported \'technique11\' declaration.");
}
technique:
global_technique:
technique9
| technique10
| technique11