Commit 689325c2 by Jamie Madill

ES3: Add some missing unsized formats to the format tables.

These were causing validation errors in the dEQP FBO tests. See Table 3.2 in the ES3 spec. BUG=angleproject:1074 TEST=dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.* Change-Id: Ifbf9199c54060eb3fc1a1dac7bbd74e19e013c61 Reviewed-on: https://chromium-review.googlesource.com/286773Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent f84159aa
...@@ -131,6 +131,15 @@ ES3FormatCombinationSet BuildES3FormatSet() ...@@ -131,6 +131,15 @@ ES3FormatCombinationSet BuildES3FormatSet()
InsertES3FormatCombo(&set, GL_ALPHA, GL_ALPHA, GL_UNSIGNED_BYTE ); InsertES3FormatCombo(&set, GL_ALPHA, GL_ALPHA, GL_UNSIGNED_BYTE );
InsertES3FormatCombo(&set, GL_SRGB_ALPHA_EXT, GL_SRGB_ALPHA_EXT, GL_UNSIGNED_BYTE ); InsertES3FormatCombo(&set, GL_SRGB_ALPHA_EXT, GL_SRGB_ALPHA_EXT, GL_UNSIGNED_BYTE );
InsertES3FormatCombo(&set, GL_SRGB_EXT, GL_SRGB_EXT, GL_UNSIGNED_BYTE ); InsertES3FormatCombo(&set, GL_SRGB_EXT, GL_SRGB_EXT, GL_UNSIGNED_BYTE );
InsertES3FormatCombo(&set, GL_RG, GL_RG, GL_UNSIGNED_BYTE );
InsertES3FormatCombo(&set, GL_RG, GL_RG, GL_FLOAT );
InsertES3FormatCombo(&set, GL_RG, GL_RG, GL_HALF_FLOAT );
InsertES3FormatCombo(&set, GL_RG, GL_RG, GL_HALF_FLOAT_OES );
InsertES3FormatCombo(&set, GL_RED, GL_RED, GL_UNSIGNED_BYTE );
InsertES3FormatCombo(&set, GL_RED, GL_RED, GL_FLOAT );
InsertES3FormatCombo(&set, GL_RED, GL_RED, GL_HALF_FLOAT );
InsertES3FormatCombo(&set, GL_RED, GL_RED, GL_HALF_FLOAT_OES );
InsertES3FormatCombo(&set, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8 );
// Depth stencil formats // Depth stencil formats
InsertES3FormatCombo(&set, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT ); InsertES3FormatCombo(&set, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT );
......
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