From 8494342fa0a755d0b95873aedd0532d67ff2cdd6 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 5 Nov 2023 14:29:53 +0100 Subject: [PATCH] vkd3d-shader/hlsl: Rename rule for top-level techniques. Only technique10 and technique11 types could be nested in groups. Signed-off-by: Nikolay Sivov --- 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