projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49fc41e
)
radeon: don't build non-r600 span code on r600
author
Alex Deucher
<alexdeucher@gmail.com>
Tue, 15 Sep 2009 21:12:03 +0000
(17:12 -0400)
committer
Alex Deucher
<alexdeucher@gmail.com>
Tue, 15 Sep 2009 21:13:08 +0000
(17:13 -0400)
src/mesa/drivers/dri/radeon/radeon_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_span.c
b/src/mesa/drivers/dri/radeon/radeon_span.c
index 9959da011e44f715ee764297e056002927752fc4..d603f52df7be7156266644c056e6b24f256c70e7 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_span.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_span.c
@@
-239,7
+239,7
@@
static GLubyte *r600_ptr_color(const struct radeon_renderbuffer * rrb,
return &ptr[offset];
}
-#e
ndif
+#e
lse
/* radeon tiling on r300-r500 has 4 states,
macro-linear/micro-linear
@@
-332,7
+332,10
@@
static GLubyte *radeon_ptr_2byte_8x2(const struct radeon_renderbuffer * rrb,
return &ptr[offset];
}
+#endif
+
#ifndef COMPILE_R300
+#ifndef COMPILE_R600
static uint32_t
z24s8_to_s8z24(uint32_t val)
{
@@
-345,6
+348,7
@@
s8z24_to_z24s8(uint32_t val)
return (val >> 24) | (val << 8);
}
#endif
+#endif
/*
* Note that all information needed to access pixels in a renderbuffer