From b3474de7b50fc2a3e3531f4343e47e8aea50736d Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Thu, 21 Apr 2005 19:09:54 +0000 Subject: Adding some comments. --- src/mesa/drivers/dri/r300/Makefile | 1 - src/mesa/drivers/dri/r300/r300_ioctl.c | 1 + src/mesa/drivers/dri/r300/r300_vertexprog.c | 4 +++- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/r300/Makefile b/src/mesa/drivers/dri/r300/Makefile index 3e21af6af89..9b9a0cf8060 100644 --- a/src/mesa/drivers/dri/r300/Makefile +++ b/src/mesa/drivers/dri/r300/Makefile @@ -38,7 +38,6 @@ DRIVER_SOURCES = \ r300_texprog.c \ r300_vertexprog.c \ r300_shader.c \ - r300_ffp.c \ r300_maos.c \ \ r200_context.c \ diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c index 31515c0609d..39233bfc25c 100644 --- a/src/mesa/drivers/dri/r300/r300_ioctl.c +++ b/src/mesa/drivers/dri/r300/r300_ioctl.c @@ -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; diff --git a/src/mesa/drivers/dri/r300/r300_vertexprog.c b/src/mesa/drivers/dri/r300/r300_vertexprog.c index c870961db1f..f972326a13b 100644 --- a/src/mesa/drivers/dri/r300/r300_vertexprog.c +++ b/src/mesa/drivers/dri/r300/r300_vertexprog.c @@ -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); -- cgit v1.2.3