[Mesa-dev] [PATCH 08/11] mesa: improve debug log in atifragshader
Ian Romanick
idr at freedesktop.org
Tue Dec 15 17:30:13 PST 2015
This patch is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Assuming there are no objections, I'll push this in 24 hours.
On 12/15/2015 03:05 PM, Miklós Máté wrote:
> ---
> 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
>
More information about the mesa-dev
mailing list