platform/upstream/VK-GL-CTS.git
6 years agoAdd new large constant array indexing tests am: fc35227a44 am: a67b2fc329
John Richardson [Wed, 12 Jul 2017 17:27:46 +0000 (17:27 +0000)]
Add new large constant array indexing tests am: fc35227a44 am: a67b2fc329
am: 13c9e990aa

Change-Id: I7345a85dfd0d8791174785a6b2fbc7cc2a802603

6 years agoReset GL_FRAMEBUFFER_SRGB state for ES tests am: 695727058b am: 827499adc8
james.glanville [Wed, 12 Jul 2017 17:27:41 +0000 (17:27 +0000)]
Reset GL_FRAMEBUFFER_SRGB state for ES tests am: 695727058b am: 827499adc8
am: e9d9a9acf8

Change-Id: I7eef48cbcb43e83eed6f7ef046c4e730c93b0e8b

6 years agoApply sRGB conversion to reference in sRGB framebuffer fetch test am: c76765be1f...
james.glanville [Wed, 12 Jul 2017 17:27:37 +0000 (17:27 +0000)]
Apply sRGB conversion to reference in sRGB framebuffer fetch test am: c76765be1f am: 1a2bba672b
am: c8aa5e7fed

Change-Id: I5260a9f12fb8ca7eca90a57baa4077788dc8043c

6 years agoFix for integer formats in framebuffer extension tests am: 3bb47b5c57 am: d88eb27b07
John Richardson [Wed, 12 Jul 2017 17:27:34 +0000 (17:27 +0000)]
Fix for integer formats in framebuffer extension tests am: 3bb47b5c57 am: d88eb27b07
am: d8fb5fb7fb

Change-Id: Ib5ba146b6dccd14f05e97288c680cc20d05209dc

6 years agoAdd new framebuffer fetch extension tests am: 2a609fb223 am: dc459c6a62
John Richardson [Wed, 12 Jul 2017 17:27:32 +0000 (17:27 +0000)]
Add new framebuffer fetch extension tests am: 2a609fb223 am: dc459c6a62
am: a4c92ef7d4

Change-Id: I39cf3a50643455450201ddfd63fcdf251deaa6a2

6 years agoCode clean up in swizzle math operations script am: fc24d7d28c am: e0bc032205
John Richardson [Wed, 12 Jul 2017 17:27:28 +0000 (17:27 +0000)]
Code clean up in swizzle math operations script am: fc24d7d28c am: e0bc032205
am: 64b43a21b6

Change-Id: I0e872f986589cb720ff53a87fda9d99ea1c6f251

6 years agoAdd new swizzle math operation tests am: 821035bbc9 am: 6a85779ded
John Richardson [Wed, 12 Jul 2017 17:27:25 +0000 (17:27 +0000)]
Add new swizzle math operation tests am: 821035bbc9 am: 6a85779ded
am: 11266bc3a1

Change-Id: I37d34ed64c04518586be020122e63642be35f3b3

6 years agoFix compute.exceed_atomic_counters_limit am: 5b837a5b21 am: fd1b8ad87e
Pyry Haulos [Wed, 12 Jul 2017 17:27:22 +0000 (17:27 +0000)]
Fix compute.exceed_atomic_counters_limit am: 5b837a5b21 am: fd1b8ad87e
am: 638172580e

Change-Id: Ib8a03285ca555cc90e0c71697a8c81ed723c0fce

6 years agoEnsure vertex shader presence if a geometry shader exists am: 5dd0c1077c am: 452c2c614e
Alexander Galazin [Wed, 12 Jul 2017 17:27:20 +0000 (17:27 +0000)]
Ensure vertex shader presence if a geometry shader exists am: 5dd0c1077c am: 452c2c614e
am: b7b8287859

Change-Id: Id7d8bbdcddf68a2e45640a6001898518e98a438b

6 years agoAdd negative OES_sample_variables tests am: d30cb29294 am: ffc0164249
Michael Hadley [Wed, 12 Jul 2017 17:27:16 +0000 (17:27 +0000)]
Add negative OES_sample_variables tests am: d30cb29294 am: ffc0164249
am: c509de6311

Change-Id: Ifdfe8ac1efeee67d8b0a2330ffae04517f3548e4

6 years agoAdd new compute negative coverage tests am: db4a886f3f am: 051309e020
John Richardson [Wed, 12 Jul 2017 17:27:13 +0000 (17:27 +0000)]
Add new compute negative coverage tests am: db4a886f3f am: 051309e020
am: a45f930d61

Change-Id: Ib2e7f7a4d3548714749506f88a3806b824902585

6 years agoAdd new EGL enum negative case to robustness tests am: c77b3cf9f3 am: 5d171f9a93
John Richardson [Wed, 12 Jul 2017 17:27:10 +0000 (17:27 +0000)]
Add new EGL enum negative case to robustness tests am: c77b3cf9f3 am: 5d171f9a93
am: 424d50ee8a

Change-Id: Ibea8b64a650ece2e8be0d3f4ad58214b4836974e

6 years agoAdd negative sRGB texture/sampler API tests am: a237c0c9ac am: 33e1879c17
Michael Hadley [Wed, 12 Jul 2017 17:27:07 +0000 (17:27 +0000)]
Add negative sRGB texture/sampler API tests am: a237c0c9ac am: 33e1879c17
am: 531e018dda

Change-Id: I9b521962ddbbcd0d689cffa0a2d70b89583d7897

6 years agoFix DrawRangeElementsBaseVertex tests with negative basevertex am: bf0b29365e am...
Alexander Galazin [Wed, 12 Jul 2017 17:27:04 +0000 (17:27 +0000)]
Fix DrawRangeElementsBaseVertex tests with negative basevertex am: bf0b29365e am: d81d3cdfd6
am: f0a080a380

Change-Id: Iabb82e716178eb0d1b0a6da73b9a69611ad43100

6 years agoAdd new draw elements base vertex tests am: 3c865084eb am: f573b5fc43
John Richardson [Wed, 12 Jul 2017 17:27:02 +0000 (17:27 +0000)]
Add new draw elements base vertex tests am: 3c865084eb am: f573b5fc43
am: de89da5a0e

Change-Id: I745867b920c8ddee0f668b7b61ec2261f505d2a3

6 years agoFix typo in framebuffer_srgb_unsupported_enum am: b46d559e07 am: ca35ff2dec
Pyry Haulos [Wed, 12 Jul 2017 17:26:57 +0000 (17:26 +0000)]
Fix typo in framebuffer_srgb_unsupported_enum am: b46d559e07 am: ca35ff2dec
am: d1399f7f2c

Change-Id: I1464f20c06b756681f745f774d9bdfd6092490e4

6 years agoAdd sRGB write decode negative case am: 6644e7bfef am: f4548f9b1e
John Richardson [Wed, 12 Jul 2017 17:26:53 +0000 (17:26 +0000)]
Add sRGB write decode negative case am: 6644e7bfef am: f4548f9b1e
am: 80f7e7b7df

Change-Id: I5e6bc7eb682ab97186b7232059e88aa2566d7e33

6 years agoAdd sRGB write decode tests am: 50d8f31f52 am: f81147bab9
Michael Hadley [Wed, 12 Jul 2017 17:26:48 +0000 (17:26 +0000)]
Add sRGB write decode tests am: 50d8f31f52 am: f81147bab9
am: 5f7d782194

Change-Id: I733752c2990d9537eb342d2aed178b20a5a7a31a

6 years agoAdd new large constant array indexing tests am: fc35227a44
John Richardson [Wed, 12 Jul 2017 17:21:31 +0000 (17:21 +0000)]
Add new large constant array indexing tests am: fc35227a44
am: a67b2fc329

Change-Id: I34332b77716972d2b60917da6f38e2b95d7ae01b

6 years agoReset GL_FRAMEBUFFER_SRGB state for ES tests am: 695727058b
james.glanville [Wed, 12 Jul 2017 17:21:27 +0000 (17:21 +0000)]
Reset GL_FRAMEBUFFER_SRGB state for ES tests am: 695727058b
am: 827499adc8

Change-Id: Iaecdb92e756d1216bd05403da8db6bc74e620de6

6 years agoApply sRGB conversion to reference in sRGB framebuffer fetch test am: c76765be1f
james.glanville [Wed, 12 Jul 2017 17:21:22 +0000 (17:21 +0000)]
Apply sRGB conversion to reference in sRGB framebuffer fetch test am: c76765be1f
am: 1a2bba672b

Change-Id: I1a81791c072ffb3ad494e85838c4b2dcd9be7b5d

6 years agoFix for integer formats in framebuffer extension tests am: 3bb47b5c57
John Richardson [Wed, 12 Jul 2017 17:21:18 +0000 (17:21 +0000)]
Fix for integer formats in framebuffer extension tests am: 3bb47b5c57
am: d88eb27b07

Change-Id: I1adbf8373b2ae67132f94f691f9d920b6185f052

6 years agoAdd new framebuffer fetch extension tests am: 2a609fb223
John Richardson [Wed, 12 Jul 2017 17:21:14 +0000 (17:21 +0000)]
Add new framebuffer fetch extension tests am: 2a609fb223
am: dc459c6a62

Change-Id: I43a798bf0f9df94a06688028edfb528e9ad8bce0

6 years agoCode clean up in swizzle math operations script am: fc24d7d28c
John Richardson [Wed, 12 Jul 2017 17:21:11 +0000 (17:21 +0000)]
Code clean up in swizzle math operations script am: fc24d7d28c
am: e0bc032205

Change-Id: If5cbe3b023c6976035de0ffb44530912acb98afc

6 years agoAdd new swizzle math operation tests am: 821035bbc9
John Richardson [Wed, 12 Jul 2017 17:21:07 +0000 (17:21 +0000)]
Add new swizzle math operation tests am: 821035bbc9
am: 6a85779ded

Change-Id: I60c89ca84d172945bfed85b5ce1230a8b85a2d2b

6 years agoFix compute.exceed_atomic_counters_limit am: 5b837a5b21
Pyry Haulos [Wed, 12 Jul 2017 17:21:04 +0000 (17:21 +0000)]
Fix compute.exceed_atomic_counters_limit am: 5b837a5b21
am: fd1b8ad87e

Change-Id: Id4ae20b649402cafc4796faba3dc646cae9f150b

6 years agoEnsure vertex shader presence if a geometry shader exists am: 5dd0c1077c
Alexander Galazin [Wed, 12 Jul 2017 17:21:01 +0000 (17:21 +0000)]
Ensure vertex shader presence if a geometry shader exists am: 5dd0c1077c
am: 452c2c614e

Change-Id: Ie72a39bbb34afc14425d683634018bf9ccc07c43

6 years agoAdd negative OES_sample_variables tests am: d30cb29294
Michael Hadley [Wed, 12 Jul 2017 17:20:59 +0000 (17:20 +0000)]
Add negative OES_sample_variables tests am: d30cb29294
am: ffc0164249

Change-Id: Id71dca3ccab15fb40efb64e673d7feea3df3e93a

6 years agoAdd new compute negative coverage tests am: db4a886f3f
John Richardson [Wed, 12 Jul 2017 17:20:56 +0000 (17:20 +0000)]
Add new compute negative coverage tests am: db4a886f3f
am: 051309e020

Change-Id: Icf60bdc5b2eb26aa56f352c5ff6be2e7df3ff317

6 years agoAdd new EGL enum negative case to robustness tests am: c77b3cf9f3
John Richardson [Wed, 12 Jul 2017 17:20:39 +0000 (17:20 +0000)]
Add new EGL enum negative case to robustness tests am: c77b3cf9f3
am: 5d171f9a93

Change-Id: Ib0e4bf70f3b5ad50afb38debb18129f4774ce8c7

6 years agoAdd negative sRGB texture/sampler API tests am: a237c0c9ac
Michael Hadley [Wed, 12 Jul 2017 17:20:37 +0000 (17:20 +0000)]
Add negative sRGB texture/sampler API tests am: a237c0c9ac
am: 33e1879c17

Change-Id: I8bd058ad73fe660617d2f898a3028f820e13cb79

6 years agoFix DrawRangeElementsBaseVertex tests with negative basevertex am: bf0b29365e
Alexander Galazin [Wed, 12 Jul 2017 17:20:34 +0000 (17:20 +0000)]
Fix DrawRangeElementsBaseVertex tests with negative basevertex am: bf0b29365e
am: d81d3cdfd6

Change-Id: Iaca598492886766ead5cc00961b8dcb968453a9a

6 years agoAdd new draw elements base vertex tests am: 3c865084eb
John Richardson [Wed, 12 Jul 2017 17:20:31 +0000 (17:20 +0000)]
Add new draw elements base vertex tests am: 3c865084eb
am: f573b5fc43

Change-Id: Id9442555d9b378f904b8c3e8a82c9b35f5927333

6 years agoFix typo in framebuffer_srgb_unsupported_enum am: b46d559e07
Pyry Haulos [Wed, 12 Jul 2017 17:20:27 +0000 (17:20 +0000)]
Fix typo in framebuffer_srgb_unsupported_enum am: b46d559e07
am: ca35ff2dec

Change-Id: I89be38229b7399e9c03e4d1edbd63acb26facd52

6 years agoAdd sRGB write decode negative case am: 6644e7bfef
John Richardson [Wed, 12 Jul 2017 17:20:22 +0000 (17:20 +0000)]
Add sRGB write decode negative case am: 6644e7bfef
am: f4548f9b1e

Change-Id: Ic1b5b838511c236b080682e23bea0e2d1c495730

6 years agoAdd sRGB write decode tests am: 50d8f31f52
Michael Hadley [Wed, 12 Jul 2017 17:20:18 +0000 (17:20 +0000)]
Add sRGB write decode tests am: 50d8f31f52
am: f81147bab9

Change-Id: I17812a5162de190187b4786efbde45594988eb84

6 years agoAdd new large constant array indexing tests
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

6 years agoReset GL_FRAMEBUFFER_SRGB state for ES tests
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

6 years agoApply sRGB conversion to reference in sRGB framebuffer fetch test
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

6 years agoFix for integer formats in framebuffer extension tests
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

6 years agoAdd new framebuffer fetch extension tests
John Richardson [Wed, 12 Jul 2017 17:13:56 +0000 (17:13 +0000)]
Add new framebuffer fetch extension tests
am: 2a609fb223

Change-Id: If72421b67593c260ba77d8e4703b0b9733de8057

6 years agoCode clean up in swizzle math operations script
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

6 years agoAdd new swizzle math operation tests
John Richardson [Wed, 12 Jul 2017 17:13:50 +0000 (17:13 +0000)]
Add new swizzle math operation tests
am: 821035bbc9

Change-Id: I5a0906a89e19e244ed43daf9232d2ddb35c266be

6 years agoFix compute.exceed_atomic_counters_limit
Pyry Haulos [Wed, 12 Jul 2017 17:13:47 +0000 (17:13 +0000)]
Fix compute.exceed_atomic_counters_limit
am: 5b837a5b21

Change-Id: I1ceea6a7811449291305f2ebe1cc5e694b5c85c0

6 years agoEnsure vertex shader presence if a geometry shader exists
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

6 years agoAdd negative OES_sample_variables tests
Michael Hadley [Wed, 12 Jul 2017 17:13:43 +0000 (17:13 +0000)]
Add negative OES_sample_variables tests
am: d30cb29294

Change-Id: Ia45069e6615bc288c0012baa898a9988e4a47fe4

6 years agoAdd new compute negative coverage tests
John Richardson [Wed, 12 Jul 2017 17:13:40 +0000 (17:13 +0000)]
Add new compute negative coverage tests
am: db4a886f3f

Change-Id: I21936949454726f533cbb00c50bf7676cdfc3934

6 years agoAdd new EGL enum negative case to robustness tests
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

6 years agoAdd negative sRGB texture/sampler API tests
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

6 years agoFix DrawRangeElementsBaseVertex tests with negative basevertex
Alexander Galazin [Wed, 12 Jul 2017 17:13:33 +0000 (17:13 +0000)]
Fix DrawRangeElementsBaseVertex tests with negative basevertex
am: bf0b29365e

Change-Id: Ibb0b8fc9cb897a93c64a3ce4fe68fd32a10c9974

6 years agoAdd new draw elements base vertex tests
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

6 years agoFix typo in framebuffer_srgb_unsupported_enum
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

6 years agoAdd sRGB write decode negative case
John Richardson [Wed, 12 Jul 2017 17:13:22 +0000 (17:13 +0000)]
Add sRGB write decode negative case
am: 6644e7bfef

Change-Id: I891ebd32dba50da03cded87bd8590b0ef3da86e4

6 years agoAdd sRGB write decode tests
Michael Hadley [Wed, 12 Jul 2017 17:13:18 +0000 (17:13 +0000)]
Add sRGB write decode tests
am: 50d8f31f52

Change-Id: I6bdff6bf5586edf15d05fad9a0a8c39fc54b5dce

7 years agoAdd new large constant array indexing tests
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

7 years agoReset GL_FRAMEBUFFER_SRGB state for ES tests
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

7 years agoApply sRGB conversion to reference in sRGB framebuffer fetch test
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

7 years agoFix for integer formats in framebuffer extension tests
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

7 years agoAdd new framebuffer fetch extension tests
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

7 years agoCode clean up in swizzle math operations script
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

7 years agoAdd new swizzle math operation tests
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

7 years agoFix compute.exceed_atomic_counters_limit
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

7 years agoEnsure vertex shader presence if a geometry shader exists
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

7 years agoAdd negative OES_sample_variables tests
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

7 years agoAdd new compute negative coverage tests
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

7 years agoAdd new EGL enum negative case to robustness tests
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

7 years agoAdd negative sRGB texture/sampler API tests
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

7 years agoFix DrawRangeElementsBaseVertex tests with negative basevertex
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

7 years agoAdd new draw elements base vertex tests
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

7 years agoFix typo in framebuffer_srgb_unsupported_enum
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

7 years agoAdd sRGB write decode negative case
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

7 years agoAdd sRGB write decode tests
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

7 years agox11_egl: use quotes to include glesv1_cm directories am: f5e7ab6b79 am: 8f736c4099
Juan A. Suarez Romero [Fri, 30 Jun 2017 22:58:34 +0000 (22:58 +0000)]
x11_egl: use quotes to include glesv1_cm directories am: f5e7ab6b79 am: 8f736c4099
am: 4894b68cb9

Change-Id: I7ae6226816fbf14666f32de47232f57e8deb0258

7 years agox11_egl: use quotes to include glesv1_cm directories am: f5e7ab6b79
Juan A. Suarez Romero [Fri, 30 Jun 2017 22:54:05 +0000 (22:54 +0000)]
x11_egl: use quotes to include glesv1_cm directories am: f5e7ab6b79
am: 8f736c4099

Change-Id: I1ed036b76748718ad559de0506edc2dd9aab0847

7 years agox11_egl: use quotes to include glesv1_cm directories
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

7 years agox11_egl: use quotes to include glesv1_cm directories
Juan A. Suarez Romero [Fri, 30 Jun 2017 12:22:35 +0000 (14:22 +0200)]
x11_egl: use quotes to include glesv1_cm directories

Modifying the CMAKE_EXE_LINKER_FLAGS requires to set the new options
between quotes.

Otherwise, cmake will join the elements with semicolons, generating
incorrect linker flags.

Test: cmake . -DDEQP_TARGET=x11_egl && make
Change-Id: I4d95dc37b6d91ab787b9c2e5568cbe2f08dd472b
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass" am: 7bff163e7f am: 8d0d1e55f9
Pyry Haulos [Wed, 14 Jun 2017 01:59:40 +0000 (01:59 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass" am: 7bff163e7f am: 8d0d1e55f9
am: 68d63a6c74

Change-Id: I4154c0c8a1a25f6eafda6a8b6c7e89859a272021

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass" am: 7bff163e7f
Pyry Haulos [Wed, 14 Jun 2017 01:56:11 +0000 (01:56 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass" am: 7bff163e7f
am: 8d0d1e55f9

Change-Id: Ie03d8a1b9bf46da653da489be791743625618247

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass"
Pyry Haulos [Wed, 14 Jun 2017 01:53:10 +0000 (01:53 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass"
am: 7bff163e7f

Change-Id: I6cf0daeb9c55582df939fca37bf48a383423e17d

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass"
Treehugger Robot [Wed, 14 Jun 2017 01:43:04 +0000 (01:43 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass"

7 years agoTouch watchdog before freeing objs in max_concurrent am: 815781b777 am: 6cbc014cfb
Pyry Haulos [Wed, 14 Jun 2017 01:37:38 +0000 (01:37 +0000)]
Touch watchdog before freeing objs in max_concurrent am: 815781b777 am: 6cbc014cfb
am: e7f15283a8

Change-Id: I4c44f6777f50bf9026b1f6b93c7e871ad0c89f1b

7 years agoTouch watchdog before freeing objs in max_concurrent am: 815781b777
Pyry Haulos [Wed, 14 Jun 2017 01:34:11 +0000 (01:34 +0000)]
Touch watchdog before freeing objs in max_concurrent am: 815781b777
am: 6cbc014cfb

Change-Id: I78120d1a74741c1fbf2a157330ac736002102398

7 years agoTouch watchdog before freeing objs in max_concurrent
Pyry Haulos [Wed, 14 Jun 2017 01:30:08 +0000 (01:30 +0000)]
Touch watchdog before freeing objs in max_concurrent
am: 815781b777

Change-Id: I1a868dfb1fe436e91e785e5e41bae4c61fb19d05

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev am: 840e33e440
Pyry Haulos [Tue, 13 Jun 2017 23:50:59 +0000 (23:50 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev am: 840e33e440
am: 30c20c9688

Change-Id: I974820b7c867f097d5e65ca82587aff4b673d018

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev am: 840e33e440
Pyry Haulos [Tue, 13 Jun 2017 23:48:22 +0000 (23:48 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev am: 840e33e440
am: 6523455d5c

Change-Id: I4549e252f6f22abcee2cfb5c63b1b2b4300b9f76

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev
Pyry Haulos [Tue, 13 Jun 2017 23:41:58 +0000 (23:41 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev
am: 840e33e440

Change-Id: I63672ec37d8680eb05ddc5d5ba74b5d1365be4d7

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev
Pyry Haulos [Tue, 13 Jun 2017 23:37:58 +0000 (23:37 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev
am: 840e33e440

Change-Id: Icafa3054e8f06d3c5f7fdab947a2c9402ac3e5dc

7 years agoRemove EGL gles1.rgb565_window from mustpass
Pyry Haulos [Tue, 13 Jun 2017 21:08:33 +0000 (14:08 -0700)]
Remove EGL gles1.rgb565_window from mustpass

Bug: 30041221
Change-Id: Idc8e3d1d78c568fa8d4209c61eaec52ca5696356
(cherry picked from commit 22eb25c58f0a1aa1de401a38778471c8b6700ffd)

7 years agoTouch watchdog before freeing objs in max_concurrent
Pyry Haulos [Wed, 7 Jun 2017 22:58:05 +0000 (15:58 -0700)]
Touch watchdog before freeing objs in max_concurrent

Affects:
dEQP-VK.api.object_management.max_concurrent.*

Components: Vulkan
Google bug: 37515046

Change-Id: I57eb68764a55b5dceeb3e2676b8b1b298c0ff67e
(cherry picked from commit 252fb76fec02af6e2281da3bc9eea4e0d7972f12)

7 years agoMerge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 23:25:24 +0000 (23:25 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass" into oc-dev

7 years agoMerge "Touch watchdog before freeing objs in max_concurrent" into oc-dev am: 47e683efe5
Pyry Haulos [Tue, 13 Jun 2017 23:24:29 +0000 (23:24 +0000)]
Merge "Touch watchdog before freeing objs in max_concurrent" into oc-dev am: 47e683efe5
am: 3b58165c1a

Change-Id: Ib9b71a0c267a1b2a663dd26413453763112bea51

7 years agoMerge "Touch watchdog before freeing objs in max_concurrent" into oc-dev am: 47e683efe5
Pyry Haulos [Tue, 13 Jun 2017 23:21:47 +0000 (23:21 +0000)]
Merge "Touch watchdog before freeing objs in max_concurrent" into oc-dev am: 47e683efe5
am: 8d5e165a14

Change-Id: I5949e6a570a12c224b80d5d4e144fc9fbd73594f

7 years agoMerge "Touch watchdog before freeing objs in max_concurrent" into oc-dev
Pyry Haulos [Tue, 13 Jun 2017 23:16:52 +0000 (23:16 +0000)]
Merge "Touch watchdog before freeing objs in max_concurrent" into oc-dev
am: 47e683efe5

Change-Id: I2aa73621947b61f99a4419ae9194547df56bfbef

7 years agoMerge "Touch watchdog before freeing objs in max_concurrent" into oc-dev
Pyry Haulos [Tue, 13 Jun 2017 23:16:27 +0000 (23:16 +0000)]
Merge "Touch watchdog before freeing objs in max_concurrent" into oc-dev
am: 47e683efe5

Change-Id: Ia7dedbaf3e830eb38f62917456227d3495743964

7 years agoMerge "Touch watchdog before freeing objs in max_concurrent" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 22:56:24 +0000 (22:56 +0000)]
Merge "Touch watchdog before freeing objs in max_concurrent" into oc-dev

7 years agoRemove EGL gles1.rgb565_window from mustpass
Pyry Haulos [Tue, 13 Jun 2017 21:08:33 +0000 (14:08 -0700)]
Remove EGL gles1.rgb565_window from mustpass

Bug: 30041221
Change-Id: Idc8e3d1d78c568fa8d4209c61eaec52ca5696356

7 years agoMerge "Skip OOB SSBO fragment tests for ES3.1 GPUs am: 66241e9dbb am: 58015e2810...
Android Build Merger (Role) [Sun, 11 Jun 2017 08:24:18 +0000 (08:24 +0000)]
Merge "Skip OOB SSBO fragment tests for ES3.1 GPUs am: 66241e9dbb am: 58015e2810" into oc-dr1-dev-plus-aosp

7 years agoSkip OOB SSBO fragment tests for ES3.1 GPUs am: 66241e9dbb
Alexander Galazin [Sun, 11 Jun 2017 08:24:09 +0000 (08:24 +0000)]
Skip OOB SSBO fragment tests for ES3.1 GPUs am: 66241e9dbb
am: 460fa5c966

Change-Id: I59507086db4ebefacb0f699f8ab861bd3d3e45a1

7 years agoSkip OOB SSBO fragment tests for ES3.1 GPUs am: 66241e9dbb
Alexander Galazin [Sun, 11 Jun 2017 08:24:09 +0000 (08:24 +0000)]
Skip OOB SSBO fragment tests for ES3.1 GPUs am: 66241e9dbb
am: 58015e2810

Change-Id: I00a4e21b17794f51977eb98ccf055a5999a89e86

7 years agoSkip OOB SSBO fragment tests for ES3.1 GPUs
Alexander Galazin [Sun, 11 Jun 2017 08:21:38 +0000 (08:21 +0000)]
Skip OOB SSBO fragment tests for ES3.1 GPUs
am: 66241e9dbb

Change-Id: I247693ae9d2858d3e7a296edc5f3019d430144df