summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_parameter.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-24 21:45:40 -0700
committerEric Anholt <[email protected]>2010-08-25 12:38:32 -0700
commitb5c07b9226d8e7de78f6367b5799b39caf820ef3 (patch)
treeae40b7c697ffde9fa8ebcac7ca8e9ca54d80305f /src/mesa/program/prog_parameter.h
parentaa452e20bff9aea2ecb994c9f7b413b0726a04f3 (diff)
mesa: Remove now-unused _mesa_add_sampler().
We do the generation of "what sampler number within Parameters are we" right in ir_to_mesa.cpp, instead of repeatedly walking the existing list to find out.
Diffstat (limited to 'src/mesa/program/prog_parameter.h')
-rw-r--r--src/mesa/program/prog_parameter.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h
index b3b11a9536e..10cbbe57a6c 100644
--- a/src/mesa/program/prog_parameter.h
+++ b/src/mesa/program/prog_parameter.h
@@ -131,10 +131,6 @@ _mesa_add_unnamed_constant(struct gl_program_parameter_list *paramList,
GLuint *swizzleOut);
extern GLint
-_mesa_add_sampler(struct gl_program_parameter_list *paramList,
- const char *name, GLenum datatype, int array_length);
-
-extern GLint
_mesa_add_varying(struct gl_program_parameter_list *paramList,
const char *name, GLuint size, GLenum datatype,
GLbitfield flags);