Commit ff318af1 by Austin Kinross Committed by Jamie Madill

Fix BlendMinMaxTest.RGBA16F on D3D11 Feature Level 9_3

This test checks for OES_texture_half_float, but it's trying to use a 16F texture as a color buffer so it should be checking for EXT_color_buffer_half_float. Since EXT_color_buffer_half_float requires more format support (e.g. R16F, RG16F, RGB16F) than OES_texture_half_float, it's possible for an implementation to support one extension and not the other. D3D11 Feature Level 9_3 does this. Change-Id: I40fb38aa3f419be2606464bd0476cd064afe90fa Reviewed-on: https://chromium-review.googlesource.com/319642Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarAustin Kinross <aukinros@microsoft.com> Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 9a866453
......@@ -184,9 +184,10 @@ TEST_P(BlendMinMaxTest, RGBA32f)
TEST_P(BlendMinMaxTest, RGBA16F)
{
if (getClientVersion() < 3 && !extensionEnabled("GL_OES_texture_half_float"))
if (getClientVersion() < 3 && !extensionEnabled("GL_EXT_color_buffer_half_float"))
{
std::cout << "Test skipped because ES3 or GL_OES_texture_half_float is not available." << std::endl;
std::cout << "Test skipped because ES3 or GL_EXT_color_buffer_half_float is not available."
<< std::endl;
return;
}
......@@ -201,4 +202,4 @@ TEST_P(BlendMinMaxTest, RGBA16F)
}
// Use this to select which configurations (e.g. which renderer, which GLES major version) these tests should be run against.
ANGLE_INSTANTIATE_TEST(BlendMinMaxTest, ES2_D3D9(), ES2_D3D11(), ES2_OPENGL());
ANGLE_INSTANTIATE_TEST(BlendMinMaxTest, ES2_D3D9(), ES2_D3D11(), ES2_D3D11_FL9_3(), ES2_OPENGL());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment