diff options
author | Brian Paul <[email protected]> | 2010-01-15 12:06:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-15 12:06:00 -0700 |
commit | fdfe06ad804ea13e6e436d66c1bcafe0bde2f545 (patch) | |
tree | 4704a0b0373725250c5766daa9bf426eb1c6c9a0 /src/gallium/drivers/llvmpipe/lp_setup.c | |
parent | adb48d535082f5a311751e1866997e381b2d3038 (diff) |
llvmpipe: implement scissor test in triangle setup
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 355c0518372..f52dce65d74 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -339,13 +339,15 @@ lp_setup_fence( struct setup_context *setup ) void lp_setup_set_triangle_state( struct setup_context *setup, unsigned cull_mode, - boolean ccw_is_frontface) + boolean ccw_is_frontface, + boolean scissor ) { LP_DBG(DEBUG_SETUP, "%s\n", __FUNCTION__); setup->ccw_is_frontface = ccw_is_frontface; setup->cullmode = cull_mode; setup->triangle = first_triangle; + setup->scissor_test = scissor; } |