diff options
author | Paul Berry <[email protected]> | 2012-06-12 10:44:10 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-06-15 08:58:54 -0700 |
commit | 75f409d75cacf90df2d6f1d718251a5d5cd92f7f (patch) | |
tree | 7bfbceb2077bd5380832932ca9a7692591f5a2c8 /src/glsl/ir.cpp | |
parent | 4d9f263d7c8fc2213c369c73c86aa39f9d8659be (diff) |
i965/blorp: Implement source clipping.
This patch modifies blorp blits (which are used for MSAA) to properly
account for clipping of source coordinates. Previously, if we
detected the possibility of source clipping, we would fall back to the
blit meta-op, which doesn't support MSAA and is very slow for depth
and stencil buffers.
Fixes piglit tests
"EXT_framebuffer_multisample/clip-and-scissor-blit" on i965/Gen6+.
Also substantially speeds up the Humble Bundle V game "Psychonauts" on
Gen6+ (without this patch, the game's depth buffer blits use the slow
blit meta-op).
Reviewed-by: Carl Worth <[email protected]>
Diffstat (limited to 'src/glsl/ir.cpp')
0 files changed, 0 insertions, 0 deletions