diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-03-21 21:47:41 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-03-21 21:54:07 +0100 |
commit | 7733bac66c071a64cf12930b16b808b3450f853b (patch) | |
tree | 16d8fdd24f4090f2e05cc5beca724ea31f6dbfdb | |
parent | 12dc4971735a8703c298d35eb21e3d1a2e053217 (diff) |
r300g: accelerate blitting for all 64-bit texture formats
-rw-r--r-- | src/gallium/drivers/r300/r300_blit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index f99f9dffaa..bcdf950df9 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -149,6 +149,9 @@ void r300_surface_copy(struct pipe_context* pipe, case 4: new_format = PIPE_FORMAT_B8G8R8A8_UNORM; break; + case 8: + new_format = PIPE_FORMAT_R16G16B16A16_UNORM; + break; default: debug_printf("r300: surface_copy: Unhandled format: %s. Falling back to software.\n" "r300: surface_copy: Software fallback doesn't work for tiled textures.\n", |