summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vertex.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-23 23:08:59 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-23 23:08:59 -0700
commit6000dcc973cdc1bd61621b432aed27d21059ae5d (patch)
treeb0995cac257f0da72d4e844da4a4b623ffbeef83 /src/mesa/pipe/draw/draw_vertex.h
parentdc1abc393206c3eb00e7cca60ce3499c993bc1f6 (diff)
gallium: improved vertex layout and interpolant setup in softpipe
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex.h')
-rw-r--r--src/mesa/pipe/draw/draw_vertex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex.h b/src/mesa/pipe/draw/draw_vertex.h
index e76a17c198..7e9d8abcce 100644
--- a/src/mesa/pipe/draw/draw_vertex.h
+++ b/src/mesa/pipe/draw/draw_vertex.h
@@ -36,6 +36,7 @@
/**
* Vertex attribute format
+ * XXX rename to "EMIT"
*/
enum attrib_format {
FORMAT_OMIT, /**< don't emit the attribute */
@@ -54,6 +55,7 @@ enum attrib_format {
*/
enum interp_mode {
INTERP_NONE, /**< never interpolate vertex header info */
+ INTERP_POS, /**< special case for frag position */
INTERP_CONSTANT,
INTERP_LINEAR,
INTERP_PERSPECTIVE