diff options
author | Marek Olšák <[email protected]> | 2014-11-08 15:30:54 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-11-16 01:28:24 +0100 |
commit | 717f2dd69fadc8ba07b0b8f4612f28a547fb7a4c (patch) | |
tree | 5490538ecff778b1037539e200e95f207f6cb22f /src/gallium/auxiliary/util/u_blitter.c | |
parent | ad54b01896c157757bb7440e82bd42bfc2b927a2 (diff) |
gallium/util: add a window_space option to the passthrough vertex shader
Tested-by: Nick Sarnie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_blitter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index e59fa04818c..5298603f775 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -319,7 +319,8 @@ static void bind_vs_pos_only(struct blitter_context_priv *ctx) ctx->vs_pos_only = util_make_vertex_passthrough_shader_with_so(pipe, 1, semantic_names, - semantic_indices, &so); + semantic_indices, FALSE, + &so); } pipe->bind_vs_state(pipe, ctx->vs_pos_only); @@ -335,7 +336,7 @@ static void bind_vs_passthrough(struct blitter_context_priv *ctx) const uint semantic_indices[] = { 0, 0 }; ctx->vs = util_make_vertex_passthrough_shader(pipe, 2, semantic_names, - semantic_indices); + semantic_indices, FALSE); } pipe->bind_vs_state(pipe, ctx->vs); |