r600c: eg: fix typo
authorAndre Maasikas <amaasikas@gmail.com>
Mon, 13 Sep 2010 13:55:09 +0000 (16:55 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Mon, 13 Sep 2010 13:55:58 +0000 (16:55 +0300)
probably copy/paste error

src/mesa/drivers/dri/r600/r700_assembler.c

index 0f8fb7a..2bf2409 100644 (file)
@@ -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