Module: Mesa
Branch: master
Commit: 555f67c3d717a52464b517cd6d9874468ab3bd92
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=555f67c3d717a52464b517cd6d9874468ab3bd92

Author: Miklós Máté <[email protected]>
Date:   Wed Dec 16 00:05:41 2015 +0100

mesa: improve debug log in atifragshader

Reviewed-by: Ian Romanick <[email protected]>

---

 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 3ddc51d..8fcbff6 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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to