From bb1f0969756fbb827c4b2520c632daa15342b064 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 13 Nov 2013 13:41:28 -0800 Subject: mesa: Remove PROGRAM_ENV_PARAM enum. This has been replaced with referring to env parameters using PROGRAM_STATE_VAR and _mesa_load_state_parameters. Reviewed-by: Brian Paul Reviewed-by: Ian Romanick --- src/mesa/program/prog_print.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mesa/program/prog_print.c') diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index e503cb62bb6..fa120cc5e3a 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -50,8 +50,6 @@ _mesa_register_file_name(gl_register_file f) switch (f) { case PROGRAM_TEMPORARY: return "TEMP"; - case PROGRAM_ENV_PARAM: - return "ENV"; case PROGRAM_STATE_VAR: return "STATE"; case PROGRAM_INPUT: @@ -380,9 +378,6 @@ reg_string(gl_register_file f, GLint index, gl_prog_print_mode mode, case PROGRAM_TEMPORARY: sprintf(str, "temp%d", index); break; - case PROGRAM_ENV_PARAM: - sprintf(str, "program.env[%s%d]", addr, index); - break; case PROGRAM_CONSTANT: /* extension */ sprintf(str, "constant[%s%d]", addr, index); break; -- cgit v1.2.3