Nikolay Sivov : vkd3d-shader/hlsl: Rename rule for top-level techniques.
Module: vkd3d Branch: master Commit: 8494342fa0a755d0b95873aedd0532d67ff2cdd6 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/8494342fa0a755d0b95873aedd0532... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Sun Nov 5 14:29:53 2023 +0100 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(a)codeweavers.com> --- libs/vkd3d-shader/hlsl.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vkd3d-shader/hlsl.y b/libs/vkd3d-shader/hlsl.y index 9049d23e..d1dd846c 100644 --- a/libs/vkd3d-shader/hlsl.y +++ b/libs/vkd3d-shader/hlsl.y @@ -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
participants (1)
-
Alexandre Julliard