projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12dc497
)
r300g: accelerate blitting for all 64-bit texture formats
author
Marek Olšák
<maraeo@gmail.com>
Sun, 21 Mar 2010 20:47:41 +0000
(21:47 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 21 Mar 2010 20:54:07 +0000
(21:54 +0100)
src/gallium/drivers/r300/r300_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_blit.c
b/src/gallium/drivers/r300/r300_blit.c
index f99f9dffaa544160ab9dc4678e5d09d762087d36..bcdf950df9cfcba70332c7d5871174218a3c6707 100644
(file)
--- 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",