Issue
Confused here
#if !defined(NATIVE_EAS_KERNEL) || defined(_16_BIT_SAMPLES)
Seems like on arm it will be defined, see here
But all builds have
So it should be true on both arm and other i.e x86_64, right?
It will be only not defined when frist condition is not met and the 2nd, meaning no EAS_NATIVE_KERNEL flag and no _16_BIT_SAMPLES flag?
Solution
!defined(NATIVE_EAS_KERNEL) || defined(_16_BIT_SAMPLES) will only be false when NATIVE_EAS_KERNEL is defined and _16_BIT_SAMPLES isn't defined (when defined(NATIVE_EAS_KERNEL) && !defined(_16_BIT_SAMPLES) is true).
NATIVE_EAS_KERNEL |
_16_BIT_SAMPLES |
!defined(NATIVE_EAS_KERNEL) || defined(_16_BIT_SAMPLES) |
|---|---|---|
| Not defined | Not defined | True |
| Not defined | Defined | True |
| Defined | Not defined | False |
| Defined | Defined | True |
Answered By - ikegami
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.