aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2008-02-28 10:25:58 +0000
committerOliver McFadden <[email protected]>2008-03-01 06:33:07 +0000
commit5dcbdc09f354d96cef93a28215f7776a5e84dd1f (patch)
tree566c5e6651b7ba579eba85a092f0e480b37ab060 /src/mesa/drivers/dri
parentbbab0f97b83b07184bc7c5a736292c8558903855 (diff)
r300: Moved the PREFER_DP4 define near the position invariant function.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c
index 35fa3daa98c..b9f6d28357e 100644
--- a/src/mesa/drivers/dri/r300/r300_vertprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertprog.c
@@ -87,9 +87,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
SWIZZLE_ONE, SWIZZLE_ONE, \
t_src_class(src[2].File), VSF_FLAG_NONE) | (src[2].RelAddr << 4))
-/* DP4 version seems to trigger some hw peculiarity */
-//#define PREFER_DP4
-
#define FREE_TEMPS() \
do { \
int u_temp_used = (VSF_MAX_FRAGMENT_TEMPS - 1) - u_temp_i; \
@@ -1185,6 +1182,9 @@ static void r300TranslateVertexShader(struct r300_vertex_program *vp,
#endif
}
+/* DP4 version seems to trigger some hw peculiarity */
+//#define PREFER_DP4
+
static void position_invariant(struct gl_program *prog)
{
struct prog_instruction *vpi;