diff options
author | Stephane Marchesin <[email protected]> | 2006-11-19 23:16:29 +0000 |
---|---|---|
committer | Stephane Marchesin <[email protected]> | 2006-11-19 23:16:29 +0000 |
commit | 4165a1097243db8478650aefebdd4a39b3bd27f5 (patch) | |
tree | 9017e7fa11edbc466907f1d5228d9d4e4cb23b2d /src/mesa/drivers/dri/nouveau/nouveau_fifo.h | |
parent | fe2e6100ece780437c622c8469efbec2b98f7a6f (diff) |
More work on the swtcl
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_fifo.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_fifo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fifo.h b/src/mesa/drivers/dri/nouveau/nouveau_fifo.h index b738fa8ee1c..da2dadada74 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_fifo.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_fifo.h @@ -60,7 +60,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #define OUT_RINGp(ptr,sz) do { \ uint32_t* p=(uint32_t*)ptr; \ -int i; printf("OUT_RINGp:\n"); for(i=0;i<sz;i++) printf(" 0x%08x\n", *(p+i)); \ +int i; printf("OUT_RINGp: (size 0x%x dwords)\n",sz); for(i=0;i<sz;i++) printf(" 0x%08x\n", *(p+i)); \ }while(0) #define OUT_RING(n) do { \ @@ -74,8 +74,8 @@ int i; printf("OUT_RINGp:\n"); for(i=0;i<sz;i++) printf(" 0x%08x\n", *(p+i)); \ #else #define OUT_RINGp(ptr,sz) do{ \ - memcpy(nmesa->fifo.buffer+nmesa->fifo.current,ptr,sz); \ - nmesa->fifo.current+=(sz/4); \ + memcpy(nmesa->fifo.buffer+nmesa->fifo.current,ptr,sz*4); \ + nmesa->fifo.current+=sz; \ }while(0) #define OUT_RING(n) do { \ |