summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_vertex_buffers.h
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2011-04-02 12:05:22 +0200
committerChristian König <deathsimple@vodafone.de>2011-04-02 12:05:22 +0200
commit794cde3f5ef59cf603be284fbc8de33d2cda7d2c (patch)
tree0c7bf5a5a1dbf1244b42ca10a16ca0def657a756 /src/gallium/auxiliary/vl/vl_vertex_buffers.h
parent4de5d81638a79fbd74eca63723f6f09727bf4b60 (diff)
downloadexternal_mesa3d-794cde3f5ef59cf603be284fbc8de33d2cda7d2c.zip
external_mesa3d-794cde3f5ef59cf603be284fbc8de33d2cda7d2c.tar.gz
external_mesa3d-794cde3f5ef59cf603be284fbc8de33d2cda7d2c.tar.bz2
[g3dvl] splitt vertex element state into y, cb, cr
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_vertex_buffers.h')
-rw-r--r--src/gallium/auxiliary/vl/vl_vertex_buffers.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.h b/src/gallium/auxiliary/vl/vl_vertex_buffers.h
index 88e0270..837d8bd 100644
--- a/src/gallium/auxiliary/vl/vl_vertex_buffers.h
+++ b/src/gallium/auxiliary/vl/vl_vertex_buffers.h
@@ -41,14 +41,12 @@ enum VS_INPUT
{
VS_I_RECT,
VS_I_VPOS,
- VS_I_EB_0_0,
- VS_I_EB_0_1,
- VS_I_EB_1_0,
- VS_I_EB_1_1,
- VS_I_MV0,
- VS_I_MV1,
- VS_I_MV2,
- VS_I_MV3,
+ VS_I_EB,
+ VS_I_FLAGS,
+ VS_I_MV0_TOP,
+ VS_I_MV0_BOTTOM,
+ VS_I_MV1_TOP,
+ VS_I_MV1_BOTTOM,
NUM_VS_INPUTS
};
@@ -67,7 +65,7 @@ struct vl_vertex_buffer
struct pipe_vertex_buffer vl_vb_upload_quads(struct pipe_context *pipe,
unsigned blocks_x, unsigned blocks_y);
-void *vl_vb_get_elems_state(struct pipe_context *pipe, bool include_mvs);
+void *vl_vb_get_elems_state(struct pipe_context *pipe, int component);
struct pipe_vertex_buffer vl_vb_init(struct vl_vertex_buffer *buffer,
struct pipe_context *pipe,