diff options
author | Roland Scheidegger <[email protected]> | 2013-12-13 01:09:35 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-12-14 17:11:03 +0100 |
commit | bfcf1ba1c4879102eb05460528b02a23d81eac99 (patch) | |
tree | ae941530f1853f31240d3d328b1f6eac9b4ca259 /src/gallium/drivers/llvmpipe/lp_setup.c | |
parent | 35f0aafaa4781cc0ad0cc9092cca7af79b3f9743 (diff) |
llvmpipe: (trivial) get rid of triangle subdivision code
This code was always problematic, and with 64bit rasterization we no longer
need it at all.
Reviewed-by: Zack Rusin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 49962af7bb2..2fad469d197 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -1081,14 +1081,8 @@ try_update_scene_state( struct lp_setup_context *setup ) &setup->draw_regions[i]); } } - /* - * Subdivide triangles if the framebuffer is larger than the - * MAX_FIXED_LENGTH. - */ - setup->subdivide_large_triangles = (setup->fb.width > MAX_FIXED_LENGTH || - setup->fb.height > MAX_FIXED_LENGTH); } - + setup->dirty = 0; assert(setup->fs.stored); |