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 <alyssa@rosenzweig.io>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34909>
This commit is contained in:
Alyssa Rosenzweig 2025-05-09 15:52:20 -04:00
parent 52cc6c101f
commit 063d35b829

View file

@ -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: