Pass ptr to local memory copy instead of main memory to exec_instruction
authorIan Romanick <idr@us.ibm.com>
Wed, 30 Jan 2008 18:43:23 +0000 (10:43 -0800)
committerIan Romanick <idr@us.ibm.com>
Thu, 31 Jan 2008 04:14:51 +0000 (20:14 -0800)
commitfcf944177325cdf8bf6e4f1b70296c19476e2375
tree01e5262601a17cd8c2b02530a8340c8f5d650002
parent3d13605ee5fc92a1e3d82f1dbbcb8342066d8af0
Pass ptr to local memory copy instead of main memory to exec_instruction

This was essentially a cut-and-paste bug when the instruction fetcher
was added.  Also, the test for TGSI_PROCESSOR_FRAGMENT was moved
outside the loop for exec_declaration.
src/mesa/pipe/cell/spu/spu_exec.c