diff options
author | Pauli Nieminen <[email protected]> | 2009-08-25 21:46:32 +0300 |
---|---|---|
committer | Pauli Nieminen <[email protected]> | 2009-08-25 22:16:19 +0300 |
commit | 5d10890795d9bddc8cafc4afb19cacf164d6e667 (patch) | |
tree | 7108889e3fad47eb3d54d071365d53b8bf03c4b6 /src/mesa/drivers/dri/r600 | |
parent | 87f83e193a21d7e4703664504734edd1e71920a4 (diff) |
radeon/r600: Fix remaining warnings when building 64 bit binary.
Diffstat (limited to 'src/mesa/drivers/dri/r600')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_cmdbuf.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_assembler.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_cmdbuf.c b/src/mesa/drivers/dri/r600/r600_cmdbuf.c index a330d5b151c..050d7bc6d0e 100644 --- a/src/mesa/drivers/dri/r600/r600_cmdbuf.c +++ b/src/mesa/drivers/dri/r600/r600_cmdbuf.c @@ -304,6 +304,7 @@ static int r600_cs_set_age(struct radeon_cs *cs) /* -------------- */ return 0; } +#if 0 static void dump_cmdbuf(struct radeon_cs *cs) { int i; @@ -314,6 +315,7 @@ static void dump_cmdbuf(struct radeon_cs *cs) fprintf(stderr,"--end--\n"); } +#endif static int r600_cs_emit(struct radeon_cs *cs) { diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c index eaacd061137..834c23593b4 100644 --- a/src/mesa/drivers/dri/r600/r700_assembler.c +++ b/src/mesa/drivers/dri/r600/r700_assembler.c @@ -2132,7 +2132,7 @@ GLboolean assemble_alu_instruction(r700_AssemblerBase *pAsm) alu_instruction_ptr->m_Word1_OP2.f6.write_mask = pAsm->D.dst.writew; break; default: - alu_instruction_ptr->m_Word1_OP2.f6.write_mask = SQ_SEL_MASK; + alu_instruction_ptr->m_Word1_OP2.f6.write_mask = 1; //SQ_SEL_MASK; break; } alu_instruction_ptr->m_Word1_OP2.f6.omod = SQ_ALU_OMOD_OFF; @@ -2161,7 +2161,7 @@ GLboolean assemble_alu_instruction(r700_AssemblerBase *pAsm) alu_instruction_ptr->m_Word1_OP2.f.write_mask = pAsm->D.dst.writew; break; default: - alu_instruction_ptr->m_Word1_OP2.f.write_mask = SQ_SEL_MASK; + alu_instruction_ptr->m_Word1_OP2.f.write_mask = 1; //SQ_SEL_MASK; break; } alu_instruction_ptr->m_Word1_OP2.f.omod = SQ_ALU_OMOD_OFF; |