projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fea26
)
r300: use nearest texture filtering for accelerated blits
author
Maciej Cencora
<m.cencora@gmail.com>
Sat, 16 Jan 2010 14:21:52 +0000
(15:21 +0100)
committer
Maciej Cencora
<m.cencora@gmail.com>
Tue, 19 Jan 2010 22:38:33 +0000
(23:38 +0100)
src/mesa/drivers/dri/r300/r300_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_blit.c
b/src/mesa/drivers/dri/r300/r300_blit.c
index 8a9c1c8beb032307169335516fb73f976706f5ae..4f89a3147240eedd8dc1938e2cafaeac10d37d0f 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_blit.c
+++ b/
src/mesa/drivers/dri/r300/r300_blit.c
@@
-150,8
+150,8
@@
static void r300_emit_tx_setup(struct r300_context *r300,
(R300_TX_CLAMP_TO_EDGE << R300_TX_WRAP_T_SHIFT) |
(R300_TX_CLAMP_TO_EDGE << R300_TX_WRAP_R_SHIFT) |
R300_TX_MIN_FILTER_MIP_NONE |
- R300_TX_MIN_FILTER_
LINEAR
|
- R300_TX_MAG_FILTER_
LINEAR
|
+ R300_TX_MIN_FILTER_
NEAREST
|
+ R300_TX_MAG_FILTER_
NEAREST
|
(0 << 28));
OUT_BATCH_REGVAL(R300_TX_FILTER1_0, 0);
OUT_BATCH_REGVAL(R300_TX_SIZE_0,