diff options
author | Keith Whitwell <[email protected]> | 2008-05-27 12:26:23 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-05-27 12:26:23 +0100 |
commit | a08c574bfcf72c7f7ffbeb35c10347b491ef87fb (patch) | |
tree | d461dd17249bcabd02627f5393f2145336fdfb03 /src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c | |
parent | 50c1d329b95ad78e03ca4d537daee4d11f308c7a (diff) |
draw: hook up viewport / rhw emit to varient key state
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 | 4 |
1 files changed, 2 insertions, 2 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 7fefd391a6a..2f2e7195b3f 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c @@ -94,8 +94,8 @@ static void fse_prepare( struct draw_pt_middle_end *middle, fse->key.nr_elements = MAX2(num_vs_outputs, /* outputs - translate to hw format */ num_vs_inputs); /* inputs - fetch from api format */ - fse->key.viewport = 1; - fse->key.clip = 0; + fse->key.viewport = !draw->identity_viewport; + fse->key.clip = !draw->bypass_clipping; fse->key.pad = 0; memset(fse->key.element, 0, |