Skip to content
Commit 8f8b5c0a authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen Committed by Andres Gomez
Browse files

spirv: Fix loading an entire block at once.

There is no chain, so  checking the length ends with a SEGFAULT.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103579


Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit b926da24)
[Andres Gomez: 16 bits types and vtn_assert/fail not yet in 17.2]
Signed-off-by: default avatarAndres Gomez <agomez@igalia.com>

Conflicts:
	src/compiler/spirv/vtn_variables.c
parent 2e659380
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment