summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt_post_vs.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2014-11-18 22:46:00 +0100
committerRoland Scheidegger <sroland@vmware.com>2014-11-19 18:35:30 +0100
commit4b6d6642d2c64ce67d65ead480fb99104a7e2d3a (patch)
treeacea1eac94a65c073a4545c0a15960d524a14b21 /src/gallium/auxiliary/draw/draw_pt_post_vs.c
parent9460cd39e8c74a6a8aba7e5c57bb4929ab135c29 (diff)
downloadexternal_mesa3d-4b6d6642d2c64ce67d65ead480fb99104a7e2d3a.tar.gz
external_mesa3d-4b6d6642d2c64ce67d65ead480fb99104a7e2d3a.tar.bz2
external_mesa3d-4b6d6642d2c64ce67d65ead480fb99104a7e2d3a.zip
draw: fixes for vertex shaders outputting layer or viewport index
Mostly add a couple cases so we don't just check gs for this. There's only one gotcha, the built-in vp transform in the llvm vs can't handle it (this would be fixable though non-trivial due to vp index being non-constant for the SoA outputs, but we don't use it if there's a gs neither - the whole clip/vp transform integration there is suboptimal). Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_post_vs.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_post_vs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_post_vs.c b/src/gallium/auxiliary/draw/draw_pt_post_vs.c
index 9279cd1761..71a7d3918e 100644
--- a/src/gallium/auxiliary/draw/draw_pt_post_vs.c
+++ b/src/gallium/auxiliary/draw/draw_pt_post_vs.c
@@ -117,7 +117,7 @@ dot4(const float *a, const float *b)
boolean draw_pt_post_vs_run( struct pt_post_vs *pvs,
- struct draw_vertex_info *info,
+ struct draw_vertex_info *info,
const struct draw_prim_info *prim_info )
{
return pvs->run( pvs, info, prim_info );