diff options
author | Dan Torop <[email protected]> | 2007-08-12 13:41:13 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2007-08-12 13:41:13 +0200 |
commit | 21b37b9687b078297935062e3ad9f379b6f36519 (patch) | |
tree | 7f72bf1ccaaade3ca5fbe965cbedcbf45839cbdd /src/mesa/drivers/dri/common/spantmp2.h | |
parent | 6ea55d35254b7769c65f064170d8965c0bf34a27 (diff) |
fix spantmp2 READ_RGBA inline asm (#11931)
Diffstat (limited to 'src/mesa/drivers/dri/common/spantmp2.h')
-rw-r--r-- | src/mesa/drivers/dri/common/spantmp2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/spantmp2.h b/src/mesa/drivers/dri/common/spantmp2.h index 50f3cf55816..53f5f846a0b 100644 --- a/src/mesa/drivers/dri/common/spantmp2.h +++ b/src/mesa/drivers/dri/common/spantmp2.h @@ -114,7 +114,7 @@ do { \ GLuint p = *(volatile GLuint *) GET_PTR(_x, _y); \ __asm__ __volatile__( "bswap %0; rorl $8, %0" \ - : "=r" (p) : "r" (p) ); \ + : "=r" (p) : "0" (p) ); \ ((GLuint *)rgba)[0] = p; \ } while (0) # elif defined( MESA_BIG_ENDIAN ) |