diff options
author | Neil Roberts <[email protected]> | 2015-11-19 15:06:08 +0100 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2015-12-10 11:03:49 +0000 |
commit | 3f10774cbab1e803f8aa3d6d24f8f6f98b8128c3 (patch) | |
tree | 4090b653bb3ae48638f0edad44fadf7025246583 /src/mesa/main/blit.c | |
parent | 9a31d9870b0c2113eefd1c2baf347ab8b288f6a6 (diff) |
i965: Check base format to determine whether to use tiled memcpy
The tiled memcpy doesn't work for copying from RGBX to RGBA because it
doesn't override the alpha component to 1.0. Commit 2cebaac479d4 added
a check to disable it for RGBX formats by looking at the TexFormat.
However a lot of the rest of the code base is written with the
assumption that an RGBA texture can be used internally to implement a
GL_RGB texture. If that is done then this check breaks. This patch
makes it instead check the base format of the texture which I think
more directly matches the intention.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/blit.c')
0 files changed, 0 insertions, 0 deletions