From 65ef78e8611556780fce0bee1feba805347ec627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 17 Nov 2014 22:30:31 +0100 Subject: draw: implement TGSI_PROPERTY_VS_WINDOW_SPACE_POSITION Required by Nine. Tested with util_run_tests. It's added to softpipe, llvmpipe, and r300g/swtcl. Tested-by: David Heidelberg --- src/gallium/auxiliary/draw/draw_vs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/auxiliary/draw/draw_vs.c') diff --git a/src/gallium/auxiliary/draw/draw_vs.c b/src/gallium/auxiliary/draw/draw_vs.c index f24354e..1501942 100644 --- a/src/gallium/auxiliary/draw/draw_vs.c +++ b/src/gallium/auxiliary/draw/draw_vs.c @@ -122,6 +122,8 @@ draw_bind_vertex_shader(struct draw_context *draw, draw->vs.clipdistance_output[0] = dvs->clipdistance_output[0]; draw->vs.clipdistance_output[1] = dvs->clipdistance_output[1]; dvs->prepare( dvs, draw ); + draw_update_clip_flags(draw); + draw_update_viewport_flags(draw); } else { draw->vs.vertex_shader = NULL; -- cgit v1.1