mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
main: Add MESA_VERBOSE=api support for glTexImage
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
0035f7f136
commit
9a1f950bef
1 changed files with 5 additions and 0 deletions
|
|
@ -5341,6 +5341,11 @@ texture_image_multisample(struct gl_context *ctx, GLuint dims,
|
|||
GLenum sample_count_error;
|
||||
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);
|
||||
}
|
||||
|
||||
if (!((ctx->Extensions.ARB_texture_multisample
|
||||
&& _mesa_is_desktop_gl(ctx))) && !_mesa_is_gles31(ctx)) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "%s(unsupported)", func);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue