aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxin Hu <yuxinhu@google.com>2024-03-21 16:56:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-21 16:56:32 +0000
commite93db0fecb9611de14313eeee693260aef29ae18 (patch)
tree1903df16ddf52c0de0f0cd6845b0d8ecc3d3a897
parent744799ca72f938b9d3d7032b876cf336ce611c79 (diff)
parent0f7bfc4271b7ba7d626b04e580c2a3d9f12f903d (diff)
downloaddeqp-e93db0fecb9611de14313eeee693260aef29ae18.tar.gz
Merge "Consider GL_QCOM_render_sRGB_R8_RG8 in FBO completeness" into android14-tests-dev
-rw-r--r--modules/glshared/glsFboCompletenessTests.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/glshared/glsFboCompletenessTests.cpp b/modules/glshared/glsFboCompletenessTests.cpp
index de1daa8c2..c979b0658 100644
--- a/modules/glshared/glsFboCompletenessTests.cpp
+++ b/modules/glshared/glsFboCompletenessTests.cpp
@@ -209,6 +209,12 @@ static const FormatKey s_extTextureSRGBRG8Formats[] =
GL_SRG8_EXT,
};
+static const FormatKey s_qcomRenderSRGBR8RG8Formats[] =
+{
+ GL_SR8_EXT,
+ GL_SRG8_EXT,
+};
+
static const FormatExtEntry s_esExtFormats[] =
{
{
@@ -389,6 +395,12 @@ static const FormatExtEntry s_esExtFormats[] =
(deUint32)TEXTURE_VALID,
GLS_ARRAY_RANGE(s_extTextureSRGBRG8Formats)
},
+
+ {
+ "GL_QCOM_render_sRGB_R8_RG8",
+ (deUint32)(REQUIRED_RENDERABLE | COLOR_RENDERABLE | RENDERBUFFER_VALID | TEXTURE_VALID),
+ GLS_ARRAY_RANGE(s_qcomRenderSRGBR8RG8Formats)
+ },
};
Context::Context (TestContext& testCtx,