r600c : inline vertex format is not updated in an app, switch to use vfetch constants...
authorrichard <richard@richard-desktop.(none)>
Thu, 16 Dec 2010 20:52:55 +0000 (15:52 -0500)
committerrichard <richard@richard-desktop.(none)>
Thu, 16 Dec 2010 20:52:55 +0000 (15:52 -0500)
src/mesa/drivers/dri/r600/r700_assembler.c

index 1fa559cec1a45e97e1bbbc5f3930d560f6386082..bee9c3bc6d3286e8bf1fc02208f3e348bc61dc78 100644 (file)
@@ -1134,7 +1134,7 @@ GLboolean EG_assemble_vfetch_instruction(r700_AssemblerBase* pAsm,
              EG_VTX_WORD1__DST_SEL_W_shift,
              EG_VTX_WORD1__DST_SEL_W_mask);
     
-    SETfield(vfetch_instruction_ptr->m_Word1.val, 0, /* use format here, in r6/r7, format used set in const, need to use same */
+    SETfield(vfetch_instruction_ptr->m_Word1.val, 1, 
              EG_VTX_WORD1__UCF_shift,
              EG_VTX_WORD1__UCF_bit);
     SETfield(vfetch_instruction_ptr->m_Word1.val, data_format,