platform/upstream/VK-GL-CTS.git
8 years agoLOCAL_COMPATIBILITY_SUPPORT_FILES relative to $(TOP).
Ying Wang [Tue, 16 Feb 2016 23:44:03 +0000 (15:44 -0800)]
LOCAL_COMPATIBILITY_SUPPORT_FILES relative to $(TOP).

Change-Id: Ic90955086b436411531b60b84b376c4cb49ee5d6
(cherry picked from commit 5072ce1021d700853deb7dee90dfc1adcc6cec1f)

8 years agoFix type conversion warnings
Pyry Haulos [Mon, 15 Feb 2016 12:36:29 +0000 (04:36 -0800)]
Fix type conversion warnings

8 years agoMerge in changes from Khronos Vulkan CTS repo
Pyry Haulos [Mon, 15 Feb 2016 12:21:54 +0000 (04:21 -0800)]
Merge in changes from Khronos Vulkan CTS repo

8 years agoMerge branch '286-extend-device-feature-limit-validation' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:45:52 +0000 (06:45 -0500)]
Merge branch '286-extend-device-feature-limit-validation' into 'master'

Extend device feature and limit validation in dEQP-VK.api.info

Fixes #286

See merge request !423

8 years agoMerge branch '292-use-spirv-tools-to-create-disassembly' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:43:23 +0000 (06:43 -0500)]
Merge branch '292-use-spirv-tools-to-create-disassembly' into 'master'

disassembleSpirV should use spirv-tools instead of glslang

Fixes #292

See merge request !427

8 years agoMerge branch '292-update-glslang' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:42:04 +0000 (06:42 -0500)]
Merge branch '292-update-glslang' into 'master'

Update glslang

This is a dependency of #292.

We need a glslang fix to avoid header clashing between glslang and spirv-tools: glslang commit f947debf70f626ab2fd9dd1339be5f3d1ce8c671

Let's bump to the latest KHR_vulkan_glsl revision: 6060845a36bfeed28357942b93335b29642c99cb

See merge request !440

8 years agoMerge branch '272-bump-version-to-310' into 'master'
Pyry Haulos [Mon, 15 Feb 2016 11:40:51 +0000 (06:40 -0500)]
Merge branch '272-bump-version-to-310' into 'master'

Bump #version to 310 in vktApiSmokeTests.cpp

fixes #272

See merge request !439

8 years agoMerge in changes from Khronos Vulkan CTS repo
Pyry Haulos [Fri, 12 Feb 2016 18:51:57 +0000 (10:51 -0800)]
Merge in changes from Khronos Vulkan CTS repo

8 years agoMerge "Add Vulkan support to DeqpTestRunner and mustpass script." into nyc-dev
Mika Isojarvi [Fri, 12 Feb 2016 18:23:48 +0000 (18:23 +0000)]
Merge "Add Vulkan support to DeqpTestRunner and mustpass script." into nyc-dev

8 years agoMerge "Add Vulkan assets to apk when building for Android CTS." into nyc-dev
Mika Isojarvi [Fri, 12 Feb 2016 18:19:19 +0000 (18:19 +0000)]
Merge "Add Vulkan assets to apk when building for Android CTS." into nyc-dev

8 years agodisassembleSpirV should use spirv-tools instead of glslang
Csaba Osztrogonác [Fri, 12 Feb 2016 17:58:16 +0000 (18:58 +0100)]
disassembleSpirV should use spirv-tools instead of glslang

fixes #292

8 years agoMerge branch 'aosp-copyright' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 12 Feb 2016 17:44:04 +0000 (12:44 -0500)]
Merge branch 'aosp-copyright' into 'vulkan-cts-1.0'

Add AOSP copyright to tests ported from dEQP GLES tests

See merge request !436

8 years agoUpdate glslang
Csaba Osztrogonác [Fri, 12 Feb 2016 17:43:40 +0000 (18:43 +0100)]
Update glslang

8 years agoAdd Vulkan support to DeqpTestRunner and mustpass script.
Mika Isojärvi [Thu, 4 Feb 2016 23:35:09 +0000 (15:35 -0800)]
Add Vulkan support to DeqpTestRunner and mustpass script.

Change-Id: Ib578fce85c8a817543816c07681d0bc4e15c4489

8 years agoMerge branch '305-fix-access-flags' into 'vulkan-cts-1.0'
Pyry Haulos [Fri, 12 Feb 2016 17:24:48 +0000 (12:24 -0500)]
Merge branch '305-fix-access-flags' into 'vulkan-cts-1.0'

Fix for dEQP-VK.image.load_store* lacks setting access flags for image memory barrier

Fixes #305

See merge request !438

8 years agoMerge "Remove extension cache from glu::ContextInfo." into nyc-dev
Mika Isojarvi [Fri, 12 Feb 2016 16:42:15 +0000 (16:42 +0000)]
Merge "Remove extension cache from glu::ContextInfo." into nyc-dev

8 years agoMerge "Remove native pixmap matching rule since it can't be queried." into nyc-dev
Mika Isojarvi [Fri, 12 Feb 2016 16:42:03 +0000 (16:42 +0000)]
Merge "Remove native pixmap matching rule since it can't be queried." into nyc-dev

8 years agoBump #version to 310 in vktApiSmokeTests.cpp
Csaba Osztrogonác [Fri, 12 Feb 2016 15:15:45 +0000 (16:15 +0100)]
Bump #version to 310 in vktApiSmokeTests.cpp

fixes #272

8 years agodEQP-VK.image.load_store* lacks setting access flags for image memory barrier
Kantoch [Fri, 12 Feb 2016 14:22:33 +0000 (15:22 +0100)]
dEQP-VK.image.load_store* lacks setting access flags for image memory barrier

8 years agoRemove extension cache from glu::ContextInfo.
Mika Isojärvi [Fri, 12 Feb 2016 00:19:58 +0000 (16:19 -0800)]
Remove extension cache from glu::ContextInfo.

Bug: 27127958
Change-Id: Ia1765b7617023bc3bc3235183ce09675e2c9583a

8 years agoRemove native pixmap matching rule since it can't be queried.
Mika Isojärvi [Fri, 12 Feb 2016 00:06:17 +0000 (16:06 -0800)]
Remove native pixmap matching rule since it can't be queried.

Bug: 27124527
Change-Id: I9210d0eee2356a592f75e5f7cdeb61285823b061

8 years agoAdd version 0.3.4 parsing support to xeTestResultParser.
Mika Isojärvi [Thu, 11 Feb 2016 23:35:19 +0000 (15:35 -0800)]
Add version 0.3.4 parsing support to xeTestResultParser.

Change-Id: I9bb025d6e9b435d9d6fc36a88f5822cdbb458ce0

8 years agoAdd Vulkan assets to apk when building for Android CTS.
Mika Isojärvi [Thu, 11 Feb 2016 21:59:46 +0000 (13:59 -0800)]
Add Vulkan assets to apk when building for Android CTS.

Change-Id: Ib8c757b3e01444ef5e112dadc0c2ff835bbbd46f

8 years agoAdd AOSP copyright to tests ported from dEQP GLES tests
Pyry Haulos [Thu, 11 Feb 2016 21:39:09 +0000 (13:39 -0800)]
Add AOSP copyright to tests ported from dEQP GLES tests

8 years agoMerge branch '259-fix-arm-gcc-issue' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 20:21:42 +0000 (15:21 -0500)]
Merge branch '259-fix-arm-gcc-issue' into 'vulkan-cts-1.0'

Image load/store: remove DynArray

As per description in #259 this code posed a problem in some situations, so this is an attempt to sidestep an issue altogether.

Fixes #259

See merge request !419

8 years agoMerge branch 'fix-290-291-ds-advanced' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 17:46:17 +0000 (12:46 -0500)]
Merge branch 'fix-290-291-ds-advanced' into 'vulkan-cts-1.0'

Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced #290, #291

- Add missing barriers to ensure fragment loads wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations

Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c

See merge request !432

8 years agoMerge branch '289-renderpass-formats' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 17:45:17 +0000 (12:45 -0500)]
Merge branch '289-renderpass-formats' into 'vulkan-cts-1.0'

Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.

Round the (-0.5,-0.5) - (0.5,0.5) quad coordinates to pixel edges, to fix #289.

See merge request !430

8 years agoRound quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.
Michael Stokes [Tue, 9 Feb 2016 13:50:40 +0000 (14:50 +0100)]
Round quad coordinates in dEQP-VK.renderpass.formats.* to pixel edges.

Fixes #289

8 years agoMerge branch '295-fix-glsl-discard-missing-barriers' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 11 Feb 2016 17:39:25 +0000 (12:39 -0500)]
Merge branch '295-fix-glsl-discard-missing-barriers' into 'vulkan-cts-1.0'

Fix for dEQP-VK.glsl.discard.* missing barriers

ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer

See merge request !434

8 years agoFix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced
Joerg Wagner [Tue, 9 Feb 2016 19:57:17 +0000 (20:57 +0100)]
Fix dEQP-VK.dynamic_state.ds_state.stencil_params_advanced

- Add missing barriers to ensure fragment loads for color and ds wait
- Add LOAD_OP_LOAD for stencil aspect as the data is always needed
- Add TRANSFER_DST usage bit for both color and depth-stencil, as images are target of vmCmdClear* operations

Change-Id: Ia01304fb5287698ffbbd493cc800ef78a820a82c

8 years agoRemove header snippets from Vulkan API test plan
Pyry Haulos [Wed, 10 Feb 2016 21:49:16 +0000 (13:49 -0800)]
Remove header snippets from Vulkan API test plan

8 years agoShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer
Mais Alnasser [Wed, 10 Feb 2016 20:08:15 +0000 (15:08 -0500)]
ShaderRender is missing the appropriate barriers before and after cmdCopyImageToBuffer

8 years agoAdd top-level README
Pyry Haulos [Wed, 10 Feb 2016 20:45:07 +0000 (12:45 -0800)]
Add top-level README

8 years agoMerge master into nyc-dev
Pyry Haulos [Wed, 10 Feb 2016 18:45:26 +0000 (10:45 -0800)]
Merge master into nyc-dev

8 years agoMerge branch 'remove-confidentiality-clause' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 10 Feb 2016 18:18:02 +0000 (13:18 -0500)]
Merge branch 'remove-confidentiality-clause' into 'vulkan-cts-1.0'

Remove confidentiality clause from Vulkan CTS license

See merge request !433

8 years agoRemove confidentiality clause from Vulkan CTS license
Pyry Haulos [Tue, 9 Feb 2016 20:49:00 +0000 (12:49 -0800)]
Remove confidentiality clause from Vulkan CTS license

8 years agoExtend device feature and limit validation in dEQP-VK.api.info
Pyry Haulos [Fri, 5 Feb 2016 22:06:44 +0000 (14:06 -0800)]
Extend device feature and limit validation in dEQP-VK.api.info

Fixes #286

8 years agoFix deUint32 -> deUint8 conversion warning
Pyry Haulos [Tue, 9 Feb 2016 18:49:14 +0000 (10:49 -0800)]
Fix deUint32 -> deUint8 conversion warning

Change-Id: I7a5c9570781edc07299f66ac8c1be08266731ea1

8 years agoMerge in changes from Khronos Vulkan CTS repository
Pyry Haulos [Tue, 9 Feb 2016 18:40:59 +0000 (10:40 -0800)]
Merge in changes from Khronos Vulkan CTS repository

8 years agoMerge branch '274-remove-round-mustpass' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 9 Feb 2016 18:30:47 +0000 (13:30 -0500)]
Merge branch '274-remove-round-mustpass' into 'vulkan-cts-1.0'

Remove rounding tests from the mustpass list

See merge request !429

8 years agoMerge branch '283-reset-query-pool-before-use' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 9 Feb 2016 18:29:53 +0000 (13:29 -0500)]
Merge branch '283-reset-query-pool-before-use' into 'vulkan-cts-1.0'

Add missing commands for reseting queryPool prior to use

Fixes #283

See merge request !428

8 years agoMerge branch 'origin/280-move_vkCmdCopyQueryPoolResults_outside_renderpass' into...
Pyry Haulos [Tue, 9 Feb 2016 18:29:06 +0000 (13:29 -0500)]
Merge branch 'origin/280-move_vkCmdCopyQueryPoolResults_outside_renderpass' into 'vulkan-cts-1.0'

#280: End the renderpass before trying to copy the query results

End the renderpass before trying to copy the query results,
as vkCmdCopyQueryPoolResults is only allowed outside.

Fixes #280.

See merge request !424

8 years agoRemove rounding tests from the mustpass list
Peter Gal [Tue, 9 Feb 2016 10:58:49 +0000 (11:58 +0100)]
Remove rounding tests from the mustpass list

8 years agoCompute, image: remove DynArray
Maciej Jesionowski [Fri, 5 Feb 2016 10:34:18 +0000 (11:34 +0100)]
Compute, image: remove DynArray

8 years agoMerge in code from gles32-dev
Pyry Haulos [Mon, 8 Feb 2016 23:07:48 +0000 (15:07 -0800)]
Merge in code from gles32-dev

Change-Id: Id3b56b345c8062ca0a79e01f7e2d943dd53672bb

8 years agoMerge "Select shader version appropriate for context." into gles32-dev
Pyry Haulos [Mon, 8 Feb 2016 23:06:23 +0000 (23:06 +0000)]
Merge "Select shader version appropriate for context." into gles32-dev

8 years agoMerge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Mon, 8 Feb 2016 23:05:48 +0000 (23:05 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev

8 years agoMerge branch '287-puniq' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 8 Feb 2016 19:09:06 +0000 (14:09 -0500)]
Merge branch '287-puniq' into 'vulkan-cts-1.0'

Make buffer-pointer types unique.  Fixes #287

See merge request !425

8 years agoMerge "Log SPIR-V assembly source."
Dejan Mircevski [Mon, 8 Feb 2016 18:50:51 +0000 (18:50 +0000)]
Merge "Log SPIR-V assembly source."

8 years agoLog SPIR-V assembly source.
Dejan Mircevski [Mon, 8 Feb 2016 15:23:49 +0000 (10:23 -0500)]
Log SPIR-V assembly source.

We weren't previously logging the source of a SPIR-V module, which made
it hard to debug compilation errors.

Extend executor to handle the new XML element.

Bump the log-format version to 0.3.4.

Change-Id: I4ace0a88820d08febd0500c60d1f2fe97b635635

8 years agoAdd missing commands for reseting queryPool prior to use
Szilard Ledan [Mon, 8 Feb 2016 16:08:27 +0000 (17:08 +0100)]
Add missing commands for reseting queryPool prior to use

8 years agoMake buffer-pointer types unique.
Dejan Mircevski [Sun, 7 Feb 2016 22:32:27 +0000 (17:32 -0500)]
Make buffer-pointer types unique.

8 years agoEnd the renderpass before trying to copy the query results, as
Joerg Wagner [Sun, 7 Feb 2016 12:54:37 +0000 (13:54 +0100)]
End the renderpass before trying to copy the query results, as
vkCmdCopyQueryPoolResults is only allowed outside.

Change-Id: I07cdd6c056017418f5080bdabb56746daeea73e7

8 years agoSelect shader version appropriate for context.
Daniel Andrade Groppe [Fri, 5 Feb 2016 18:56:45 +0000 (12:56 -0600)]
Select shader version appropriate for context.

Change-Id: I42552ac8487eab0d0c2ea9c744a972c97cc4c3a5

8 years agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Fri, 5 Feb 2016 18:49:54 +0000 (12:49 -0600)]
Add support for OpenGL ES 3.2 features.

- Increase range to GLSL_VERSION_320_ES.
- Add new types:
  - {i u}samplerBuffer
  - {i u}sampler2DMSArray
  - {i u}imageBuffer

Change-Id: Idd4a3a6ea19fc7ce4e3efef5b018b5072b219553

8 years agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Fri, 5 Feb 2016 19:24:18 +0000 (13:24 -0600)]
Add support for OpenGL ES 3.2 features.

- Specialize shaders for context version.
- Check context version along with extension support.

Change-Id: I16c57def58fe92cae9d4b8a20dafd73c3d63aace

8 years agoUpdate Android mustpass build script copyright header.
Mika Isojärvi [Fri, 5 Feb 2016 18:57:39 +0000 (10:57 -0800)]
Update Android mustpass build script copyright header.

Change-Id: I8c7ab0b2054e32f1efc92281db850fa1bee3a629

8 years agoMerge branch '277-log-original-assembly-of-SPIRV-assembly-tests' into 'master'
Pyry Haulos [Fri, 5 Feb 2016 16:33:29 +0000 (11:33 -0500)]
Merge branch '277-log-original-assembly-of-SPIRV-assembly-tests' into 'master'

Add original assembly of the SPIR-V assembly tests to the log

fixes #277

Old MR: !416 (I had to create a new MR one because of renaming the branch.)

See merge request !420

8 years agoAdd original assembly of the SPIR-V assembly tests to the log
Csaba Osztrogonác [Fri, 5 Feb 2016 11:03:45 +0000 (12:03 +0100)]
Add original assembly of the SPIR-V assembly tests to the log

fixes #277

8 years agoMerge branch '278-proposed_texcoord_offset_is_too_low_fix' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 4 Feb 2016 21:26:18 +0000 (16:26 -0500)]
Merge branch '278-proposed_texcoord_offset_is_too_low_fix' into 'vulkan-cts-1.0'

Fixes #278

8 years agoMerge branch '276-fix-incorrect-buffer-usage-flag' into 'vulkan-cts-1.0'
Pyry Haulos [Thu, 4 Feb 2016 21:24:33 +0000 (16:24 -0500)]
Merge branch '276-fix-incorrect-buffer-usage-flag' into 'vulkan-cts-1.0'

dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag

Fixes #276

See merge request !418

8 years agoMerge "Don't require surfaceless context in negative partial update tests."
Mika Isojarvi [Thu, 4 Feb 2016 19:09:37 +0000 (19:09 +0000)]
Merge "Don't require surfaceless context in negative partial update tests."

8 years agoMerge "Fix uniform precision qualifier mismatch in GLES3 conditional tests."
Mika Isojarvi [Thu, 4 Feb 2016 19:09:27 +0000 (19:09 +0000)]
Merge "Fix uniform precision qualifier mismatch in GLES3 conditional tests."

8 years agoDon't require surfaceless context in negative partial update tests.
Mika Isojärvi [Thu, 4 Feb 2016 18:25:32 +0000 (10:25 -0800)]
Don't require surfaceless context in negative partial update tests.

Split tests requiring surfaceless context to three different cases
with surfaceless context, no surface and no context and different
surface.

Bug: 26978632
Change-Id: I313891236b2c8af7d97bc277e7a6f45ea51dfdc5

8 years agodEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag
Maciej Jesionowski [Thu, 4 Feb 2016 17:24:18 +0000 (18:24 +0100)]
dEQP-VK.compute.basic.shared_atomic_op* fix incorrect usage flag

8 years agoIncrease texcoord offset used by pipeline.sampler conformance tests from 0.001 to...
Dominik Witczak [Thu, 4 Feb 2016 12:32:05 +0000 (13:32 +0100)]
Increase texcoord offset used by pipeline.sampler conformance tests from 0.001 to 0.002

8 years agoMerge "Fix compiler warnings when converting png_uint_32 to deUint32."
Mika Isojarvi [Thu, 4 Feb 2016 01:05:13 +0000 (01:05 +0000)]
Merge "Fix compiler warnings when converting png_uint_32 to deUint32."

8 years agoMerge "Don't require gpu_shader5 in const expression indexing tests."
Mika Isojarvi [Thu, 4 Feb 2016 00:15:17 +0000 (00:15 +0000)]
Merge "Don't require gpu_shader5 in const expression indexing tests."

8 years agoFix compiler warnings when converting png_uint_32 to deUint32.
Mika Isojärvi [Wed, 3 Feb 2016 23:57:10 +0000 (15:57 -0800)]
Fix compiler warnings when converting png_uint_32 to deUint32.

Change-Id: I761396d59e68e2c0d215a479b4e9b36178221b9f

8 years agoDon't require gpu_shader5 in const expression indexing tests.
Mika Isojärvi [Wed, 3 Feb 2016 23:33:44 +0000 (15:33 -0800)]
Don't require gpu_shader5 in const expression indexing tests.

GL_EXT_gpu_shader5 should not be required to be able to index opaque
types with constant expressions.

Bug: 22949820
Change-Id: Ifa60eb95e23a55b615a31c1cffb941aea0d8a1b7

8 years agoRemove GLES2 texture unit tests from the mustpass.
Mika Isojärvi [Wed, 3 Feb 2016 23:17:14 +0000 (15:17 -0800)]
Remove GLES2 texture unit tests from the mustpass.

Add back the texture unit tests defined in gles2-failures.txt and
remove all of the texture unit GLES2 tests in gles2-tests-issues.txt.

Bug: 26906226
Change-Id: Ib3611daa2c89eff9ca34121dd5ec9d7baf53fc9c

8 years agoDon't require supported binary formats in negative tests.
Mika Isojärvi [Wed, 3 Feb 2016 22:43:58 +0000 (14:43 -0800)]
Don't require supported binary formats in negative tests.

Bug: 26906411
Change-Id: I4dd1bcbdd43a85e320767fa0160db24f5b84ad74

8 years agoUse compatible texture formats in negative blit tests.
Mika Isojärvi [Wed, 3 Feb 2016 21:34:42 +0000 (13:34 -0800)]
Use compatible texture formats in negative blit tests.

The tests were using incompatible texture formats when testing that
linear filtering with integer source format produces INVALID_OPERATION.
This might have led to false positives since both cases produce same error
code.

Bug: 26666090
Change-Id: I7e7b6c0dab9c5cc70a51c427d83b8c4ac5515844

8 years agoRemove multiwindow EGL tests from mustpass.
Mika Isojärvi [Wed, 3 Feb 2016 18:43:20 +0000 (10:43 -0800)]
Remove multiwindow EGL tests from mustpass.

Bug: 26953953
Change-Id: Ie2a8712f0f28cc390a97bd5fe7ef5fa10db03c5a

8 years agoRebuild CTS mustpass
Pyry Haulos [Wed, 3 Feb 2016 20:58:36 +0000 (12:58 -0800)]
Rebuild CTS mustpass

Change-Id: I48d76bd5fdf0b133ff0bd019fa87cb5bdb32fc26

8 years agoAdd new files to Android.mk
Pyry Haulos [Tue, 2 Feb 2016 15:46:12 +0000 (07:46 -0800)]
Add new files to Android.mk

Change-Id: Ia6e203be42be9e7beb00b2776b177b6c658a5692

8 years agoMerge in first OpenGL ES 3.2 tests
Pyry Haulos [Wed, 3 Feb 2016 18:47:51 +0000 (10:47 -0800)]
Merge in first OpenGL ES 3.2 tests

Change-Id: I5c6f8bc63da6203e36504cc868a746d7a90cf5e6

8 years agoMerge branch 'gstrm' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:25:17 +0000 (13:25 -0500)]
Merge branch 'gstrm' into 'vulkan-cts-1.0'

Eliminate Stream decorations.

They require the `GeometryStreams` capability, which I'm not sure we should require of every implementation.

See merge request !406

8 years agoMerge branch 'jbolz_createBuffer_memoryType' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:24:05 +0000 (13:24 -0500)]
Merge branch 'jbolz_createBuffer_memoryType' into 'vulkan-cts-1.0'

Change buffer tests to use queried memory type index

Previously this test assumed/required that memory type 0 was capable of sparse.

See merge request !407

8 years agoMerge branch '266-dEQP-VK.renderpass-Test-Fixes' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:15:13 +0000 (13:15 -0500)]
Merge branch '266-dEQP-VK.renderpass-Test-Fixes' into 'vulkan-cts-1.0'

dEQP-VK.renderpass-Test-Fixes

* cmdPipelineBarrier should not be called with srcStageMask and dstStageMask set to zero.
* Adding code to initialize image attachment usage.

Fixes issue #266

See merge request !408

8 years agoUpdate geometry and tessellation shader limits.
Mika Isojärvi [Mon, 1 Feb 2016 22:52:00 +0000 (14:52 -0800)]
Update geometry and tessellation shader limits.

Bug: 22542263
Change-Id: I88b91f5d53598431c9b6ba31e77cbb7914353699

8 years agoRemove tests cases and checks assuming native handles to be invalid.
Mika Isojärvi [Tue, 2 Feb 2016 00:08:58 +0000 (16:08 -0800)]
Remove tests cases and checks assuming native handles to be invalid.

Bug: 25850892
Change-Id: I8de0ce317bfd1bd9ddd609f0d47c71cf1084472f

8 years agoMerge branch '271-uninitialized-size' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:09:54 +0000 (13:09 -0500)]
Merge branch '271-uninitialized-size' into 'vulkan-cts-1.0'

Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image

The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.

Fixes #271

See merge request !414

8 years agoMerge branch '273-vertex-input-stride-fix' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 3 Feb 2016 18:09:02 +0000 (13:09 -0500)]
Merge branch '273-vertex-input-stride-fix' into 'vulkan-cts-1.0'

dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.

Consecutive strides did not result in aligned accesses to the vertex
attributes.

See merge request !415

8 years agoAllow helper invocations inside primitive.
Mika Isojärvi [Wed, 3 Feb 2016 00:02:21 +0000 (16:02 -0800)]
Allow helper invocations inside primitive.

Test required that helper invocations would only happen on primitive
edges, which produced false negatives if wide lines are rendered as
two triangles. This change allows helper invocations anywhere inside
the primitive.

Bug: 22180525
Change-Id: Iee7b50e7a46e4b172c3a61298a7f737d00b29750

8 years agoAllow color to change once in dithering disabled gradient tests.
Mika Isojärvi [Tue, 2 Feb 2016 23:22:45 +0000 (15:22 -0800)]
Allow color to change once in dithering disabled gradient tests.

Instead of requiring that each row or column to have only single color
allow color to change in dithering disabled tests to allow small
discontinuity on edge between triangles.

Bug: 23219552
Change-Id: I8e353187b37ab22fe8ea53985e36d1c9ba53dbc3

8 years agoMerge "Load libui.so lazily in android_native EGLImage tests."
Mika Isojarvi [Wed, 3 Feb 2016 17:57:21 +0000 (17:57 +0000)]
Merge "Load libui.so lazily in android_native EGLImage tests."

8 years agoMerge "cmake: look for png.h, not libpng.h"
Pyry Haulos [Wed, 3 Feb 2016 17:54:45 +0000 (17:54 +0000)]
Merge "cmake: look for png.h, not libpng.h"

8 years agodEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.
Dae Kim [Wed, 3 Feb 2016 11:23:56 +0000 (11:23 +0000)]
dEQP-VK.pipeline.vertex_input.*: corrected vertex input binding strides.

Consecutive strides did not result in aligned accesses to the vertex
attributes.

8 years agoLoad libui.so lazily in android_native EGLImage tests.
Mika Isojärvi [Tue, 2 Feb 2016 21:13:48 +0000 (13:13 -0800)]
Load libui.so lazily in android_native EGLImage tests.

Avoid loading libui.so during test hierarchy inflation by loading it
lazily when it's used for the first time instead.

Bug: 26929325
Change-Id: I22348d91d415beae37016ed654e36774bbb5a504

8 years agoMerge "Check extension support before queries in texture size tests."
Mika Isojarvi [Tue, 2 Feb 2016 18:21:48 +0000 (18:21 +0000)]
Merge "Check extension support before queries in texture size tests."

8 years agoRemove tests using internal Android APIs from EGL mustpass
Mika Isojärvi [Tue, 2 Feb 2016 18:01:05 +0000 (10:01 -0800)]
Remove tests using internal Android APIs from EGL mustpass

Change-Id: I39d156909ba0b38788acb2e1d7a52db727264378

8 years agoMerge changes I61bcc949,I64c54ee4,I4d984d4c,I6186cd17,I953d0264, ...
Pyry Haulos [Tue, 2 Feb 2016 15:43:14 +0000 (15:43 +0000)]
Merge changes I61bcc949,I64c54ee4,I4d984d4c,I6186cd17,I953d0264, ...

* changes:
  Merge in changes from Khronos Vulkan CTS repository
  Merge branch '268-command-buffers-memory-leak-fix' into 'master'
  Merge branch '267-spirv_assembly.instruction-Fixes' into 'master'
  Removed correct code by mistake, adding that back and back out the originally intended code.
  CommandPool creations in some tests are fixed.
  Apply formating fixes Remove ArrayStride code.
  OpSelect's condition operand didn't follow spec OpSelect's condition operand should have same component number as OpSelect's result type.
  spirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost.

8 years agoGet sampled and storage usage flags from format properties.
Mais Alnasser [Tue, 2 Feb 2016 07:32:45 +0000 (02:32 -0500)]
Get sampled and storage usage flags from format properties.

8 years agoCheck extension support before queries in texture size tests.
Mika Isojärvi [Mon, 1 Feb 2016 23:33:17 +0000 (15:33 -0800)]
Check extension support before queries in texture size tests.

Bug: 25928364
Change-Id: I987931f7bf1ee96f782b536af2529aa1a3282f5a

8 years agoFix uniform precision qualifier mismatch in GLES3 conditional tests.
Mika Isojärvi [Mon, 1 Feb 2016 23:19:54 +0000 (15:19 -0800)]
Fix uniform precision qualifier mismatch in GLES3 conditional tests.

Bug: 26908304
Change-Id: Ic77b7d49ca7e7602aca24a5245b8a55d3195a0fa

8 years agoFix custom loop test missing declarations and outputs.
Mika Isojärvi [Mon, 1 Feb 2016 23:05:59 +0000 (15:05 -0800)]
Fix custom loop test missing declarations and outputs.

Bug: 26907509
Change-Id: I77e1a54ca3ea92f9632cbf3200ca36c2f0e9b771

8 years agoDon't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image
Kristian Høgsberg Kristensen [Mon, 1 Feb 2016 23:14:25 +0000 (15:14 -0800)]
Don't use uninitialized variables in dEQP-VK.api.copy_and_blit.buffer_to_image

The buffer to image test was using the uninitialized src image extent
for initializing the src buffer and the uninitialized dst buffer size
for initializing the dst image.

8 years agoMerge in changes from Khronos Vulkan CTS repository
Pyry Haulos [Mon, 1 Feb 2016 22:47:34 +0000 (14:47 -0800)]
Merge in changes from Khronos Vulkan CTS repository

Change-Id: I61bcc9495e67a98227292ab354b63152df79193c

8 years agoAdd copy image snorm tests back to mustpass.
Mika Isojärvi [Mon, 1 Feb 2016 22:21:28 +0000 (14:21 -0800)]
Add copy image snorm tests back to mustpass.

Bug: 20302019
Change-Id: I89c4bfacec53896c9c5b72fc6bf546245928ee33