From 8f5fb14d685c4b88973d126d7a90e3a0abac2e68 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 8 Jan 2021 13:37:45 -0500 Subject: [PATCH] mesa/teximage: show internal format when printing verbose api log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This would have saved me some time to determine that the problem was coming from lack of RGBA32F / 8x MSAA support on nv50. Signed-off-by: Ilia Mirkin Reviewed-by: Marek Olšák Part-of: --- src/mesa/main/teximage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 40313d8eb09..5b7c96ab561 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -6735,8 +6735,8 @@ texture_image_multisample(struct gl_context *ctx, GLuint dims, bool dsa = strstr(func, "ture") ? true : false; if (MESA_VERBOSE & (VERBOSE_API|VERBOSE_TEXTURE)) { - _mesa_debug(ctx, "%s(target=%s, samples=%d)\n", func, - _mesa_enum_to_string(target), samples); + _mesa_debug(ctx, "%s(target=%s, samples=%d, internalformat=%s)\n", func, + _mesa_enum_to_string(target), samples, _mesa_enum_to_string(internalformat)); } if (!((ctx->Extensions.ARB_texture_multisample