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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user