summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vertex_fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex_fetch.c')
-rw-r--r--src/mesa/pipe/draw/draw_vertex_fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_fetch.c b/src/mesa/pipe/draw/draw_vertex_fetch.c
index 62e8d61be4..2b839d641e 100644
--- a/src/mesa/pipe/draw/draw_vertex_fetch.c
+++ b/src/mesa/pipe/draw/draw_vertex_fetch.c
@@ -99,6 +99,8 @@ void draw_vertex_fetch( struct draw_context *draw,
/*printf(" %u: %f %f %f %f\n", attr, p[0], p[1], p[2], p[3]);*/
+ /* Transform to AoS xxxx/yyyy/zzzz/wwww representation:
+ */
machine->Inputs[attr].xyzw[0].f[j] = p[0]; /*X*/
machine->Inputs[attr].xyzw[1].f[j] = p[1]; /*Y*/
machine->Inputs[attr].xyzw[2].f[j] = p[2]; /*Z*/