Module: Mesa
Branch: master
Commit: 7733bac66c071a64cf12930b16b808b3450f853b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7733bac66c071a64cf12930b16b808b3450f853b

Author: Marek Olšák <[email protected]>
Date:   Sun Mar 21 21:47:41 2010 +0100

r300g: accelerate blitting for all 64-bit texture formats

---

 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 f99f9df..bcdf950 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",

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to