diff options
author | Eric Anholt <[email protected]> | 2008-11-21 17:09:47 +0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-11-21 17:35:33 +0800 |
commit | 3e0164aabb48a99fce58964cad99fd3978ee84f6 (patch) | |
tree | 351bf921dd35ee641a601ee67cfdc5b4183f2bc1 /progs/glsl/fragcoord.c | |
parent | a6aa926e3f0b6237679db0d3331690d2a96adbc2 (diff) |
i965: Add support for accelerated CopyTexSubImage.
There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after
the offsets had been adjusted for a negative pitch. It appears that those
hacks were due to an unclear and surprising aspect of the hardware: inverting
the pitch results in the blit into the specified rectangle being inverted,
without the user needing to adjust y and base offset.
Tested with piglit copytexsubimage test on 915GM and GM965. Should fix
serious performance issues with ETQW and other applications.
Diffstat (limited to 'progs/glsl/fragcoord.c')
0 files changed, 0 insertions, 0 deletions