diff options
author | Marek Olšák <marek.olsak@amd.com> | 2014-11-17 22:30:31 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2014-12-09 12:27:10 +0100 |
commit | 65ef78e8611556780fce0bee1feba805347ec627 (patch) | |
tree | 0d21c6dcb99e0baac9606af974663c325a9acc39 /src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | |
parent | 6cc72511850961eba408a44f648c7067b6e68594 (diff) | |
download | external_mesa3d-65ef78e8611556780fce0bee1feba805347ec627.zip external_mesa3d-65ef78e8611556780fce0bee1feba805347ec627.tar.gz external_mesa3d-65ef78e8611556780fce0bee1feba805347ec627.tar.bz2 |
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 <david@ixit.cz>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c index c675321..50f438c 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c @@ -95,7 +95,7 @@ fse_prepare(struct draw_pt_middle_end *middle, fse->key.nr_elements = MAX2(fse->key.nr_outputs, /* outputs - translate to hw format */ fse->key.nr_inputs); /* inputs - fetch from api format */ - fse->key.viewport = !draw->identity_viewport; + fse->key.viewport = !draw->bypass_viewport; fse->key.clip = draw->clip_xy || draw->clip_z || draw->clip_user; fse->key.const_vbuffers = 0; |