diff options
author | Miklós Máté <[email protected]> | 2015-12-16 00:05:41 +0100 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-12-17 12:09:58 -0800 |
commit | 555f67c3d717a52464b517cd6d9874468ab3bd92 (patch) | |
tree | 71677ec542b49a0e63030969cf13b904d71a510d /src/mesa/main/atifragshader.c | |
parent | 5150d56ec43e3081a8a2e114d2ff7be347749c4b (diff) |
mesa: improve debug log in atifragshader
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/atifragshader.c')
-rw-r--r-- | src/mesa/main/atifragshader.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |