Adding some comments.

This commit is contained in:
Aapo Tahkola 2005-04-21 19:09:54 +00:00
parent 7c26b61f93
commit b3474de7b5
3 changed files with 4 additions and 2 deletions

View 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 \

View 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;

View 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);