mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
fix spantmp2 READ_RGBA inline asm (#11931)
This commit is contained in:
parent
960d41fcfe
commit
72adb70ee2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue