DO NOT MERGE CP vertex array test and warning fixes

Cherry-pick fix to vertex array tests and a preceding conversion warning
fix for Marshmallow CTS for the files affected by the vertex array test fix.

8ed28c1e05f2325dc4b20c8f471067b29188c82f
Snap values to 3x3 grid in vertex array tests

This avoids cases where on small resolutions tests would fail because some
geometry was not visible or hidden in both result and reference.

Bug: 23495935

c8e526bfc2141e1cb7a269483fb55dc2a8e77c11
Fix -Wconversion warnings in glshared.

Bug: 21161908
Change-Id: If346e35335863344494c2513782e0b42d9a408e2
2 files changed