Merge "Do not allocate f16 buffer if device does not support it" am: 40c7ef8df8 am: 2c0f16b93c

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1858430

Change-Id: Ic486d14cf582b47a6d236479e044ab3d30c2e42b