OSDN Git Service

r300: Disable vertex program point size; it's almost certainly wrong.
authorOliver McFadden <z3ro.geek@gmail.com>
Sat, 14 Jul 2007 18:31:29 +0000 (18:31 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sat, 14 Jul 2007 18:31:29 +0000 (18:31 +0000)
See the conversation between myself and Tommy Schultz Lassen on mesa3d-dev.

src/mesa/drivers/dri/r300/r300_emit.c

index 424bf44..6da22f6 100644 (file)
@@ -308,10 +308,10 @@ GLuint r300VAPOutputCntl0(GLcontext * ctx, GLuint OutputsWritten)
 
 #if 0
        if (OutputsWritten & (1 << VERT_RESULT_FOGC)) ;
-#endif
 
        if (OutputsWritten & (1 << VERT_RESULT_PSIZ))
                ret |= R300_VAP_OUTPUT_VTX_FMT_0__PT_SIZE_PRESENT;
+#endif
 
        return ret;
 }