OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
377ce9e
)
r300: Last few r300_render.c clean up.
author
Oliver McFadden
<z3ro.geek@gmail.com>
Tue, 8 May 2007 19:38:44 +0000
(19:38 +0000)
committer
Oliver McFadden
<z3ro.geek@gmail.com>
Tue, 8 May 2007 19:38:44 +0000
(19:38 +0000)
src/mesa/drivers/dri/r300/r300_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_render.c
b/src/mesa/drivers/dri/r300/r300_render.c
index
628a9fb
..
0e58585
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_render.c
+++ b/
src/mesa/drivers/dri/r300/r300_render.c
@@
-196,8
+196,7
@@
static void inline r300FireEB(r300ContextPtr rmesa, unsigned long addr,
drm_radeon_cmd_header_t *cmd = NULL;
unsigned long t_addr;
unsigned long magic_1, magic_2;
- GLcontext *ctx;
- ctx = rmesa->radeon.glCtx;
+ GLcontext *ctx = rmesa->radeon.glCtx;
assert(elt_size == 2 || elt_size == 4);
@@
-207,7
+206,7
@@
static void inline r300FireEB(r300ContextPtr rmesa, unsigned long addr,
}
magic_1 = (addr % 32) / 4;
- t_addr = addr &
(~0x1d)
;
+ t_addr = addr &
~0x1d
;
magic_2 = (vertex_count + 1 + (t_addr & 0x2)) / 2 + magic_1;
check_space(6);