summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_atifragshader.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-02-28 12:36:02 -0800
committerEric Anholt <[email protected]>2014-04-15 14:34:06 -0700
commitb702233f53d6de50943fa0b81e1def8f879ab644 (patch)
tree475fa46ca2918d4504e2ea7ca9b416aca446f803 /src/mesa/swrast/s_atifragshader.c
parent4e43299633691f15e09e52d38b7a55444c632c3d (diff)
meta: Refactor the BlitFramebuffer color CopyTexImage fallback.
There shouldn't be anything special about copying out a subset of the src rb to a temp before texturing from it, so just do it when we're figuring out our src texture binding. This drops Anuj's change to copy an extra border of 1 pixel around the src area. I can't see how that change could be valid, and presumably if there's some filtering problem at edges we just need to set the right wrap mode. v2: Don't fall back to swrast on non-2D/RECT/2D_MS textures when we can still CopyTexSubImage. Fixes a segfault regression on i965 with gl-3.2-layered-rendering-blit. Reviewed-by: Ian Romanick <[email protected]> (v1) Reviewed-by: Kenneth Graunke <[email protected]> (v1) Tested-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_atifragshader.c')
0 files changed, 0 insertions, 0 deletions