summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_statevars.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-16 16:19:22 +0100
committerMarek Olšák <[email protected]>2018-02-13 01:00:45 +0100
commit6b1e26e181fbe7fd64b42a0b77f80535be4d7690 (patch)
tree93674f363d34126642d83d924a50cae23c83a15d /src/mesa/program/prog_statevars.h
parentf4ea2b2a9e99d93fbf36c3f0e5f6f384be3cdb89 (diff)
mesa: move STATE_LENGTH to shader_enums.h and use it everywhere
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_statevars.h')
-rw-r--r--src/mesa/program/prog_statevars.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/program/prog_statevars.h b/src/mesa/program/prog_statevars.h
index 6d3cc94a029..6cb3531233c 100644
--- a/src/mesa/program/prog_statevars.h
+++ b/src/mesa/program/prog_statevars.h
@@ -37,12 +37,6 @@ extern "C" {
struct gl_context;
struct gl_program_parameter_list;
-/**
- * Number of STATE_* values we need to address any GL state.
- * Used to dimension arrays.
- */
-#define STATE_LENGTH 5
-
/**
* Used for describing GL state referenced from inside ARB vertex and