summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r600/r700_assembler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c
index 0f8fb7ac60..2bf24096a0 100644
--- a/src/mesa/drivers/dri/r600/r700_assembler.c
+++ b/src/mesa/drivers/dri/r600/r700_assembler.c
@@ -914,7 +914,7 @@ GLboolean add_tex_instruction(r700_AssemblerBase* pAsm,
{
unsigned int count = GETbits(pAsm->cf_current_tex_clause_ptr->m_Word1.val,
EG_CF_WORD1__COUNT_shift, EG_CF_WORD1__COUNT_mask) + 1;
- SETfield(pAsm->cf_current_vtx_clause_ptr->m_Word1.val, count,
+ SETfield(pAsm->cf_current_tex_clause_ptr->m_Word1.val, count,
EG_CF_WORD1__COUNT_shift, EG_CF_WORD1__COUNT_mask);
}
else