From 063d35b82975c82a8042dc4961300eee62bb4a9d Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 9 May 2025 15:52:20 -0400 Subject: [PATCH] vtn: ignore SpvDecorationFPFastMathMode This is just a hint as far as I can tell. We're allowed to ignore it (as we do), we just shouldn't be warning about it. This quiets piles of annoying SPIR-V warnings when running CTS. SPIR-V WARNING: In file ../src/compiler/spirv/vtn_cfg.c:144 Function parameter Decoration not handled: SpvDecorationFPFastMathMode 1340 bytes into the SPIR-V binary Signed-off-by: Alyssa Rosenzweig Reviewed-by: Adam Jackson Part-of: --- src/compiler/spirv/vtn_cfg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/spirv/vtn_cfg.c b/src/compiler/spirv/vtn_cfg.c index 595171261f1..45513649aa8 100644 --- a/src/compiler/spirv/vtn_cfg.c +++ b/src/compiler/spirv/vtn_cfg.c @@ -137,6 +137,7 @@ function_parameter_decoration_cb(struct vtn_builder *b, struct vtn_value *val, case SpvDecorationUniform: case SpvDecorationUniformId: case SpvDecorationVolatile: + case SpvDecorationFPFastMathMode: break; default: