[Mesa-dev] [PATCH 3/4] st/mesa: remove unused/broken function st_print_shaders
Michel Dänzer
michel at daenzer.net
Mon Feb 23 20:06:28 PST 2015
On 24.02.2015 05:02, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
> src/mesa/state_tracker/st_program.c | 45 -------------------------------------
> src/mesa/state_tracker/st_program.h | 4 ----
> 2 files changed, 49 deletions(-)
>
> diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
> index ec123fb..744543f 100644
> --- a/src/mesa/state_tracker/st_program.c
> +++ b/src/mesa/state_tracker/st_program.c
> @@ -1219,51 +1219,6 @@ st_get_gp_variant(struct st_context *st,
> }
>
>
> -
> -
> -/**
> - * Debug- print current shader text
> - */
> -void
> -st_print_shaders(struct gl_context *ctx)
I think the idea is to be able to call this function from a debugger.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list