From 3350bca3ebce533ac03fb385b5071c269727013f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 21 Jan 2026 17:35:52 -0500 Subject: [PATCH] nir/print: fix a crash due to unhandled GLSL_SAMPLER_DIM_EXTERNAL Reviewed-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Georg Lehmann Part-of: --- src/compiler/nir/nir_print.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index 5c9c90582f1..307ff3d7167 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -1233,6 +1233,7 @@ static const char *sampler_dim_name[] = { [GLSL_SAMPLER_DIM_CUBE] = "Cube", [GLSL_SAMPLER_DIM_RECT] = "Rect", [GLSL_SAMPLER_DIM_BUF] = "Buf", + [GLSL_SAMPLER_DIM_EXTERNAL] = "External", [GLSL_SAMPLER_DIM_MS] = "2D-MSAA", [GLSL_SAMPLER_DIM_SUBPASS] = "Subpass", [GLSL_SAMPLER_DIM_SUBPASS_MS] = "Subpass-MSAA",