[Mesa-dev] [PATCH 08/11] mesa: improve debug log in atifragshader

Miklós Máté mtmkls at gmail.com
Tue Dec 15 15:05:41 PST 2015


---
 src/mesa/main/atifragshader.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mesa/main/atifragshader.c b/src/mesa/main/atifragshader.c
index d1c07c5..8b19a35 100644
--- a/src/mesa/main/atifragshader.c
+++ b/src/mesa/main/atifragshader.c
@@ -349,6 +349,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
-- 
2.6.4



More information about the mesa-dev mailing list