projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8be58df
)
r300g: accelerate resoure_copy_region for rgtc
author
Marek Olšák
<maraeo@gmail.com>
Tue, 1 Mar 2011 20:15:20 +0000
(21:15 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 1 Mar 2011 23:54:06 +0000
(
00: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 8c13ac5dff783616617cf9eaaa4cabd3885a3985..6391ea7f3be7c46d4be7fce7045dcf21deb2c869 100644
(file)
--- a/
src/gallium/drivers/r300/r300_blit.c
+++ b/
src/gallium/drivers/r300/r300_blit.c
@@
-474,7
+474,8
@@
static void r300_resource_copy_region(struct pipe_context *pipe,
}
/* Handle compressed formats. */
- if (desc->layout == UTIL_FORMAT_LAYOUT_S3TC) {
+ if (desc->layout == UTIL_FORMAT_LAYOUT_S3TC ||
+ desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
switch (util_format_get_blocksize(old_dst.format)) {
case 8:
/* 1 pixel = 4 bits,