From b77eca8a956e75665e609c836c102d862e90c084 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Mon, 26 Aug 2024 00:34:31 +0200 Subject: [PATCH] vtn: mark ImageMipmap as supported The SPIRV-LLVM-Translator seems to also set that cap for MSAA cl images, but it looks like it works just fine in regards to LODs as well. Reviewed-by: Faith Ekstrand Reviewed-by: Jesse Natalie Part-of: --- src/compiler/spirv/spirv_to_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 5b9df6ea77b..cadd4f42fc5 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -103,6 +103,7 @@ static const struct spirv_capabilities implemented_capabilities = { .ImageCubeArray = true, .ImageGatherBiasLodAMD = true, .ImageGatherExtended = true, + .ImageMipmap = true, .ImageMSArray = true, .ImageQuery = true, .ImageReadWrite = true,