Brian Anderson [Thu, 9 Mar 2017 00:00:00 +0000 (00:00 +0000)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps am:
40fd86f16f am:
7cc41a5dfc
am:
f4f65e7140
Change-Id: Ib25708207fa5bef96304c9d8c6b685ac9d55b916
Brian Anderson [Wed, 8 Mar 2017 23:57:30 +0000 (23:57 +0000)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps am:
40fd86f16f
am:
7cc41a5dfc
Change-Id: Ib52a38e00b1edbcdb2bbd209ef87dc50a875a42b
Brian Anderson [Wed, 8 Mar 2017 23:54:32 +0000 (23:54 +0000)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps
am:
40fd86f16f
Change-Id: I35b0be79672d223b67d1d4c45d08296656d10995
Brian Anderson [Tue, 7 Mar 2017 00:34:03 +0000 (16:34 -0800)]
Fix flakiness of compositeDeadline check of eglGetFrameTimestsmps
maxDeadline already has some slack built into the check.
This ensures proper slack for the mindDeadline too.
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
John Richardson [Mon, 6 Mar 2017 20:37:21 +0000 (20:37 +0000)]
Merge "Modify EGL robustness tests to use VBOs" am:
c9dcf19f73 am:
c3629c05cc
am:
27d6b7fdb7
Change-Id: I3f38f090d943c5b9416d772dd7601bc386b24be0
John Richardson [Mon, 6 Mar 2017 20:34:50 +0000 (20:34 +0000)]
Merge "Modify EGL robustness tests to use VBOs" am:
c9dcf19f73
am:
c3629c05cc
Change-Id: Ic5b01373b0c62d6a0ac7450169d4374b625e77bb
John Richardson [Mon, 6 Mar 2017 20:32:50 +0000 (20:32 +0000)]
Merge "Modify EGL robustness tests to use VBOs"
am:
c9dcf19f73
Change-Id: I1714d2246abf3567f64c5228051bd02febbc9153
Treehugger Robot [Mon, 6 Mar 2017 19:54:49 +0000 (19:54 +0000)]
Merge "Modify EGL robustness tests to use VBOs"
John Richardson [Fri, 3 Mar 2017 12:01:08 +0000 (12:01 +0000)]
Modify EGL robustness tests to use VBOs
Remove use of client-side vertex arrays and use buffer objects instead.
Delete buffers on teardown and in destructor.
Move test description logs to start log file.
Affected tests:
- dEQP-EGL.functional.robustness.reset_context.*
Change-Id: I9432258f30d6c7e02362c0b2f6c36fc3694bd72d
Pyry Haulos [Fri, 3 Mar 2017 23:52:49 +0000 (23:52 +0000)]
Fix "null" ID in sRGB decode tests am:
ab0a5da69e am:
d1d2cbde30
am:
52d58263af
Change-Id: I20cefe1628ee571d0c93d3332aac31cf29e9e75d
Pyry Haulos [Fri, 3 Mar 2017 23:49:49 +0000 (23:49 +0000)]
Fix "null" ID in sRGB decode tests am:
ab0a5da69e
am:
d1d2cbde30
Change-Id: I757511322c611abac05ba4062e55f2189bed29e7
Pyry Haulos [Fri, 3 Mar 2017 23:46:49 +0000 (23:46 +0000)]
Fix "null" ID in sRGB decode tests
am:
ab0a5da69e
Change-Id: If565564c9d688b98251e22d99393366e4324510b
Pyry Haulos [Fri, 3 Mar 2017 16:44:08 +0000 (08:44 -0800)]
Fix "null" ID in sRGB decode tests
Use 0 as "null" GL object ID as -1 is potentially valid ID.
Change-Id: I95f9f0c300d5b6e95c0c7c81e29fd28ac9ca3b82
Mark Adams [Thu, 2 Mar 2017 19:22:01 +0000 (19:22 +0000)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5 am:
2c74c73891 am:
ffd7498e5b
am:
5a3babd313
Change-Id: I354aff33d7c6942b329f76267831bcc5e5f2d042
Mark Adams [Thu, 2 Mar 2017 19:20:01 +0000 (19:20 +0000)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5 am:
2c74c73891
am:
ffd7498e5b
Change-Id: I48ca85e51860da627b9f869b6860141a09fba129
Mark Adams [Thu, 2 Mar 2017 19:18:04 +0000 (19:18 +0000)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5
am:
2c74c73891
Change-Id: I8403a6326362debb827a2d1bcac73d0c15e26796
Mark Adams [Thu, 2 Mar 2017 15:19:49 +0000 (10:19 -0500)]
Modify single_tessellation_stage to check for GL_NV_gpu_shader5
That extension permits the use of a tessellation control shader
without a tessellation evaluation shader. Affected tests:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage
John Richardson [Tue, 28 Feb 2017 18:54:51 +0000 (18:54 +0000)]
Add new robustness extension tests am:
83c250d247 am:
9df12c2edc
am:
630f00b166
Change-Id: I8fc1a380b0e178c4bf0185612e6001f29a6d7fbf
John Richardson [Tue, 28 Feb 2017 18:52:51 +0000 (18:52 +0000)]
Add new robustness extension tests am:
83c250d247
am:
9df12c2edc
Change-Id: I340336a60a379623253d3047731883e712e1bc65
John Richardson [Tue, 28 Feb 2017 18:50:21 +0000 (18:50 +0000)]
Add new robustness extension tests
am:
83c250d247
Change-Id: I6948a8bacbe8d65b7b814085a58ea1212f8e0223
John Richardson [Wed, 1 Feb 2017 15:00:53 +0000 (15:00 +0000)]
Add new robustness extension tests
New tests for KHR_robustness extension. Attempts to provoke context
reset scenarios and test GL state after a reset has occurred.
New test group:
- dEQP-EGL.functional.robustness.*
New tests:
- create_context.query_robust_access
- create_context.no_reset_notification
- create_context.lose_context_on_reset
- reset_context.shaders.infinite_loop.* (various shaders)
- reset_context.shaders.out_of_bounds.* (various resource types)
- reset_context.fixed_function_pipeline.* (index and vertex buffers)
- negative_context.invalid_robust_context_creation
- negative_context.invalid_robust_shared_context_creation
Note: Test groups ending in *_non_robust are for internal use only.
Change-Id: I91d7e3e95ec52f908dbaa1f49c56dcd94d60fd8f
Mika Isojrvi [Tue, 28 Feb 2017 00:43:19 +0000 (00:43 +0000)]
Fix tessellation support checks in negative binding tests am:
698b728335 am:
04deca9bc5
am:
d059396f65
Change-Id: Ia96663b0d3e166744ecca1cbe71a01dede64b149
Mika Isojrvi [Tue, 28 Feb 2017 00:41:19 +0000 (00:41 +0000)]
Fix tessellation support checks in negative binding tests am:
698b728335
am:
04deca9bc5
Change-Id: I42113c89816159270a66c8e847b28d005a9f041a
Mika Isojrvi [Tue, 28 Feb 2017 00:38:50 +0000 (00:38 +0000)]
Fix tessellation support checks in negative binding tests
am:
698b728335
Change-Id: Ic18ca67f2ee63511af0334c1e14a99ec7aa2e970
Mika Isojärvi [Wed, 22 Feb 2017 21:25:59 +0000 (13:25 -0800)]
Fix tessellation support checks in negative binding tests
Bug:
35618877
Test: Run the tests on couple of devices supporting tessellation
Change-Id: Ieca6a28a57a278a07ff688f760eb7da807e66d49
Pyry Haulos [Mon, 27 Feb 2017 22:41:59 +0000 (22:41 +0000)]
Merge Vulkan CTS 1.0.2.1 into AOSP am:
71ddde91a1 am:
78f497a2fa
am:
b3eb60301a
Change-Id: Ice5b95f7419fecbf588a2fce459e3802dcca0729
Pyry Haulos [Mon, 27 Feb 2017 22:40:23 +0000 (22:40 +0000)]
Merge Vulkan CTS 1.0.2.1 into AOSP am:
71ddde91a1
am:
78f497a2fa
Change-Id: I5b30ea1266ff65dce3a8ebff6e0c68ccaef8da03
Pyry Haulos [Mon, 27 Feb 2017 22:38:56 +0000 (22:38 +0000)]
Merge Vulkan CTS 1.0.2.1 into AOSP
am:
71ddde91a1
Change-Id: I563ec933a1b8618bee02654891be7b2bfea2a9fb
Pyry Haulos [Mon, 27 Feb 2017 19:26:45 +0000 (11:26 -0800)]
Merge Vulkan CTS 1.0.2.1 into AOSP
Change-Id: Ib0aaf12ec60902ebc31d00ad02291bd3d1cd7fae
Graeme Leese [Sat, 25 Feb 2017 22:24:56 +0000 (22:24 +0000)]
Fix extension support checks in negative api tests am:
0297569515 am:
52b47cb46a
am:
a4b71dab4b
Change-Id: If245c1dcfb29034a842aa6d0cb87078dedae5c31
Graeme Leese [Sat, 25 Feb 2017 22:21:27 +0000 (22:21 +0000)]
Fix extension support checks in negative api tests am:
0297569515
am:
52b47cb46a
Change-Id: I942df917248abb36c48d94198f690a0e8d08a596
Graeme Leese [Sat, 25 Feb 2017 22:18:25 +0000 (22:18 +0000)]
Fix extension support checks in negative api tests
am:
0297569515
Change-Id: I40dfed65aec5fd9b300e21fbdb416d3a519ac4a5
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>
Pyry Haulos [Fri, 24 Feb 2017 17:06:34 +0000 (17:06 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048" am:
eae50b9cdb am:
f138de1efa
am:
625103915e
Change-Id: I734d55617826e565d964ab9371fd028f51e4e077
Pyry Haulos [Fri, 24 Feb 2017 17:03:34 +0000 (17:03 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048" am:
eae50b9cdb
am:
f138de1efa
Change-Id: Ice542bdff284e34b609260dd36237381160a672c
Pyry Haulos [Fri, 24 Feb 2017 16:59:34 +0000 (16:59 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048"
am:
eae50b9cdb
Change-Id: I37e5f993fcdafd1a2f304ec9deba53f2dc2c4fb0
Pyry Haulos [Fri, 24 Feb 2017 16:52:34 +0000 (16:52 +0000)]
Merge "Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048"
Mark Adams [Thu, 23 Feb 2017 22:37:01 +0000 (22:37 +0000)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5 am:
0e7a9e61ae am:
2598aa2ce0
am:
c0fbc9800f
Change-Id: Ie04e0943ca01b840653030152b840f7c2b06e66a
Mark Adams [Thu, 23 Feb 2017 22:32:55 +0000 (22:32 +0000)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5 am:
0e7a9e61ae
am:
2598aa2ce0
Change-Id: I1c2ad5bba87cae69c6149970c35be15b9b663206
Mark Adams [Thu, 23 Feb 2017 22:27:31 +0000 (22:27 +0000)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5
am:
0e7a9e61ae
Change-Id: I39d7e05e29ab408467c46929672e01b9e112da47
Pyry Haulos [Thu, 23 Feb 2017 20:50:22 +0000 (12:50 -0800)]
Drop MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS to 2048
GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax has been changed to
2048 (from 4096) in OpenGL ES 3.2 spec in response to bug 12823.
Bug:
35619900
Change-Id: I59d75d23df02d339bf7094a8e73d3a24d2e785be
Mark Adams [Wed, 22 Feb 2017 22:03:36 +0000 (17:03 -0500)]
Modify tessellation_not_active to check for GL_NV_gpu_shader5
That extension permits use of GL_PATCHES for stages other than
tessellation stages. Affected test:
dEQP-GLES31.functional.debug.negative_coverage.get_error.tessellation.tessellation_not_active
Bug
35670519
Pyry Haulos [Wed, 22 Feb 2017 19:57:27 +0000 (19:57 +0000)]
Merge "Fix whitespace issues" am:
09b0225a8a am:
f8b6504bce
am:
3ab3152bbc
Change-Id: Ifff1d6ffbdec302ad74705924897d7487d3783c8
John Richardson [Wed, 22 Feb 2017 19:57:19 +0000 (19:57 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase am:
59999de58c am:
7620b8e998
am:
e15f8d24b5
Change-Id: Id997af42666770e273f86a05cf3cb8122b3286dc
Pyry Haulos [Wed, 22 Feb 2017 19:55:56 +0000 (19:55 +0000)]
Merge "Fix whitespace issues" am:
09b0225a8a
am:
f8b6504bce
Change-Id: I709357634ae1efd756d9235cf9fcb700f5cabd98
John Richardson [Wed, 22 Feb 2017 19:55:48 +0000 (19:55 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase am:
59999de58c
am:
7620b8e998
Change-Id: If9a51ce10926f4feac40e22924f31147a8d6c350
Pyry Haulos [Wed, 22 Feb 2017 19:53:08 +0000 (19:53 +0000)]
Merge "Fix whitespace issues"
am:
09b0225a8a
Change-Id: Ie42bd577ea465b047bee4df2ec6d3f970bf4c267
John Richardson [Wed, 22 Feb 2017 19:52:58 +0000 (19:52 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase
am:
59999de58c
Change-Id: I43199430d5a6e55c4efa6067b298a22865a5d2c1
Treehugger Robot [Wed, 22 Feb 2017 19:44:27 +0000 (19:44 +0000)]
Merge "Fix whitespace issues"
John Richardson [Mon, 20 Feb 2017 11:26:04 +0000 (11:26 +0000)]
Add non-seperable TCS-but-no-TES subcase and fix draw time check subcase
- Add a non-separable TCS-but-no-TES (new subcase).
Section 7.3 of the OpenGL ES 3.2 specification says:
"Linking can fail for [...] any of the following reasons:
* program contains an object to form a tessellation evaluation
shader [...] and [...] the program is not separable and
contains no object to form a tessellation control shader"
Add a test to ensure the implementation does raise a link error.
- Make program separable in TES-but-no-TCS draw time check test (fix)
Since the test is trying to check for a draw time error, it should use
a separable program - otherwise we may hit a link error.
Changes made to test case:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage
Bug:
35354738
Change-Id: I902106864059cfbe7d718da0d0527284de04a915
Brian Anderson [Wed, 22 Feb 2017 18:14:13 +0000 (18:14 +0000)]
Add GetFrameTimestamps tests am:
e288d40afc am:
3ba03a8a72
am:
08ab339a5b
Change-Id: I217b3feb9651acfc4d5c50a4f303135c80e857af
Brian Anderson [Wed, 22 Feb 2017 18:12:11 +0000 (18:12 +0000)]
Add GetFrameTimestamps tests am:
e288d40afc
am:
3ba03a8a72
Change-Id: I2b50aa8ebee6b6b42542547a08baa871c7625e31
Brian Anderson [Wed, 22 Feb 2017 18:11:11 +0000 (18:11 +0000)]
Add GetFrameTimestamps tests
am:
e288d40afc
Change-Id: I8429c7d4979a2cac18501f6e68cbfbdd60b659cc
Pyry Haulos [Wed, 22 Feb 2017 18:05:57 +0000 (10:05 -0800)]
Fix whitespace issues
Change-Id: I31cd4e4d3e113192fce0bccd20fd8fa14d182620
Brian Anderson [Sun, 22 Jan 2017 00:03:19 +0000 (16:03 -0800)]
Add GetFrameTimestamps tests
Add tests for EGL_ANDROID_get_frame_timestamps.
Verifies:
1) Frame IDs properly identify frames.
2) The frame timestamp ordering is correct
3) The compositor timing values are reasonable.
4) All timestamps from the most recently swapped frame can
be retrieved without additional swaps.
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I393a3bc79f019951a2fddb83760b6e1d919663b6
Mark Adams [Tue, 21 Feb 2017 19:02:47 +0000 (19:02 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests" am:
d4a9effab0 am:
cedac8ca54
am:
499cbe679f
Change-Id: I6a9e2f90465eff40681918b90d52545320d4ac4a
Mark Adams [Tue, 21 Feb 2017 19:00:47 +0000 (19:00 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests" am:
d4a9effab0
am:
cedac8ca54
Change-Id: I87588c2347aa38ad93764b605e116cc4da34d289
Mark Adams [Tue, 21 Feb 2017 18:58:47 +0000 (18:58 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests"
am:
d4a9effab0
Change-Id: I48306394fd0d053c2a8a7f75b0bf6cadab196416
Treehugger Robot [Tue, 21 Feb 2017 18:52:36 +0000 (18:52 +0000)]
Merge "Fix multiple resource leaks in new srgb_texture_decode tests"
Kalle Raita [Tue, 21 Feb 2017 18:18:51 +0000 (18:18 +0000)]
Merge "Reduce read pixel calls in copy image tests" am:
dbec7154ee am:
0213098549
am:
04ad91051d
Change-Id: I674019209dc80079e848e2d5898a6b0c6b989a98
Kalle Raita [Tue, 21 Feb 2017 18:18:40 +0000 (18:18 +0000)]
Merge "Restructure copy image test iterations" am:
7ac38a6fa1 am:
dae41c30d3
am:
11a3c5d0a1
Change-Id: I6536bfa6ab9142f82bced640257a16edf9f12beb
Kalle Raita [Tue, 21 Feb 2017 18:13:42 +0000 (18:13 +0000)]
Merge "Reduce read pixel calls in copy image tests" am:
dbec7154ee
am:
0213098549
Change-Id: I5afeb75e85b5695a37f3e3887149f304b3ec8669
Kalle Raita [Tue, 21 Feb 2017 18:13:33 +0000 (18:13 +0000)]
Merge "Restructure copy image test iterations" am:
7ac38a6fa1
am:
dae41c30d3
Change-Id: Ia3bae500922e203c8b2868726fb81637dbbe822d
Kalle Raita [Tue, 21 Feb 2017 18:05:15 +0000 (18:05 +0000)]
Merge "Reduce read pixel calls in copy image tests"
am:
dbec7154ee
Change-Id: Ibd29b783a757e1e990a2df311930d8b2e2891e17
Kalle Raita [Tue, 21 Feb 2017 18:05:05 +0000 (18:05 +0000)]
Merge "Restructure copy image test iterations"
am:
7ac38a6fa1
Change-Id: Iccf30a576faeff73861dc8fb35d0a1ba2bff7722
Kalle Raita [Tue, 21 Feb 2017 17:43:45 +0000 (17:43 +0000)]
Merge "Reduce read pixel calls in copy image tests"
Kalle Raita [Tue, 21 Feb 2017 17:43:25 +0000 (17:43 +0000)]
Merge "Restructure copy image test iterations"
Mark Adams [Fri, 17 Feb 2017 19:14:18 +0000 (14:14 -0500)]
Fix multiple resource leaks in new srgb_texture_decode tests
There were multiple issues here, ranging from never freeing resources,
to overwriting resources, to only freeing them at class destruction
instead of deinit time. This was resulting in hitting OOM on platforms
without tons of memory.
Bug:
35457323
Change-Id: I492177bb9e71bdbc7efc9d3a7c8a34bef35c709e
Pyry Haulos [Fri, 17 Feb 2017 20:30:27 +0000 (20:30 +0000)]
Merge changes Icb29d2da,Ida906e21 am:
fc868645e2 am:
1cf9161f6f
am:
12b6e41013
Change-Id: I1754833ed6780a95dff8c2266dd0a330c0be3e07
Pyry Haulos [Fri, 17 Feb 2017 20:27:58 +0000 (20:27 +0000)]
Merge changes Icb29d2da,Ida906e21 am:
fc868645e2
am:
1cf9161f6f
Change-Id: I53a2d1d2533a5007914ac1df02a8b0f726ee043d
Pyry Haulos [Fri, 17 Feb 2017 20:26:29 +0000 (20:26 +0000)]
Merge changes Icb29d2da,Ida906e21
am:
fc868645e2
Change-Id: I38ff3fe87631327ac251819797d965d81f064151
Pyry Haulos [Fri, 17 Feb 2017 20:21:40 +0000 (20:21 +0000)]
Merge changes Icb29d2da,Ida906e21
* changes:
Add a non-separable TCS-but-no-TES subcase.
Make program separable in TCS-but-no-TES draw time check test.
Petros Bantolas [Fri, 4 Nov 2016 15:12:52 +0000 (15:12 +0000)]
Test descriptor_update_template, push_descriptor
Extended the existing binding_model tests with 3 new variants,
'with_template', 'with_push_template' and 'with_push'.
The least invasive method to support push descriptor updates without
template was to persist the DescriptorSetUpdateBuilder object in the
test instance classes, so that it can be referenced when building the
command buffer.
Change-Id: I731fa41c5ff99ab1d390d77d7aabb4424e091e35
(cherry picked from commit
7f5ba3914c1d9033dd4f896ef6fcaa22f5c5e038)
Michael Hadley [Tue, 14 Feb 2017 23:53:45 +0000 (23:53 +0000)]
Add sRGB skip decode test am:
b4d41f1ef0 am:
f6cf6363b2 am:
345202e258
am:
e82d2447ee
Change-Id: Ib597d7a81fb512e8b04f8b8ca654845df12a1862
Michael Hadley [Tue, 14 Feb 2017 23:33:26 +0000 (23:33 +0000)]
Add sRGB skip decode test am:
b4d41f1ef0 am:
f6cf6363b2
am:
345202e258
Change-Id: I20812cac7a2129669d8f84323bdfec1a705b85f8
Michael Hadley [Tue, 14 Feb 2017 23:21:38 +0000 (23:21 +0000)]
Add sRGB skip decode test am:
b4d41f1ef0
am:
f6cf6363b2
Change-Id: I3e5f03995cf89fca1d1f7b86ccf8a7bf3c9aca4b
Michael Hadley [Tue, 14 Feb 2017 23:19:36 +0000 (23:19 +0000)]
Add sRGB skip decode test
am:
b4d41f1ef0
Change-Id: Iedee2d7eaf8bbe3f78412569e464e8e6377e1735
Michael Hadley [Wed, 1 Feb 2017 12:48:08 +0000 (12:48 +0000)]
Add sRGB skip decode test
New Tests:
- deqp-case=dEQP-GLES31.functional.srgb_texture_decode.*
Change-Id: I0257e63b15ee0334efad985411d8070ddecdd51a
Kalle Raita [Thu, 19 Jan 2017 22:15:58 +0000 (14:15 -0800)]
Reduce read pixel calls in copy image tests
Reduce glReadPixels calls in the copy image tests by rendering multiple
texture sub-images for each read back. Significant improvement for
certain platforms, no impact on others.
Bug:
33965234
Test: Run tests on Pixel C and Pixel XL, Check that old N9 results still
have same failures. Spot checks with 240x200 target surface.
Change-Id: I133c56b7855a664f164f1eb0b1307259462e098f
Kalle Raita [Tue, 24 Jan 2017 19:47:17 +0000 (11:47 -0800)]
Restructure copy image test iterations
Packing test iterations so that work per buffer swap is maximized
without running the risk of hitting per-iteration timeout. Yields
execution time drops of roughly 50% on at least 2 GPU architectures.
Bug:
33965234
Test: Copy image tests on multiple devices and L MR1 N9 for detection capability.
Change-Id: I7de5231da0d8a1d2bd22ec3741f1481e2ebd5475
Kenneth Graunke [Sat, 11 Feb 2017 06:45:39 +0000 (22:45 -0800)]
Add a non-separable TCS-but-no-TES subcase.
"Linking can fail for [...] any of the following reasons:
* program contains an object to form a tessellation control
shader [...] and [...] the program is not separable and
contains no object to form a tessellation evaluation shader"
Add a test to ensure the implementation does raise a link error.
The new subcase is part of:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage
Change-Id: Icb29d2da50b2c327bfd2196af9be56bb7d8644f9
Kenneth Graunke [Sat, 11 Feb 2017 05:30:50 +0000 (21:30 -0800)]
Make program separable in TCS-but-no-TES draw time check test.
Section 7.3 of the OpenGL ES 3.2 specification says:
"Linking can fail for [...] any of the following reasons:
* program contains an object to form a tessellation control
shader [...] and [...] the program is not separable and
contains no object to form a tessellation evaluation shader"
Since the test is trying to check for a draw time error, it should use
a separable program - otherwise we may hit a link error.
Fixes a bug in:
dEQP-GLES31.functional.debug.negative_coverage.*.tessellation.single_tessellation_stage
Change-Id: Ida906e21c3e3534fd2a8c7bac0334083881bdb19
Pyry Haulos [Mon, 13 Feb 2017 18:42:12 +0000 (10:42 -0800)]
Update Android CTS Vulkan mustpass
Following commits modify Vulkan CTS 1.0.2 mustpass:
*
fbaba83dbee101b3096ce33f21ae398efee3fa67
*
c09596ed4b8d17f057f77a42475d59c1ac126797
This change simply updates Android version of mustpass to match Khronos
Vulkan CTS 1.0.2 mustpass.
Change-Id: I79e2696ec4c457d11b59e03cf2a73977ab98d8d5
Components: AOSP
Pyry Haulos [Tue, 31 Jan 2017 00:02:32 +0000 (16:02 -0800)]
Update Android CTS Vulkan mustpass to match 1.0.2
This CL updates Android CTS mustpass for Vulkan to match Khronos Vulkan
CTS 1.0.2.0.
Change-Id: Ia2f82b5f6675c67940679eb98f59510f264d62bf
(cherry picked from commit
15f342274521c1be1032e993dbfd4a46b878f337)
Pyry Haulos [Mon, 13 Feb 2017 18:34:37 +0000 (10:34 -0800)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Ida077bae420c265f4a92d78d68b0f1c9b8d1c85c
Kenneth Graunke [Mon, 13 Feb 2017 18:18:26 +0000 (18:18 +0000)]
Fix a few bugs in a EGL_KHR_no_config_context test. am:
2a2a2ab8c7 am:
e06124d7f5 am:
08bf23d700
am:
41976113bf
Change-Id: I0d44ea7a125d8024aa9f63f477f8963ce93b39fe
Kenneth Graunke [Mon, 13 Feb 2017 18:15:29 +0000 (18:15 +0000)]
Fix a few bugs in a EGL_KHR_no_config_context test. am:
2a2a2ab8c7 am:
e06124d7f5
am:
08bf23d700
Change-Id: I90c34e8139f3266671a1cdfefd60cdaea99e555d
Kenneth Graunke [Mon, 13 Feb 2017 18:10:29 +0000 (18:10 +0000)]
Fix a few bugs in a EGL_KHR_no_config_context test. am:
2a2a2ab8c7
am:
e06124d7f5
Change-Id: I9f1617abda83e592051a66a5c64154f71914a1a1
Kenneth Graunke [Mon, 13 Feb 2017 18:06:29 +0000 (18:06 +0000)]
Fix a few bugs in a EGL_KHR_no_config_context test.
am:
2a2a2ab8c7
Change-Id: I58cf0d779a24d3bab1490e6f3556b06273861f1e
Iago Toral Quiroga [Fri, 10 Feb 2017 10:35:52 +0000 (11:35 +0100)]
Write gl_PointSize value when it is undefined
gl_PointSize is undefined unless expicitly written to. The only
exception to this rule is the case when
shaderTessellationAndGeometryPointSize is disabled, in which case it
defaults to 1.0 for these stages.
Since we don't have access to the physical device features at shader
compile time, implement two variants of the tessellation evaluation
shader when point mode is enabled, one that writes gl_PointSize and
one that doesn't and decide the one we need at run time based on
whether the feature is enabled or not.
Components: Vulkan
Fixes VK-GL-CTS issue: 159
Affects:
dEQP-VK.tessellation.primitive_discard.*point_mode
Change-Id: Idadbc70a704f00ed601ff65afeb2a3edfbeb3f19
Kenneth Graunke [Thu, 2 Feb 2017 18:40:02 +0000 (10:40 -0800)]
Fix a few bugs in a EGL_KHR_no_config_context test.
The dEQP-EGL.functional.create_context.no_config test had the eglBindAPI
check backwards - so it was skipping APIs assuming they failed when they
actually succeeded.
Secondly, it failed to actually set the test result to "pass" if all
cases passed, which led to assertion failures:
Assertion `testResult != QP_TEST_RESULT_LAST' failed.
Change-Id: I7a20467012fd6c174f79679bbf640917c327574c
Mika Isojrvi [Fri, 10 Feb 2017 00:29:36 +0000 (00:29 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
ebc8257bba am:
31a4d9b3b6 am:
19045bffb6 am:
53fbafc635 am:
15762b0fa5
am:
feba2a67f1
Change-Id: Idc3665400eb977bedcddbe1294a2ebfce4db7a56
Mika Isojrvi [Fri, 10 Feb 2017 00:29:23 +0000 (00:29 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
eef2e716e7 am:
bdff405d5a am:
92584aee17 am:
0c2ea240da
am:
9d33492787
Change-Id: I6ef3d5d3fecf619eaef8dbf13915d290eafdad86
Mika Isojrvi [Fri, 10 Feb 2017 00:29:11 +0000 (00:29 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
eef2e716e7 am:
06811e1c44 am:
fbe1e80216 am:
ff2167f6cc
am:
155a8f9b34
Change-Id: I7de725b44ebcbd3e96bbc0cad3f173bf6725bc20
Mika Isojrvi [Fri, 10 Feb 2017 00:28:57 +0000 (00:28 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
ebc8257bba am:
31a4d9b3b6 am:
19045bffb6 am:
53fbafc635 am:
fbf76f4e30
am:
48855b941d
Change-Id: I406a1622bb5bbc6a98a8a88c22b9e9e9d9f52bd4
Mika Isojrvi [Fri, 10 Feb 2017 00:28:42 +0000 (00:28 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
eef2e716e7 am:
bdff405d5a am:
92584aee17 am:
a9ab882914
am:
bfc7402e30
Change-Id: Iebe7df2e86c54401f742d0066a5db6acfa714d80
Mika Isojrvi [Thu, 9 Feb 2017 23:58:22 +0000 (23:58 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
ebc8257bba am:
31a4d9b3b6 am:
19045bffb6 am:
53fbafc635
am:
15762b0fa5
Change-Id: Ib1f8d0c4b9e48ed2600d9890fc1012840bb2de0c
Mika Isojrvi [Thu, 9 Feb 2017 23:58:04 +0000 (23:58 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
eef2e716e7 am:
bdff405d5a am:
92584aee17
am:
0c2ea240da
Change-Id: I26211b019efb68a7d8101b018468ca4cc213784f
Mika Isojrvi [Thu, 9 Feb 2017 23:57:49 +0000 (23:57 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
eef2e716e7 am:
06811e1c44 am:
fbe1e80216
am:
ff2167f6cc
Change-Id: Iffefbb6dfb9a477d02adc8d582daed56807014cf
Mika Isojrvi [Thu, 9 Feb 2017 23:29:59 +0000 (23:29 +0000)]
Limit changes by xor to upper 8 bits in mixed atomic tests am:
6bc3c7a634 am:
ebc8257bba am:
31a4d9b3b6 am:
19045bffb6 am:
53fbafc635
am:
fbf76f4e30
Change-Id: I4973f2c3f93fe6983b28ff5b58b62a54f9a4fefd