summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-03 21:41:59 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-03 21:42:28 +0100
commit036b90f099af21e60fb4c3684616daf1927f705e (patch)
treecf9856ef2eeded6c72e75ef7516ec4765f594e09
parent05dcc5f1699ba90fc14c50882e8d4be89bc4a4f9 (diff)
sna/gen7: Correct number of texture coordinates used for video
Fixes regresion from commit 33c028f8be829caa4fdb9416ff177dc71f24b68e Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Aug 1 01:17:50 2012 +0100 sna/gen6+: Reduce floats-per-vertex for spans Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen7_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index b4a92235..9ef5e17c 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -2086,7 +2086,7 @@ gen7_render_video(struct sna *sna,
is_planar_fourcc(frame->id) ?
GEN7_WM_KERNEL_VIDEO_PLANAR :
GEN7_WM_KERNEL_VIDEO_PACKED,
- 1);
+ 2);
tmp.priv = frame;
kgem_set_mode(&sna->kgem, KGEM_RENDER);