aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxin Hu <yuxinhu@google.com>2024-03-21 17:05:44 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-03-21 17:05:44 +0000
commit9a4d0dccb86b683b9754e383b1fb2376270d1624 (patch)
treea5ce85daf444bcc9564ceb443057b259a4300704
parentfe90579df23e80222eda79f9043a86fd3e82ef92 (diff)
parente93db0fecb9611de14313eeee693260aef29ae18 (diff)
downloaddeqp-9a4d0dccb86b683b9754e383b1fb2376270d1624.tar.gz
Merge "Consider GL_QCOM_render_sRGB_R8_RG8 in FBO completeness" into android14-tests-dev am: e93db0fecb
Original change: https://android-review.googlesource.com/c/platform/external/deqp/+/2974223 Change-Id: I8585336f4e5026e5a5bae3e732190c07ab13bd56 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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,