Adding some comments.
authorAapo Tahkola <aet@rasterburn.org>
Thu, 21 Apr 2005 19:09:54 +0000 (19:09 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Thu, 21 Apr 2005 19:09:54 +0000 (19:09 +0000)
src/mesa/drivers/dri/r300/Makefile
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_vertexprog.c

index 3e21af6af892df3bc1dc562c590f349918b564fc..9b9a0cf806045636942e4e500d3cc5d996cfc71c 100644 (file)
@@ -38,7 +38,6 @@ DRIVER_SOURCES = \
                 r300_texprog.c \
                 r300_vertexprog.c \
                 r300_shader.c \
-                r300_ffp.c \
                 r300_maos.c \
                 \
                 r200_context.c \
index 31515c0609da69f0e7ba1901b4b3ad20ccb58720..39233bfc25c22c429d2dd7d96ca94708d34ac3bc 100644 (file)
@@ -60,6 +60,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define CLEARBUFFER_DEPTH      0x2
 #define CLEARBUFFER_STENCIL    0x4
 
+/* TODO: Fix this so that white vertical lines no longer appear. */
 static void r300ClearBuffer(r300ContextPtr r300, int flags, int buffer)
 {
        GLcontext* ctx = r300->radeon.glCtx;
index c870961db1f7aaf6ee0365c3b2c890b56dde57e9..f972326a13b1194242b3e96b3c0e6881b626735b 100644 (file)
@@ -766,7 +766,9 @@ void translate_vertex_shader(struct r300_vertex_program *vp)
                        
                case VP_OPCODE_XPD:
                        /* mul r0, r1.yzxw, r2.zxyw
-                          mad r0, -r2.yzxw, r1.zxyw, r0 */
+                          mad r0, -r2.yzxw, r1.zxyw, r0
+                          NOTE: might need MAD_2
+                        */
                        
                        o_inst->op=MAKE_VSF_OP(R300_VPI_OUT_OP_MAD, u_temp_i,
                                        t_dst_mask(vpi->DstReg.WriteMask), VSF_OUT_CLASS_TMP);