mesa/teximage: show internal format when printing verbose api log

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 <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8405>
This commit is contained in:
Ilia Mirkin
2021-01-08 13:37:45 -05:00
committed by Marge Bot
parent 7d44ba7217
commit 8f5fb14d68
+2 -2
View File
@@ -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