http://bugs.freedesktop.org/show_bug.cgi?id=24281
--- Comment #3 from Andre Maasikas <amaasi...@gmail.com> 2009-10-07 07:13:01 PST --- Below is the fragment program it uses: Currently we don't set barrier bit on any of these tex intructions as they don't depend on any prev ins. However they write to same dest, so I guess the result may get overwritten sometimes... # Fragment Program/Shader 0: TEX TEMP[0].y, INPUT[4], texture[0], 2D; 1: ADD TEMP[0].x, TEMP[0].yyyy, CONST[0].-z-z-z-z; 2: TEX TEMP[0].y, INPUT[4], texture[2], 2D; 3: ADD TEMP[0].z, TEMP[0].yyyy, CONST[1].-x-x-x-x; 4: MUL TEMP[0].x, TEMP[0], CONST[0].yyyy; 5: MAD OUTPUT[1].z, TEMP[0], CONST[0].wwww, TEMP[0].xxxx; 6: TEX TEMP[0].y, INPUT[4], texture[1], 2D; 7: ADD TEMP[0].y, TEMP[0], CONST[1].-x-x-x-x; 8: MAD TEMP[0].z, TEMP[0].-x-y-z-w, CONST[1].yyyy, TEMP[0].xxxx; 9: MAD OUTPUT[1].y, TEMP[0].-x-y-z-w, CONST[1].zzzz, TEMP[0].zzzz; 10: MAD OUTPUT[1].x, TEMP[0].yyyy, CONST[1].wwww, TEMP[0]; 11: MOV OUTPUT[1].w, CONST[0].xxxx; 12: END As a workarond for now, you can try: diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c index 903b696..139a122 100644 --- a/src/mesa/drivers/dri/r600/r700_assembler.c +++ b/src/mesa/drivers/dri/r600/r700_assembler.c @@ -686,7 +686,7 @@ GLboolean add_tex_instruction(r700_AssemblerBase* pAsm, // If this clause constains any TEX instruction that is dependent on a previous instruction, // set the barrier bit - if( pAsm->pInstDeps[pAsm->uiCurInst].nDstDep > (-1) || pAsm->need_tex_barrier == GL_TRUE ) + if(1 || pAsm->pInstDeps[pAsm->uiCurInst].nDstDep > (-1) || pAsm->need_tex_barrier == GL_TRUE ) { pAsm->cf_current_tex_clause_ptr->m_Word1.f.barrier = 0x1; } -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel