From b6ef417e71eb8fbf0562b232cd7bc60a89d21d3c Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 2 Jun 2025 00:51:01 +0200 Subject: [PATCH] vkd3d-shader/fx: Handle bool types when parsing fx_2_0 assignment values. --- libs/vkd3d-shader/fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/fx.c b/libs/vkd3d-shader/fx.c index dfb742475..90da8048b 100644 --- a/libs/vkd3d-shader/fx.c +++ b/libs/vkd3d-shader/fx.c @@ -3986,7 +3986,7 @@ static void fx_parse_fx_2_assignment(struct fx_parser *parser, const struct fx_a } else if (state) { - if (state->type == FX_UINT || state->type == FX_FLOAT) + if (state->type == FX_UINT || state->type == FX_FLOAT || state->type == FX_BOOL) { uint32_t offset = entry->type, base_type; unsigned int size;