summaryrefslogtreecommitdiff
path: root/src/mesa/slang/slang_label.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-08-20 10:52:14 -0700
committerEric Anholt <eric@anholt.net>2010-08-20 10:55:42 -0700
commit284ce20901b0c2cfab1d952cc129b8f3cd068f12 (patch)
treefb245e2b41adaad79b01d54aa288943466304b21 /src/mesa/slang/slang_label.h
parenta4b10a56145ea253def4cf958410d770d0640bc9 (diff)
Remove remnants of the old glsl compiler.
Diffstat (limited to 'src/mesa/slang/slang_label.h')
-rw-r--r--src/mesa/slang/slang_label.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/mesa/slang/slang_label.h b/src/mesa/slang/slang_label.h
deleted file mode 100644
index b0cff3a8e8..0000000000
--- a/src/mesa/slang/slang_label.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef SLANG_LABEL_H
-#define SLANG_LABEL_H 1
-
-#include "main/glheader.h"
-
-struct gl_program;
-
-struct slang_label_
-{
- char *Name;
- GLint Location;
- /**
- * List of instruction references (numbered starting at zero) which need
- * their BranchTarget field filled in with the location eventually
- * assigned to the label.
- */
- GLuint NumReferences;
- GLuint *References; /** Array [NumReferences] */
-};
-
-typedef struct slang_label_ slang_label;
-
-
-extern slang_label *
-_slang_label_new(const char *name);
-
-extern slang_label *
-_slang_label_new_unique(const char *name);
-
-extern void
-_slang_label_delete(slang_label *l);
-
-extern void
-_slang_label_add_reference(slang_label *l, GLuint inst);
-
-extern GLint
-_slang_label_get_location(const slang_label *l);
-
-extern void
-_slang_label_set_location(slang_label *l, GLint location,
- struct gl_program *prog);
-
-
-#endif /* SLANG_LABEL_H */