Courtney Goeltzenleuchter [Tue, 18 Jul 2017 20:25:01 +0000 (20:25 +0000)]
EGL: Add wide-color tests
am:
6a26fb1fd0
Change-Id: Ib496be50b20bce758c441f08a34b0e10998b2e98
Mika Isojärvi [Thu, 14 Apr 2016 17:28:16 +0000 (10:28 -0700)]
Fix atomic ssbo xor test
Allow any values in high order bits in xor tests when using uint types.
Bug:
28144118
Change-Id: I0670aa12642882a329cb923487198fdf045b912b
Courtney Goeltzenleuchter [Mon, 19 Jun 2017 16:35:01 +0000 (10:35 -0600)]
EGL: Add wide-color tests
Verify necessary extensions and functionality
is present to support wide-color. Specifically, pixel formats
FP16 and 10:10:10:2 and Display-P3 color space.
Test: adb -d shell \
am start -n com.drawelements.deqp/android.app.NativeActivity \
-e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.wide_color.* \
--deqp-log-filename=/sdcard/dEQP-Log.qpa"'
TODO:
- Do we need test for EGL_EXT_gl_colorspace_scrgb_linear?
That should be no-op for driver.
Change-Id: I537a04b1680e33e46215c4bb583f6987d20f0b4a
Mika Isojarvi [Mon, 17 Jul 2017 20:19:45 +0000 (20:19 +0000)]
Merge "Merge Vulkan CTS 1.0.2.4 into aosp/master"
am:
0f5658c72b
Change-Id: Id028fbdc5b596d55e044fb80ad34ecc95d0563a4
Mika Isojarvi [Mon, 17 Jul 2017 20:13:57 +0000 (20:13 +0000)]
Merge "Merge Vulkan CTS 1.0.2.4 into aosp/master"
JarredDavies [Fri, 14 Jul 2017 14:55:46 +0000 (15:55 +0100)]
Fix incorrect scale in pipeline_barrier tests
The ImageBlitFromImage verfication code incorrectly scales the refrence image it creates.
The test should add 0.5 to the x and y coords before scaling them.
Affects:
dEQP-VK.memory.pipeline_barrier.*
Components: Vulkan
VK-GL-CTS issue: 577
Change-Id: I28d0b4deec0f1837c21cdc2dc68a9169ca8ae96b
Slawomir Cygan [Thu, 6 Jul 2017 17:24:18 +0000 (19:24 +0200)]
copies_and_blitting: fix ambiguous signed normalized 1.0 value
Below tests copy floats to signed normalized 8-bit values.
In that process it happens that 1.0 float value is copied to 8_snorm
elements as: {0x00, 0x00, 0x80, 0x3f}
According to spec, on SNORM values:
"Note that while zero is exactly expressible in this representation,
one value (-128 in the example) is outside the representable range,
and must be clamped before use."
The problem occurs when 0x80 == 128 value is copied to buffer:
as it falls outside of <-1,1> range, it may be clamped to 0x81 (both values
represent -1.0 SNORM value).
The change here processes all result and expected data buffers to remove
all ambiguites by converting to float and back to signed normalized format.
Affects:
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.a8b8g8r8_snorm_pack32.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.r8g8b8a8_snorm.*
Components: Vulkan
VK-GL-CTS issue: 563
Change-Id: I175665f39811cf6a80862967ad0a9bb8e13527e9
Yanjun Zhang [Fri, 7 Jul 2017 20:45:59 +0000 (13:45 -0700)]
Relax threshold in cube map filtering tests
Use the same colorThreshold calculation as GLES CTS so Vulkan CTS
has the same behavior as GLES CTS.
Components: Vulkan
Affects:
dEQP-VK.pipeline.sampler.view_type.cube.format.r5g6b5_unorm_pack16.*
VK-GL-CTS issue: 561
Change-Id: I9bd632bb242f653b1f2d8bb50ee9867da926e95b
Slawomir Cygan [Fri, 7 Jul 2017 14:41:30 +0000 (16:41 +0200)]
cross_instance sync: run without VK_KHR_get_memory_requirements2
This extension is used in the test, to check if resource needs dedicated
allocations (to be used created by dependent VK_KHR_dedicated_allocation
extension).
If the extension is not supported assume there is no need for dedicated
allocations.
Affects: dEQP-VK.synchronization.cross_instance.*
VK-GL-CTS issue: 548
Components: Vulkan
Change-Id: Icb4f5a34b98da213d0cb665bcc4e6b048d7b8a3c
gkbldval [Fri, 14 Jul 2017 16:49:26 +0000 (18:49 +0200)]
Refactor synchronization test code to avoid compiler warning
vkt::synchronization::s_resources is unused in recently
added file, causing -Wunused warning (treated as error).
Affects: dEQP-VK.synchronization.*
Components: Vulkan
VK-GL-CTS issue: 578
Change-Id: Ifd8ce0812673e6b2da7c28bacb4384b3c80f65d1
Alexander Galazin [Wed, 5 Jul 2017 15:09:38 +0000 (17:09 +0200)]
Fix gcc 5.4 warnings
gcc 5.4 (default in Ubuntu 16.04) reports conversion to int
warnings/errors for bitwise or and assign operator.
GCC bug: 40752
Components: Framework, Vulkan
Change-Id: Ia857c44cf54d5571d857e1fada0e2aaa8f4b950d
(cherry picked from commit
0bd8828618d95d2a83bc7475179a9227bfd22f5f)
Alexander Galazin [Fri, 14 Jul 2017 07:48:05 +0000 (09:48 +0200)]
Add option to skip fetch external sources
Added option to check_build_sanity.py to skip running
fetch_sources.py. Allows to run multiple concurrent invocations
of check_build_sanity.py using the same source folder.
Components: Framework
Change-Id: I6289920860fb20287c405cefc0213c27f326857b
Mika Isojärvi [Fri, 14 Jul 2017 22:20:31 +0000 (15:20 -0700)]
Merge Vulkan CTS 1.0.2.4 into aosp/master
Bug:
62712168
Change-Id: Ib5dcdc7645193825171cb93c5a3b8a0820cbc5a1
Mika Isojarvi [Fri, 14 Jul 2017 22:19:32 +0000 (22:19 +0000)]
Merge "Report Android extension pack tests as not supported"
am:
03c395c60f
Change-Id: Ic6936c264bacfc1868aa4cd98fb941459315d141
Mika Isojarvi [Fri, 14 Jul 2017 22:11:54 +0000 (22:11 +0000)]
Merge "Report Android extension pack tests as not supported"
Mika Isojrvi [Fri, 14 Jul 2017 18:08:57 +0000 (18:08 +0000)]
Update GL wrapper to newest API.
am:
7782ec5bab
Change-Id: I2fc3226b845464a631fba0088b37b2b52740ae58
Alexander Galazin [Fri, 14 Jul 2017 18:08:53 +0000 (18:08 +0000)]
Fetch gl.xml, egl.xml from Github repos
am:
ae3759c7c9
Change-Id: I5f2986afdfe687525e5b21284b5358e915d9c3f1
Mika Isojärvi [Thu, 13 Jul 2017 17:55:43 +0000 (10:55 -0700)]
Update GL wrapper to newest API.
Components: Framework
Affects: headers generation
Test: Run some of the functional deqp GLES tests on couple of Pixel
and Nexus devices
Bug:
63669033
Change-Id: Id5e8924a1cec9bc72156efa51625d566ed2681ca
Alexander Galazin [Fri, 24 Feb 2017 20:47:42 +0000 (21:47 +0100)]
Fetch gl.xml, egl.xml from Github repos
SVN repository containing gl.xml and egl.xml is no longer updated.
The new locations for these files are OpenGL-Registry and
EGL-Registry repositories on Github.
Adjust fetching scripts to use the new locations.
Components: Framework
Affects: headers generation
Change-Id: Ic091a46c636d446b6a4751bd3b797bcd19f90014
Alexander Galazin [Wed, 12 Jul 2017 12:38:01 +0000 (14:38 +0200)]
Report Android extension pack tests as not supported
Android extension pack tests can't run on GLES31-only GPUs.
Report such tests as NotSupported.
Components: AOSP
Change-Id: I88ab61e5d0b263428c41a644c6417e24e2f7f234
Mika Isojrvi [Wed, 12 Jul 2017 23:25:34 +0000 (23:25 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
b78f9b0e57 am:
c2180f74a8 am:
76b48a0db2
am:
ff2205c90c
Change-Id: I872be9340c42792080b1030fa8c2d531da5e4206
Mika Isojrvi [Wed, 12 Jul 2017 23:25:04 +0000 (23:25 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
6c0e0ebde7 am:
371f033807 am:
e64be738f6 am:
a242f668a7
am:
7ed7199caf
Change-Id: If35d40070303cc3e8e4cd2936123c18ac2649b06
Mika Isojrvi [Wed, 12 Jul 2017 23:24:51 +0000 (23:24 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d am:
97ce4c6f8c am:
4c56c58687 am:
0ddc9faea1 am:
d2d7d49296 am:
301312d147 am:
4dd9680c5d am:
bf288e2971
am:
1678011b33
Change-Id: Id78ad38d16f7a1d5aaa5f0fef9030e66b185a78a
Mika Isojrvi [Wed, 12 Jul 2017 23:19:29 +0000 (23:19 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
b78f9b0e57 am:
c2180f74a8
am:
76b48a0db2
Change-Id: I75a7c42706acd7852367ccf60d4104c4944d20e8
Mika Isojrvi [Wed, 12 Jul 2017 23:19:14 +0000 (23:19 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
6c0e0ebde7 am:
371f033807 am:
e64be738f6
am:
a242f668a7
Change-Id: I2e8ffbd93eab0fe079dc33aa43c1bd1bf4dca3cc
Mika Isojrvi [Wed, 12 Jul 2017 23:19:01 +0000 (23:19 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d am:
97ce4c6f8c am:
4c56c58687 am:
0ddc9faea1 am:
d2d7d49296 am:
301312d147 am:
4dd9680c5d
am:
bf288e2971
Change-Id: I29e81625b2caef7e790e15969fad9d482d428d83
Mika Isojrvi [Wed, 12 Jul 2017 23:14:46 +0000 (23:14 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
b78f9b0e57
am:
c2180f74a8
Change-Id: Iac06d23b7c2960746859358bc8ee71ae6f3c60a1
Mika Isojrvi [Wed, 12 Jul 2017 23:14:33 +0000 (23:14 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
6c0e0ebde7 am:
371f033807
am:
e64be738f6
Change-Id: I3ab71732aae42ce2d1057c533ff53ca531706428
Mika Isojrvi [Wed, 12 Jul 2017 23:14:20 +0000 (23:14 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d am:
97ce4c6f8c am:
4c56c58687 am:
0ddc9faea1 am:
d2d7d49296 am:
301312d147
am:
4dd9680c5d
Change-Id: I9ac5e5a6fad448e405bf18518589e8d8c02259e2
Mika Isojrvi [Wed, 12 Jul 2017 23:07:20 +0000 (23:07 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da
am:
b78f9b0e57
Change-Id: Ib4da93e41b7aeb93dcb5614cfe5c88d2e7fe3cd5
Mika Isojrvi [Wed, 12 Jul 2017 23:04:14 +0000 (23:04 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
6c0e0ebde7
am:
371f033807
Change-Id: Id2893b6d91866acc764b8030410a8b52d0a98f6f
Mika Isojrvi [Wed, 12 Jul 2017 23:04:02 +0000 (23:04 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
b78f9b0e57
am:
6e213b6fdc
Change-Id: Ibdef51e98254c59b3050d59f74417d98c226114e
Mika Isojrvi [Wed, 12 Jul 2017 23:04:00 +0000 (23:04 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d am:
97ce4c6f8c am:
4c56c58687 am:
0ddc9faea1 am:
d2d7d49296
am:
301312d147
Change-Id: Ief92acaf946b4146cd59f5d43128935c36052d41
Mika Isojrvi [Wed, 12 Jul 2017 22:57:29 +0000 (22:57 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da
am:
6c0e0ebde7
Change-Id: If4af4e7b7e38776f4512e4089db08513dfc3d836
Mika Isojrvi [Wed, 12 Jul 2017 22:55:31 +0000 (22:55 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a
am:
4d1d6446da
Change-Id: I665044280c34a26c85886038cf3022bd490a4d16
Mika Isojrvi [Wed, 12 Jul 2017 22:55:29 +0000 (22:55 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d am:
97ce4c6f8c am:
4c56c58687 am:
0ddc9faea1
am:
d2d7d49296
Change-Id: Ibe5746d2974294959fce2319e7e3ebfff99d8293
Mika Isojrvi [Wed, 12 Jul 2017 22:55:28 +0000 (22:55 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da
am:
b78f9b0e57
Change-Id: I8c3f63b90541d59965f4af1e60cb8654ce734faa
Mika Isojrvi [Wed, 12 Jul 2017 22:53:28 +0000 (22:53 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a
am:
4d1d6446da
Change-Id: I9931765924b1102c011bd1d75522f9b4f7089dd2
Mika Isojrvi [Wed, 12 Jul 2017 22:51:32 +0000 (22:51 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d am:
97ce4c6f8c am:
4c56c58687
am:
0ddc9faea1
Change-Id: I4fbba2ef9ac41c6130da0f0c3b9fba2212bc4f78
Mika Isojrvi [Wed, 12 Jul 2017 22:51:27 +0000 (22:51 +0000)]
Mask compared bits in atomic operation tests.
am:
b2ed9fbe1a
Change-Id: I2f7b4cfbf2d926966af7c9956db670080771c164
Mika Isojrvi [Wed, 12 Jul 2017 22:49:57 +0000 (22:49 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d am:
97ce4c6f8c
am:
4c56c58687
Change-Id: I980ef2baab6051b674a3374d32f4f705a2b67f40
Mika Isojrvi [Wed, 12 Jul 2017 22:48:00 +0000 (22:48 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
e37b18673d
am:
97ce4c6f8c
Change-Id: I56e0700af0ce17a904e5a71852c99e1437d79212
Mika Isojrvi [Wed, 12 Jul 2017 22:45:28 +0000 (22:45 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a
am:
e37b18673d
Change-Id: Ic61ec45f634d0c53b6319b3bed92ef77c5c1b20c
Mika Isojrvi [Wed, 12 Jul 2017 22:43:56 +0000 (22:43 +0000)]
Mask compared bits in atomic operation tests.
am:
b2ed9fbe1a
Change-Id: I34ad163b4088436c5c3f8d41809f626b0904cef0
Mika Isojrvi [Wed, 12 Jul 2017 17:14:19 +0000 (17:14 +0000)]
Add missing files to Android.mk
am:
58f3ba4184
Change-Id: I21e21b4c0c6e4f8aa59bfc1e76abb26969a66b99
Alexander Galazin [Wed, 12 Jul 2017 17:14:17 +0000 (17:14 +0000)]
Add RENDERBUFFER_VALID bit to R8, RG8 definition
am:
1d7c8df82e
Change-Id: Icac62d124fbf4343bd4df66b996df29e141bf904
Mark Adams [Wed, 12 Jul 2017 17:14:14 +0000 (17:14 +0000)]
Check that threads started in multithreading tests
am:
9937c63c41
Change-Id: I91124362afc8e160a92390a455b04b235feedc20
Pyry Haulos [Wed, 12 Jul 2017 17:14:11 +0000 (17:14 +0000)]
Reduce scope of mustpass exclusions due to
22760309
am:
5d86672aa0
Change-Id: I302a5121b2f47b0e007d20de659d6a3a5be69a13
John Richardson [Wed, 12 Jul 2017 17:14:08 +0000 (17:14 +0000)]
Add new large constant array indexing tests
am:
fc35227a44
Change-Id: I5f0f7cd3c728ad654ffd1c50fd35e18311dc2f2a
james.glanville [Wed, 12 Jul 2017 17:14:05 +0000 (17:14 +0000)]
Reset GL_FRAMEBUFFER_SRGB state for ES tests
am:
695727058b
Change-Id: Ibabcb431d04ede9185b526c1b7e8d3acb8ed529b
james.glanville [Wed, 12 Jul 2017 17:14:01 +0000 (17:14 +0000)]
Apply sRGB conversion to reference in sRGB framebuffer fetch test
am:
c76765be1f
Change-Id: I23af2ab9cbec09fafb8aac9e1c6b692a97e86b8e
John Richardson [Wed, 12 Jul 2017 17:13:59 +0000 (17:13 +0000)]
Fix for integer formats in framebuffer extension tests
am:
3bb47b5c57
Change-Id: I697253bc3bc555f2fc6e710fa47bc8b13c7b1fd5
John Richardson [Wed, 12 Jul 2017 17:13:56 +0000 (17:13 +0000)]
Add new framebuffer fetch extension tests
am:
2a609fb223
Change-Id: If72421b67593c260ba77d8e4703b0b9733de8057
John Richardson [Wed, 12 Jul 2017 17:13:53 +0000 (17:13 +0000)]
Code clean up in swizzle math operations script
am:
fc24d7d28c
Change-Id: I53d01de80482c8b26db228cb748d8f9a5ac11fc8
John Richardson [Wed, 12 Jul 2017 17:13:50 +0000 (17:13 +0000)]
Add new swizzle math operation tests
am:
821035bbc9
Change-Id: I5a0906a89e19e244ed43daf9232d2ddb35c266be
Pyry Haulos [Wed, 12 Jul 2017 17:13:47 +0000 (17:13 +0000)]
Fix compute.exceed_atomic_counters_limit
am:
5b837a5b21
Change-Id: I1ceea6a7811449291305f2ebe1cc5e694b5c85c0
Alexander Galazin [Wed, 12 Jul 2017 17:13:45 +0000 (17:13 +0000)]
Ensure vertex shader presence if a geometry shader exists
am:
5dd0c1077c
Change-Id: I36edc9fcc57dc0014d7268cd233d38cafa71819c
Michael Hadley [Wed, 12 Jul 2017 17:13:43 +0000 (17:13 +0000)]
Add negative OES_sample_variables tests
am:
d30cb29294
Change-Id: Ia45069e6615bc288c0012baa898a9988e4a47fe4
John Richardson [Wed, 12 Jul 2017 17:13:40 +0000 (17:13 +0000)]
Add new compute negative coverage tests
am:
db4a886f3f
Change-Id: I21936949454726f533cbb00c50bf7676cdfc3934
John Richardson [Wed, 12 Jul 2017 17:13:38 +0000 (17:13 +0000)]
Add new EGL enum negative case to robustness tests
am:
c77b3cf9f3
Change-Id: If855842a36b3ff75983385b7d41fb18ad8027c07
Michael Hadley [Wed, 12 Jul 2017 17:13:36 +0000 (17:13 +0000)]
Add negative sRGB texture/sampler API tests
am:
a237c0c9ac
Change-Id: Ibbca047e6bc921aa9b4c010c74c0cd3f7b1983c3
Alexander Galazin [Wed, 12 Jul 2017 17:13:33 +0000 (17:13 +0000)]
Fix DrawRangeElementsBaseVertex tests with negative basevertex
am:
bf0b29365e
Change-Id: Ibb0b8fc9cb897a93c64a3ce4fe68fd32a10c9974
John Richardson [Wed, 12 Jul 2017 17:13:29 +0000 (17:13 +0000)]
Add new draw elements base vertex tests
am:
3c865084eb
Change-Id: I4d86b9e26e8e7bed25fbc28322e5f26af863b2ca
Pyry Haulos [Wed, 12 Jul 2017 17:13:26 +0000 (17:13 +0000)]
Fix typo in framebuffer_srgb_unsupported_enum
am:
b46d559e07
Change-Id: Idd1432ebb3645fb99ffaab3a30b97e79a84a7697
John Richardson [Wed, 12 Jul 2017 17:13:22 +0000 (17:13 +0000)]
Add sRGB write decode negative case
am:
6644e7bfef
Change-Id: I891ebd32dba50da03cded87bd8590b0ef3da86e4
Michael Hadley [Wed, 12 Jul 2017 17:13:18 +0000 (17:13 +0000)]
Add sRGB write decode tests
am:
50d8f31f52
Change-Id: I6bdff6bf5586edf15d05fad9a0a8c39fc54b5dce
Mika Isojärvi [Fri, 7 Jul 2017 22:46:05 +0000 (15:46 -0700)]
Add missing files to Android.mk
Change-Id: I843a5b2967b130f3c7399865e1d0e56af840c1ae
Alexander Galazin [Wed, 28 Jun 2017 07:31:31 +0000 (09:31 +0200)]
Add RENDERBUFFER_VALID bit to R8, RG8 definition
FBO completness tests missed that R8/RG8 are valid internal formats
for glRenderbufferStorage* calls starting from GLES3. This caused
the tests to expect error on some implementations.
VK-GL-CTS issue: 532
Components: AOSP
Affects:
dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.r8
dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.rg8
Change-Id: I394ac0e75f83f0a5ca03634629293f109fc0cbb7
Mark Adams [Mon, 19 Jun 2017 15:19:16 +0000 (11:19 -0400)]
Check that threads started in multithreading tests
The EGL GLES2 multithreading sharing tests could interpret a thread
that hadn't started yet as a finished thread.
Commit fd41d5d addressed the same issue but only changed one of the
two test iteration functions.
Author: Onni Kosomaa <okosomaa@nvidia.com>
Change-Id: Ie35390a8d57d9a0e8a679250a63ebb68e100de47
Pyry Haulos [Fri, 12 May 2017 18:26:59 +0000 (11:26 -0700)]
Reduce scope of mustpass exclusions due to
22760309
Bug:
22760309
Change-Id: I65b3e8ac836c87d038ee0f2a1aa033242ae19a1a
John Richardson [Tue, 28 Mar 2017 15:54:13 +0000 (16:54 +0100)]
Add new large constant array indexing tests
New shader library tests for indexing into large constant arrays with
varied sizes and data types (float, vec4).
New tests:
- dEQP-GLES3.functional.shaders.large_constant_arrays.indexing.*
Change-Id: I2d41cc35930969078737b3490c5a2377e7c65446
james.glanville [Wed, 17 May 2017 12:45:37 +0000 (13:45 +0100)]
Reset GL_FRAMEBUFFER_SRGB state for ES tests
GL_EXT_sRGB_write_control adds new state "GL_FRAMEBUFFER_SRGB" which
is enabled by default. This was not reset between tests, meaning state
could leak between tests.
Affects: dEQP-GLES31.functional.fbo.srgb_write_control.
framebuffer_srgb_enabled
Components: AOSP
james.glanville [Thu, 18 May 2017 10:24:06 +0000 (11:24 +0100)]
Apply sRGB conversion to reference in sRGB framebuffer fetch test
Framebuffer fetch returns linear values when the framebuffer format
is sRGB and GL_FRAMEBUFFER_SRGB is enabled (default). This conversion
was not applied when generating reference textures for framebuffer
fetch tests. glReadPixels() does not apply any conversion, so the
final reference value must also be converted back to sRGB.
Affects: dEQP-GLES31.functional.shaders.framebuffer_fetch.
framebuffer_format.srgb8_alpha8
Components: AOSP
John Richardson [Thu, 30 Mar 2017 09:53:48 +0000 (10:53 +0100)]
Fix for integer formats in framebuffer extension tests
Use UVec4 and IVec4 types when calculating composite color for
unsigned and signed integer formats respectively.
Affected tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*
Change-Id: I01cea4a6d99df51939740712b952b5e9191ed1f2
John Richardson [Mon, 20 Mar 2017 17:29:54 +0000 (17:29 +0000)]
Add new framebuffer fetch extension tests
New tests for EXT_shader_framebuffer_buffer_fetch extension. Test cases
for accessing existing framebuffer data as input in the fragment shader.
Includes negative tests cases for invalid shader usage.
New tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.*
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*
- dEQP-GLES31.functional.debug.negative_coverage.*.framebuffer_fetch.*
Change-Id: I8f8aa2312e26c2c709d3e2e2733c497e24669da8
John Richardson [Wed, 29 Mar 2017 08:49:52 +0000 (09:49 +0100)]
Code clean up in swizzle math operations script
Remove redundant arguments in SwizzleCase constructor in gen swizzle
math operations script.
Change-Id: Ib1786db43682a6aa30b5d64ba770ad565ca23ea5
John Richardson [Thu, 23 Mar 2017 09:54:09 +0000 (09:54 +0000)]
Add new swizzle math operation tests
New tests for combined swizzle and math operations using various vector
types. Includes addition, subtraction, multiplication, and division
operations with repeated and non-repeated swizzles.
New tests:
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_add.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_subtract.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_multiply.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_divide.*
Change-Id: I4541a88057f70dd41f4f27b81313748094e76037
Pyry Haulos [Mon, 3 Apr 2017 15:37:57 +0000 (08:37 -0700)]
Fix compute.exceed_atomic_counters_limit
Tests were using large offset instead of large binding value when
attempting to exceed atomic counter limit.
Affects:
dEQP-GLES31.functional.debug.negative_coverage.*.compute.exceed_atomic_counters_limit
Change-Id: I9c89b64de4983ec383a9c76cc44f3ac9f2e782f4
Alexander Galazin [Mon, 8 May 2017 12:59:38 +0000 (14:59 +0200)]
Ensure vertex shader presence if a geometry shader exists
Certain tests verify that INVALID_OPERATION is generated
if a geometry shader is active and mode is incompatible with
the input primitive type of the geometry shader in the currently
installed program object. However these tests have no vertex shader and
this is the real reason why INVALID_OPERATION is generated.
This change ensures that the vertex shader is present.
Components: AOSP
Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_instanced_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_range_elements_base_vertex_primitive_mode_mismatch
Change-Id: I36bcee8892e4f641feadb0b444a53ed35273b727
Boris Zanin [Tue, 11 Jul 2017 12:31:58 +0000 (14:31 +0200)]
Windows build fix. Use deUint types
uint32_t and uint64_t have been replaced with
deUint32 and deUint64 recognizable by Windows.
Components: Vulkan
VK-GL-CTS issue: 358
Change-Id: I5b80d861a63005011f3d0b663d802f97321148f8
Alexander Galazin [Mon, 10 Jul 2017 15:52:41 +0000 (17:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2-confidential-rc into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I328c6582580bf287a02201c200fb4e477c259508
Michael Hadley [Tue, 14 Mar 2017 15:42:34 +0000 (15:42 +0000)]
Add negative OES_sample_variables tests
New Tests:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.log.oes_sample_variables.*
- dEQP-GLES31.functional.debug.negative_coverage.get_error.oes_sample_variables.*
Change-Id: I83bf9b48ca0ac7133419099b1a54ebc4d1cacf20
John Richardson [Mon, 6 Feb 2017 11:28:21 +0000 (11:28 +0000)]
Add new compute negative coverage tests
Test groups added to:
- dEQP-GLES31.functional.debug.negative_coverage.*.compute (new)
New tests:
- program_not_active
- invalid_program_query
- invalid_dispatch_compute_indirect
- invalid_maximum_work_group_counts
- invalid_maximum_work_group_sizes
- invalid_layout_qualifiers
- invalid_write_built_in_constants
- exceed_uniform_block_limit
- exceed_shader_storage_block_limit
- exceed_texture_image_units_limit
- exceed_image_uniforms_limit
- exceed_shared_memory_size_limit
- exceed_uniform_components_limit
- exceed_atomic_counter_buffer_limit
- exceed_atomic_counters_limit
Change-Id: Ifd798652df3b138e174c1d9408b6ecdb003ce7f9
John Richardson [Wed, 29 Mar 2017 13:19:56 +0000 (14:19 +0100)]
Add new EGL enum negative case to robustness tests
New test case for verifying EGL versions < 1.5 do not accept
EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY enum in their attribute
list when creating an EGL context.
Test group:
- dEQP-EGL.functional.robustness.negative_context
New tests:
- invalid_notification_strategy_enum
Change-Id: I6027e880a2e3a97dfaa218c7b094ea727afcc996
Michael Hadley [Wed, 7 Dec 2016 16:11:05 +0000 (16:11 +0000)]
Add negative sRGB texture/sampler API tests
Added sRGB tests to the following:
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.texture.*
- dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader.*
Change-Id: I1ebd5a95c8605a39e4bbb5b4516d0f7b8c11898e
Alexander Galazin [Tue, 9 May 2017 08:44:12 +0000 (10:44 +0200)]
Fix DrawRangeElementsBaseVertex tests with negative basevertex
DrawRangeElementsBaseVertex tests with negative basevertex call
glDrawRangeElementsBaseVertex with start = 0 and basevertex = -1.
According to the spec: If no element array buffer is bound, the vertex ID of
the ith element transferred is indices[i] + basevertex...
If the vertex ID is larger than the maximum value representable by type,
it should behave as if the calculation were upconverted to 32-bit unsigned
integers (with wrapping on overflow conditions).
Behavior of DrawElementsOneInstance is undefined if the vertex ID is negative
for any element, and should be handled as described in section 6.4.
This change ensures that indexMin + baseVertex will be zero or positive value.
Components: AOSP
Affects:
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_byte
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_short
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_int
Change-Id: I07a9e6bc60d4340784d400b5087bb8fff01f0e57
John Richardson [Tue, 14 Feb 2017 09:27:14 +0000 (09:27 +0000)]
Add new draw elements base vertex tests
New tests for EXT_draw_elements_base_vertex extension
exercising the following draw calls
- DrawElementsBaseVertex()
- DrawRangeElementsBaseVertex()
- DrawElementsInstancedBaserVertex()
New test groups:
- dEQP-GLES31.functional.draw_elements_base_vertex.*
New tests:
- indices.*
- base_vertex.*
- builtin_variable.*
- points.*
- triangles.*
- triangle_fan.*
- triangle_strip.*
- lines.*
- line_strip.*
- line_loop.*
Extend dEQP-GLES31.functional.debug.negative_coverage.callbacks.vertex_array.*
tests to include additional mapping and mismatched primitive mode
errors for base vertex draw calls.
New tests:
- *.primitive_mode_mismatch
- *.invalid_map
Change-Id: Iefc9bcddd3fe8831d2bb20f2e46d06f92daa6d6b
Pyry Haulos [Mon, 3 Apr 2017 15:32:07 +0000 (08:32 -0700)]
Fix typo in framebuffer_srgb_unsupported_enum
Test case was not assigning gl.getError() return value into a variable
causing tests to always fail on implementations that don't support ES3.2
or GL_EXT_sRGB_write_control.
Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum
Change-Id: Iafc38b8152f3371ce8c016c4f70feb2bb4604c69
John Richardson [Thu, 30 Mar 2017 14:11:43 +0000 (15:11 +0100)]
Add sRGB write decode negative case
Test to check drivers that don't expose EXT_sRGB_write control return
GL_INVALID_ENUM for related gl calls.
New Tests:
- dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum
Change-Id: I605f70894ead6e5dd317a340d061dcec9a6180c8
Michael Hadley [Wed, 8 Mar 2017 13:28:09 +0000 (13:28 +0000)]
Add sRGB write decode tests
New Tests:
- dEQP-GLES31.functional.fbo.srgb_write_control.*
Change-Id: Ieaaee4c7dc49cc530d8fc42a060e40c706d86e5c
Ehsan Nasiri [Fri, 30 Jun 2017 22:58:19 +0000 (18:58 -0400)]
Fix for variable pointer (writes) in tess.control
Use patch index to avoid multiple increments
VK-GL-CTS issue: 543
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes*tess*
Change-Id: If518fdae084722cc28f19044186dbda07880a50c
Slawomir Cygan [Mon, 3 Jul 2017 13:45:47 +0000 (15:45 +0200)]
cross_instance sync tests: add support for non-KMT Win32 handles
This adds tests for *HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR
handle types.
Affects: dEQP-VK.synchronization.cross_instance.*win32*
VK-GL-CTS issue: 547
Components: Vulkan
Change-Id: I70a577195f5b303c7fd80f88606f35b83a1b2b11
Slawomir Cygan [Mon, 3 Jul 2017 16:50:01 +0000 (18:50 +0200)]
Wrong handle in external fence reset tests
The `importFence()` function resets the passed handle at the end,
so in two consecutive calls the second one is going to use the
wrong handle.
To avoid that the handle is duplicated.
Affects: dEQP-VK.api.external.fence.*reset_*
VK-GL-CTS issue: 549
Components: Vulkan
Change-Id: I2218d2f5ceffe52afe6a2306c3eebac79a24b5a9
Graeme Leese [Thu, 23 Feb 2017 16:56:10 +0000 (16:56 +0000)]
Fix extension support checks in negative api tests
Add checks for tessellation and geometry shader support for negative
shader storage and primitive bounding box tests.
Move all uses of cubemap array textures inside the extension checks in
the texture tests.
Bug:
29835218
Change-Id: I6051fff231285ed7d9c71015c2bb11a9fc7b909b
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
Alexander Galazin [Wed, 5 Jul 2017 13:29:21 +0000 (15:29 +0200)]
Fix gcc 6.3 warnings
Components: Vulkan
Change-Id: I0e4f8d09fef5a6d08a7b7db975de4a68879ea3f8
Juan A. Suarez Romero [Fri, 30 Jun 2017 22:49:05 +0000 (22:49 +0000)]
x11_egl: use quotes to include glesv1_cm directories
am:
f5e7ab6b79
Change-Id: Ic2526cda1127a8e6884676beb4cbb8b93940aab7
Noah Fredriks [Wed, 31 May 2017 18:01:35 +0000 (14:01 -0400)]
Remove individual 3D slice layout transitions
For VK_KHR_maintenance1 render to 3D slice tests using
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBILITY_BIT_KHR, layout
transitions from undefined would actually affect all
slices in the complete mip level instead of just those
specified in the image view. Therefore, don't use
VK_IMAGE_LAYOUT_UNDEFINED when previous subpasses may
have already rendered to the other slices.
Affects: dEQP-VK.pipeline.render_to_image.3d.*
VK-GL-CTS issue: 476
Components: Vulkan
Change-Id: I0cfde62c03f4400246eef192a382d5593c6997e5
Noah Fredriks [Wed, 31 May 2017 18:01:35 +0000 (14:01 -0400)]
Remove individual 3D slice layout transitions
For VK_KHR_maintenance1 render to 3D slice tests using
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBILITY_BIT_KHR, layout
transitions from undefined would actually affect all
slices in the complete mip level instead of just those
specified in the image view. Therefore, don't use
VK_IMAGE_LAYOUT_UNDEFINED when previous subpasses may
have already rendered to the other slices.
Affects: dEQP-VK.pipeline.render_to_image.3d.*
VK-GL-CTS issue: 476
Components: Vulkan
Change-Id: I4faaaf0d849ad89dd68ef643cfe38730221f8f55
Alexander Galazin [Fri, 30 Jun 2017 11:51:02 +0000 (13:51 +0200)]
Exclude variable pointers tests with stores to SSBOs in tess shaders
VK-GL-CTS issue: 543
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes*tess*
Change-Id: I7f8f2f34dda2534e6dcc1f2e81e4a497741a4bfd
Ehsan Nasiri [Thu, 29 Jun 2017 19:04:52 +0000 (15:04 -0400)]
Add ArrayStride decoration to some pointers.
OpPtrAccessChain needs ArrayStride information on variable pointers.
VK-GL-CTS issue: 123
Components: Vulkan
Affects: dEQP-VK.spirv_assembly.instruction.*.variable_pointers.*
Change-Id: I04aa67814b39937b8eeb6254e341c117bc1fc956