Mesa (master): mesa/teximage: show internal format when printing verbose api log
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jan 11 16:16:22 UTC 2021
Module: Mesa
Branch: master
Commit: 8f5fb14d685c4b88973d126d7a90e3a0abac2e68
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f5fb14d685c4b88973d126d7a90e3a0abac2e68
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri Jan 8 13:37:45 2021 -0500
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 at alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8405>
---
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
More information about the mesa-commit
mailing list