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 0f8fb7ac60da6c44debb07c1d3c34ec69f3409a1..2bf24096a0dbe8324d5d318cd016b9518cfbc868 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