From: Miklós Máté Date: Tue, 15 Dec 2015 23:05:41 +0000 (+0100) Subject: mesa: improve debug log in atifragshader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=555f67c3d717a52464b517cd6d9874468ab3bd92;p=mesa.git mesa: improve debug log in atifragshader Reviewed-by: Ian Romanick --- diff --git a/src/mesa/main/atifragshader.c b/src/mesa/main/atifragshader.c index 3ddc51d6069..8fcbff6a7a4 100644 --- a/src/mesa/main/atifragshader.c +++ b/src/mesa/main/atifragshader.c @@ -345,6 +345,9 @@ _mesa_BeginFragmentShaderATI(void) ctx->ATIFragmentShader.Current->isValid = GL_FALSE; ctx->ATIFragmentShader.Current->swizzlerq = 0; ctx->ATIFragmentShader.Compiling = 1; +#if MESA_DEBUG_ATI_FS + _mesa_debug(ctx, "%s %u\n", __func__, ctx->ATIFragmentShader.Current->Id); +#endif } void GLAPIENTRY