Add Texture2D array test in which Texture2D array is rendered and
authoryiyang fan <yiyfan01@arm.com>
Thu, 9 Jun 2022 16:13:17 +0000 (00:13 +0800)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 15 Jul 2022 17:48:26 +0000 (17:48 +0000)
commit6e404cf5b3497d4be4d9d324fe892187dd620e86
treeb6d8f3615bf645b6d313ff73a9667c5652944884
parenta852bb111eb7dab9acc4fbb1bfad44b52dd7e671
Add Texture2D array test in which Texture2D array is rendered and
sampled.

Create an external texture 2d array with different buffer formats.
The test's behavior is like this:
1,create one 2d texture, and initialize the 2d texture with reference
2,sample the 2d texture, and then render the data into 2d array layer 0
3,compare the rendering result with reference
4,bind the 2d texture to fbo
5,sample the 2d texture array layer 0, and then render the data into the
2d texture
6,compare the rendering result with reference

New tests:
dEQP-EGL.functional.image.create.gles3_android_native_array_rgba4_render_sample_texture_array
dEQP-EGL.functional.image.create.gles3_android_native_array_rgb5_a1_render_sample_texture_array
dEQP-EGL.functional.image.create.gles3_android_native_array_rgb565_render_sample_texture_array
dEQP-EGL.functional.image.create.gles3_android_native_array_rgb8_render_sample_texture_array
dEQP-EGL.functional.image.create.gles3_android_native_array_rgba8_render_sample_texture_array

Components: EGL
Change-Id: I97d763f3ce2acce18e9bda9df5badb140e37c0cc
android/cts/main/egl-master-2022-03-01.txt
android/cts/main/egl-master.txt
modules/egl/teglImageFormatTests.cpp