Pass texture_norm16 extension from tests to GPU
Right now we have put ResourceSettings::high_bit_for_testing to be false, so pixel tests are still using Luminance format.
Also, Pixel tests for R16 format will fail because
gpu::FeatureInfo both gl_version_info_->is_desktop_core_profile (because tests use GLES context) and gl::HasExtension(extensions, "GL_EXT_texture_norm16") are false.
So validators are not added, hence validators check is failing.
Need to enable the texture_norm16 extension from TestInProcessContextProvider, so that pixel tests can can use it.
When we actually enable R16, we can set ResourceSettings::high_bit_for_testing to be true.
Reference CL: https://chromium-review.googlesource.com/c/chromium/src/+/663660/
Comment 1 by bugdroid1@chromium.org
, Oct 8 2017