Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0bcd266 authored by Krzysztof Kosiński's avatar Krzysztof Kosiński
Browse files

EGL: Fix ARM assembly constraint.

addne takes immed_8r (constraint I) as the second operand, not
FlexOffset (constraint J). Details:
https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html

Bug: 77455035
Test: Built and ran some CTS tests on Pixel XL.
Change-Id: I95588462d885274b1e7900415d5853864292c11d
parent ef4c9b64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ namespace android {
            : [tls] "J"(TLS_SLOT_OPENGL_API*4),                 \
              [ext] "J"(__builtin_offsetof(gl_hooks_t,          \
                                      ext.extensions[0])),      \
              [api] "J"(_api*sizeof(void*))                     \
              [api] "I"(_api*sizeof(void*))                     \
            : "r12"                                             \
            );