platform/upstream/VK-GL-CTS.git
7 years agoMerge "Add VK_REMAINING_* defines to vulkan framework" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 22 Sep 2016 19:04:59 +0000 (15:04 -0400)]
Merge "Add VK_REMAINING_* defines to vulkan framework" into vulkan-cts-1.0-dev

7 years agoMerge "Fix precision issue in MS interpolation test" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 22 Sep 2016 18:50:46 +0000 (14:50 -0400)]
Merge "Fix precision issue in MS interpolation test" into vulkan-cts-1.0-dev

7 years agoAdd VK_REMAINING_* defines to vulkan framework
Maciej Jesionowski [Thu, 22 Sep 2016 09:15:18 +0000 (11:15 +0200)]
Add VK_REMAINING_* defines to vulkan framework

Change-Id: I4d4693bab868cdf904d2b4c706fdb954f282ab13

7 years agoMerge "Update glslang" into vulkan-cts-1.0-dev
Pyry Haulos [Wed, 21 Sep 2016 17:12:59 +0000 (13:12 -0400)]
Merge "Update glslang" into vulkan-cts-1.0-dev

7 years agoMerge "Update SPIR-V tools" into vulkan-cts-1.0-dev
Pyry Haulos [Wed, 21 Sep 2016 17:12:01 +0000 (13:12 -0400)]
Merge "Update SPIR-V tools" into vulkan-cts-1.0-dev

7 years agoFix precision issue in MS interpolation test
Maciej Jesionowski [Wed, 21 Sep 2016 10:05:47 +0000 (12:05 +0200)]
Fix precision issue in MS interpolation test

Modified test:
- dEQP-VK.pipeline.multisample_interpolation.offset_interpolate_at_pixel_center.*

Fixes #494

Change-Id: I608294bf190bb50292fa4d7dd72e0f6b18dac3ee

7 years agoUpdate glslang
Pyry Haulos [Tue, 20 Sep 2016 22:20:41 +0000 (15:20 -0700)]
Update glslang

Change-Id: I095574ac4969033f1e3929371f7962b7b96a8039

7 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Tue, 20 Sep 2016 22:49:01 +0000 (15:49 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: Ifea48fac6730fbcaa294c1109a1ee2579298e05b

7 years agoMerge "Remove invalid precision qualifier usage" into vulkan-cts-1.0.1
Pyry Haulos [Tue, 20 Sep 2016 22:48:44 +0000 (18:48 -0400)]
Merge "Remove invalid precision qualifier usage" into vulkan-cts-1.0.1

7 years agoUpdate SPIR-V tools
Pyry Haulos [Tue, 20 Sep 2016 22:14:52 +0000 (15:14 -0700)]
Update SPIR-V tools

Change-Id: Iec5ba9bc4c061a0efe2979761e2f9d24d5fea596

7 years agoRemove invalid precision qualifier usage
Pyry Haulos [Tue, 20 Sep 2016 22:11:11 +0000 (15:11 -0700)]
Remove invalid precision qualifier usage

dEQP-VK.pipeline.vertex_input tests were incorrectly using highp
qualifier with double types. That is not allowed, and default precision
in GLSL 4.4 shaders is highp anyway.

Fixes #458

Change-Id: I4b17b2273a8bf258bb8aec5737bd1c2a38aa49ce

7 years agoMerge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev
Pyry Haulos [Tue, 20 Sep 2016 21:56:25 +0000 (14:56 -0700)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: I71b844cd76da9c64b1545a6e583f9fc8681c4b34

7 years agoDo not use pointer value after deleting it
Pyry Haulos [Tue, 20 Sep 2016 21:47:29 +0000 (14:47 -0700)]
Do not use pointer value after deleting it

Pointer value is undefined after 'delete'.

Change-Id: I30dab519db61073932e3e35cd87809bf89b18dfc

7 years agoMerge "Check line endings in check_whitespace.py" into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 20 Sep 2016 20:51:03 +0000 (16:51 -0400)]
Merge "Check line endings in check_whitespace.py" into vulkan-cts-1.0-dev

7 years agoCheck line endings in check_whitespace.py
Pyry Haulos [Tue, 20 Sep 2016 20:19:25 +0000 (13:19 -0700)]
Check line endings in check_whitespace.py

Change-Id: I33f9f64478bcb2792cae3e2d4b6501496a54191d

7 years agoPrint test log path into console output
Pyry Haulos [Tue, 20 Sep 2016 20:15:00 +0000 (13:15 -0700)]
Print test log path into console output

Having test log path printed out is helpful as it makes it clearer
that the console output is not the actual test log. Additionally, on
some platforms, such as Android, the log might be written into
non-obvious location.

Change-Id: I954550f96b2b910eb0cbfd8b83612b2a758669db

7 years agoUpdate Vulkan framework to vulkan.h 1.0.27
Pyry Haulos [Mon, 19 Sep 2016 21:51:00 +0000 (14:51 -0700)]
Update Vulkan framework to vulkan.h 1.0.27

Change-Id: I3c1bf3295982792c4fa47263f7f3868758d4aedb

7 years agoMerge "Fix OpVariable position in OpInBoundsAccessChain tests." into vulkan-cts-1...
Pyry Haulos [Mon, 19 Sep 2016 21:49:34 +0000 (17:49 -0400)]
Merge "Fix OpVariable position in OpInBoundsAccessChain tests." into vulkan-cts-1.0-dev

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 15 Sep 2016 21:43:57 +0000 (14:43 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I850bae53652ab1e2475754324d972e85f2daff99

7 years agoMove texture_filtering.explicit_lod under dEQP-VK.texture
Pyry Haulos [Thu, 15 Sep 2016 20:03:24 +0000 (13:03 -0700)]
Move texture_filtering.explicit_lod under dEQP-VK.texture

Change-Id: I25a1a6e5910814ef010942d11787b6c5969b4021

7 years agoAdd Vulkan port of the GLES3 texture mipmap tests
Zoltan Janos Szabo [Fri, 15 Jul 2016 10:21:05 +0000 (12:21 +0200)]
Add Vulkan port of the GLES3 texture mipmap tests

Change-Id: I5c5d9d83a7f284cf0f561d4a4725f95e37cb2842

7 years agoAdd Vulkan port of the GLES3 texture filtering tests
Peter Siket [Fri, 15 Jul 2016 10:14:39 +0000 (12:14 +0200)]
Add Vulkan port of the GLES3 texture filtering tests

Change-Id: I3aaf5ed38ba63067f5d205317f26818ba42df925

7 years agoMerge "Add new files to Android.mk" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 15 Sep 2016 20:16:46 +0000 (16:16 -0400)]
Merge "Add new files to Android.mk" into vulkan-cts-1.0-dev

7 years agoAdd new files to Android.mk
Pyry Haulos [Thu, 15 Sep 2016 20:05:03 +0000 (13:05 -0700)]
Add new files to Android.mk

Change-Id: Ie9dee591212230db3a2d9cafcbdfbc794c966965

7 years agoResolve image test: 2d array
Arkadiusz Sarwa [Thu, 21 Jul 2016 07:38:11 +0000 (09:38 +0200)]
Resolve image test: 2d array

New tests:

- dEQP-VK.api.copy_and_blit.resolve_image.whole_copy_before_resolving*
- dEQP-VK.api.copy_and_blit.resolve_image.whole_array_image*

Fixes #438

Change-Id: Idfc02e7ada4c53b5706ac17cb9d32dfd77d22869

7 years agoMerge "Add multisampled storage image load/store test" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 15 Sep 2016 19:23:11 +0000 (15:23 -0400)]
Merge "Add multisampled storage image load/store test" into vulkan-cts-1.0-dev

7 years agoUpdate framework to vulkan.h 1.0.26
Pyry Haulos [Tue, 30 Aug 2016 22:50:53 +0000 (15:50 -0700)]
Update framework to vulkan.h 1.0.26

Change-Id: I7ecdeb1dbadd0fb3983f4a49db87781220ef172a

7 years agoMerge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
Daniel Xie [Wed, 14 Sep 2016 19:54:32 +0000 (19:54 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
am: ec5c5c216e

Change-Id: I740f1709bd42aa1986e31a5d9b3192f9070212e0

7 years agoresolve merge conflicts of b172f9e to master
Pyry Haulos [Wed, 14 Sep 2016 18:21:59 +0000 (11:21 -0700)]
resolve merge conflicts of b172f9e to master

Change-Id: I0c7d20251f170c86f21312222abfc0803a697c1d

7 years agoMerge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
Daniel Xie [Wed, 14 Sep 2016 18:15:10 +0000 (18:15 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev

7 years agoAdd multisampled storage image load/store test
Maciej Jesionowski [Thu, 28 Jul 2016 08:57:30 +0000 (10:57 +0200)]
Add multisampled storage image load/store test

New tests:

- dEQP-VK.image.load_store_multisample.2d.*
- dEQP-VK.image.load_store_multisample.2d_array.*

Fixes #439

Change-Id: I584f3795dc8f50af753d8dea8b8c47906840770a

7 years agoMerge "Remove use of varargs.h from deString.c."
Treehugger Robot [Tue, 13 Sep 2016 19:04:35 +0000 (19:04 +0000)]
Merge "Remove use of varargs.h from deString.c."

7 years agoMerge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:59:03 +0000 (18:59 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
am: 84173082ee

Change-Id: I766949543602454bff23742a314d00c4532f41d5

7 years agoCP: Require 'master' config to be supported in Android CTS
Pyry Haulos [Tue, 13 Sep 2016 18:59:02 +0000 (18:59 +0000)]
CP: Require 'master' config to be supported in Android CTS
am: 03d217bb53

Change-Id: Ic330a2d7eb30081a3f7642b1e804f6ad3adfe83f

7 years agoMerge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:59:00 +0000 (18:59 +0000)]
Merge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
am: 1ad2703e25

Change-Id: I30672a8055d06a2fabaa57ac6b27af29d5a1f786

7 years agoCP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
Pyry Haulos [Tue, 13 Sep 2016 18:58:59 +0000 (18:58 +0000)]
CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests
am: 521bb16575

Change-Id: Ic1cbab12b8439e65790c3f0c9bf10f1bae2e7ebb

7 years agoMerge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:58:56 +0000 (18:58 +0000)]
Merge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
am: 451fa7c581

Change-Id: If88bb8b4171508813a0127bbaf27867a4510a01e

7 years agoresolve merge conflicts of 3ffc2f2 to master
Pyry Haulos [Tue, 13 Sep 2016 18:55:40 +0000 (11:55 -0700)]
resolve merge conflicts of 3ffc2f2 to master

Change-Id: I07d298ed07bd4ddf30742317bab83b660df76fb9

7 years agoMerge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:48:41 +0000 (18:48 +0000)]
Merge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
am: a268fcbaff

Change-Id: Ic3fe280bfa845811e3331b787c5b3ce0e82d3416

7 years agoCP: Reduce max iter count in alloc_callback_fail.device
Pyry Haulos [Tue, 13 Sep 2016 18:48:40 +0000 (18:48 +0000)]
CP: Reduce max iter count in alloc_callback_fail.device
am: ef5688dda6

Change-Id: I6d9a12724828b96cbb9f7ecc74f36d3a9419d167

7 years agoMerge changes I212a8bc2,I476b6586 into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:48:35 +0000 (18:48 +0000)]
Merge changes I212a8bc2,I476b6586 into nougat-cts-dev
am: 83683a367f

Change-Id: Id16aa41cac62e174574184d9deb00550dbd507a1

7 years agoDO NOT MERGE Allow old behavior in image format property tests
Pyry Haulos [Tue, 13 Sep 2016 18:48:34 +0000 (18:48 +0000)]
DO NOT MERGE Allow old behavior in image format property tests
am: 0825a289c0  -s ours

Change-Id: I3a0eb1f790ddfb0ca10bba0717e964d1139513bf

7 years agoCP: Fix required sample count tests
Nanley Chery [Tue, 13 Sep 2016 18:48:27 +0000 (18:48 +0000)]
CP: Fix required sample count tests
am: f6a815214a

Change-Id: I7e697e19ac7f1648fffc123a3e28ea0766fe5d9b

7 years agoMerge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat...
Daniel Xie [Tue, 13 Sep 2016 18:48:23 +0000 (18:48 +0000)]
Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev
am: f594c550af

Change-Id: I1d972e7094a87100847b822413e59914333832fd

7 years agoCP: Fix ext check in EXT_draw_buffers_indexed negative tests
Pyry Haulos [Tue, 13 Sep 2016 18:48:21 +0000 (18:48 +0000)]
CP: Fix ext check in EXT_draw_buffers_indexed negative tests
am: 3962010752

Change-Id: Ia83f5bf6db8579d21e99781883ee59501760e52c

7 years agoMerge "CP: Fix geometry shader support check" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:47:30 +0000 (18:47 +0000)]
Merge "CP: Fix geometry shader support check" into nougat-cts-dev
am: 54d4c9f476

Change-Id: I16f170e6a8b1814353473dd382da85aee2508e15

7 years agoCP: Fix geometry shader support check
Pyry Haulos [Tue, 13 Sep 2016 18:47:30 +0000 (18:47 +0000)]
CP: Fix geometry shader support check
am: 0da63cfe1d

Change-Id: Id94fa9a3eaa0bab514bd68f70e4a418565b17a74

7 years agoMerge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:47:29 +0000 (18:47 +0000)]
Merge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
am: b03302d214

Change-Id: I7279affd1f20795fa61292c05656615fa71f4ae5

7 years agoCP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge
Pyry Haulos [Tue, 13 Sep 2016 18:47:28 +0000 (18:47 +0000)]
CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge
am: 66ee615c37

Change-Id: Ic654aff622dc4c0e2e2b59627bf6a081f805d590

7 years agoMerge changes I85492417,I93389a2c into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 18:47:26 +0000 (18:47 +0000)]
Merge changes I85492417,I93389a2c into nougat-cts-dev
am: 37eaa88ac2

Change-Id: I6d02e17f212b826c62ca711317450214b4a87e71

7 years agoCP: Limit VkInstance count in object_management.multithreaded*
Pyry Haulos [Tue, 13 Sep 2016 18:47:26 +0000 (18:47 +0000)]
CP: Limit VkInstance count in object_management.multithreaded*
am: 1735b7bcaa

Change-Id: If043d3065cb9fecc87e1a012bef49af5ef1fd8b5

7 years agoCP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
Pyry Haulos [Tue, 13 Sep 2016 18:47:23 +0000 (18:47 +0000)]
CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests
am: 80ddee1f9b

Change-Id: If775ead51e363bfd90a49cca10df6f55a3f598f3

7 years agoMerge "Don't require supported binary formats in negative tests." into marshmallow...
Unsuk Jung [Tue, 13 Sep 2016 18:47:21 +0000 (18:47 +0000)]
Merge "Don't require supported binary formats in negative tests." into marshmallow-cts-dev am: 3aa5258338
am: 9ebe97f0a6

Change-Id: I3774107d42492442ffdcda985f90b706d55a0eff

7 years agoDon't require supported binary formats in negative tests. am: 7cd59a4409
Haixia Shi [Tue, 13 Sep 2016 18:47:21 +0000 (18:47 +0000)]
Don't require supported binary formats in negative tests. am: 7cd59a4409
am: 635f454667

Change-Id: Id987cef0666752e9237ef4433892c5accd3f8379

7 years agoMerge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts...
Daniel Xie [Tue, 13 Sep 2016 18:46:55 +0000 (18:46 +0000)]
Merge "DO NOT MERGE CP vertex array test and warning fixes" into marshmallow-cts-dev am: b9c3777b77  -s ours
am: 245bd3ffc4  -s ours

Change-Id: I96c93068b1bb4040ffbac15bd3cef9ae2340d2f1

7 years agoDO NOT MERGE CP vertex array test and warning fixes am: c63640e53a -s ours
Jarkko Pyry [Tue, 13 Sep 2016 18:46:55 +0000 (18:46 +0000)]
DO NOT MERGE CP vertex array test and warning fixes am: c63640e53a  -s ours
am: b136cc9a59  -s ours

Change-Id: Ie181e39e7e799eed5ec5f817fda809e86c082800

7 years agoMerge "Fix GLES2 format mismatch" into marshmallow-cts-dev am: 98dd6ac745
Daniel Xie [Tue, 13 Sep 2016 18:46:54 +0000 (18:46 +0000)]
Merge "Fix GLES2 format mismatch" into marshmallow-cts-dev am: 98dd6ac745
am: 5dee7d519c

Change-Id: I7fbf4c4a02279fe743a1b088d484acbd948ce604

7 years agoFix GLES2 format mismatch am: 4b80682693
Stphane Marchesin [Tue, 13 Sep 2016 18:46:54 +0000 (18:46 +0000)]
Fix GLES2 format mismatch am: 4b80682693
am: 9a9c641a84

Change-Id: Ic24eba3990aa9fb563e1501e749dd3f29d99f75b

7 years agoIncrease no-data timeout to 5 seconds. am: d00b71cbc3
Haixia Shi [Tue, 13 Sep 2016 18:46:52 +0000 (18:46 +0000)]
Increase no-data timeout to 5 seconds. am: d00b71cbc3
am: a7afa30111

Change-Id: Ice660fcf10955047eac6b2ef1c60114d2fb97b0e

7 years agoRemove use of varargs.h from deString.c.
Jamie Madill [Thu, 4 Aug 2016 14:06:52 +0000 (10:06 -0400)]
Remove use of varargs.h from deString.c.

This file is no longer necessary for MSVS, and messes up the Clang
Windows build.

7 years agoMerge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA."
Treehugger Robot [Tue, 13 Sep 2016 17:13:08 +0000 (17:13 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA."

7 years agoMerge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:43 +0000 (16:43 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev

7 years agoMerge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:39 +0000 (16:43 +0000)]
Merge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev

7 years agoMerge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:35 +0000 (16:43 +0000)]
Merge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev

7 years agoMerge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:30 +0000 (16:43 +0000)]
Merge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev

7 years agoMerge changes I212a8bc2,I476b6586 into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:20 +0000 (16:43 +0000)]
Merge changes I212a8bc2,I476b6586 into nougat-cts-dev

* changes:
  DO NOT MERGE Allow old behavior in image format property tests
  CP: Fix required sample count tests

7 years agoMerge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat...
Daniel Xie [Tue, 13 Sep 2016 16:43:15 +0000 (16:43 +0000)]
Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev

7 years agoMerge "CP: Fix geometry shader support check" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:11 +0000 (16:43 +0000)]
Merge "CP: Fix geometry shader support check" into nougat-cts-dev

7 years agoMerge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:43:06 +0000 (16:43 +0000)]
Merge "CP: Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into nougat-cts-dev

7 years agoMerge changes I85492417,I93389a2c into nougat-cts-dev
Daniel Xie [Tue, 13 Sep 2016 16:42:54 +0000 (16:42 +0000)]
Merge changes I85492417,I93389a2c into nougat-cts-dev

* changes:
  CP: Limit VkInstance count in object_management.multithreaded*
  CP: Do not test VkDevice, VkInstance creation OOM paths in WSI tests

7 years agoFix internal format/type for 3D + depth/stencil negative API tests.
Kenneth Graunke [Mon, 12 Sep 2016 19:37:08 +0000 (12:37 -0700)]
Fix internal format/type for 3D + depth/stencil negative API tests.

According to the ES 3.2 specification:

   "Textures with a base internal format of DEPTH_COMPONENT, DEPTH_STENCIL
    or STENCIL_INDEX are supported by texture image specification commands
    only if target is TEXTURE_2D, TEXTURE_2D_MULTISAMPLE, TEXTURE_2D_ARRAY,
    TEXTURE_2D_MULTISAMPLE_ARRAY, TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY.
    Using these formats in conjunction with any other target will result in
    an INVALID_OPERATION error."

This subtest tried to check the above error condition, but it specified
GL_DEPTH_STENCIL / GL_DEPTH_COMPONENT as format, rather than internalFormat.
Since the above text calls out "base internal format", we should specify
it as internalFormat.

We also change GL_DEPTH_STENCIL to use GL_UNSIGNED_INT_24_8 rather than
GL_UNSIGNED_BYTE, as that combination was illegal for a different reason
than the one the test intended to check.

7 years agoFix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
Kenneth Graunke [Sun, 4 Sep 2016 07:34:47 +0000 (00:34 -0700)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.

The dEQP-GLES31.functional.shaders.sample_variables.sample_mask_in.
bit_count_per_two_samples.multisample_{texture,renderbuffer}_{1,2}
tests report:

    Verifying gl_SampleMaskIn.
    Fragment shader may be invoked [ceil(numSamples/2), numSamples] times.
    => gl_SampleMaskIn should have the number of bits set in range
       [1, numSamples - ceil(numSamples/2) + 1]:

which suggests that maxBitCount should be ceil(2/2) + 1 = 1 + 1 = 2.

However, it then says:

    Setting minBitCount = 1, maxBitCount = 1.

Having two bits should be acceptable for 2x MSAA.

This patch drops the special case for 1x/2x MSAA, making them work
like all the other MSAA levels.

7 years agoMove early fragment tests to fragment_operations group
Maciej Jesionowski [Mon, 12 Sep 2016 10:15:58 +0000 (12:15 +0200)]
Move early fragment tests to fragment_operations group

Change-Id: I21589282ad6c5890f108d28d95dd645736db8cdc

7 years agoFix OpVariable position in OpInBoundsAccessChain tests.
Gabor Abraham [Thu, 8 Sep 2016 15:15:35 +0000 (17:15 +0200)]
Fix OpVariable position in OpInBoundsAccessChain tests.

Fixes #489

Change-Id: I4ee027fd82f5a5f5d54dd3abd4d9b50250eb3e31

7 years agoBump libdeqp to android-22.
Dan Albert [Thu, 8 Sep 2016 23:07:20 +0000 (16:07 -0700)]
Bump libdeqp to android-22.

The tests and APK are built with android-22.

Test: mm
Bug: None
Change-Id: I34a677c55443f8750098db1335919704b8b16010

7 years agoAdd multi-viewport scissoring tests
Maciej Jesionowski [Fri, 2 Sep 2016 13:06:39 +0000 (15:06 +0200)]
Add multi-viewport scissoring tests

Uses geometry shader to draw into multiple viewports,
each viewport using its own scissor.

New test:
- dEQP-VK.fragment_operations.scissor.multi_viewport.*

Fixes #452

Change-Id: Icd98a8889319e3b6d189b7578c609913083c0e02

7 years agoRemove XML mustpass lists
Pyry Haulos [Wed, 24 Aug 2016 22:19:40 +0000 (15:19 -0700)]
Remove XML mustpass lists

Android CTS no longer uses per-package XML test lists.

Change-Id: I5e0ed6f71b0ba36b9d9cefc563154a4768a40a3f

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 8 Sep 2016 20:15:50 +0000 (13:15 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: I093c350e439e256a070c1bd7d199fafdb46bd2d8

7 years agoAdd new files to Android.mk
Pyry Haulos [Thu, 8 Sep 2016 20:14:06 +0000 (13:14 -0700)]
Add new files to Android.mk

Change-Id: I45a16aba19e12533de3c60eb4a3c75f117c1410e

7 years agoMerge "Add tests for dynamic indexing of push constants" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:31:12 +0000 (14:31 -0400)]
Merge "Add tests for dynamic indexing of push constants" into vulkan-cts-1.0-dev

7 years agoMerge "Add tests for simultaneous use of secondary command buffer" into vulkan-cts...
Pyry Haulos [Thu, 8 Sep 2016 18:20:57 +0000 (14:20 -0400)]
Merge "Add tests for simultaneous use of secondary command buffer" into vulkan-cts-1.0-dev

7 years agoMerge "Add scissoring tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:20:37 +0000 (14:20 -0400)]
Merge "Add scissoring tests" into vulkan-cts-1.0-dev

7 years agoMerge "Add new pipeline barrier tests to mustpass" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:19:48 +0000 (14:19 -0400)]
Merge "Add new pipeline barrier tests to mustpass" into vulkan-cts-1.0-dev

7 years agoMerge "Fix wrong test in copies and blitting testcases" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:19:32 +0000 (14:19 -0400)]
Merge "Fix wrong test in copies and blitting testcases" into vulkan-cts-1.0-dev

7 years agoMerge "dEQP-VK.pipeline.image.*: added test cases for 3D images with NPOT sizes....
Pyry Haulos [Thu, 8 Sep 2016 18:19:10 +0000 (14:19 -0400)]
Merge "dEQP-VK.pipeline.image.*: added test cases for 3D images with NPOT sizes." into vulkan-cts-1.0-dev

7 years agoMerge "Extend shader built-in variable tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:36 +0000 (14:18 -0400)]
Merge "Extend shader built-in variable tests" into vulkan-cts-1.0-dev

7 years agoMerge "Multisampled depth/stencil attachment test" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:18:14 +0000 (14:18 -0400)]
Merge "Multisampled depth/stencil attachment test" into vulkan-cts-1.0-dev

7 years agoMerge "Add tests for initialized and uninitialized cases." into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 18:17:49 +0000 (14:17 -0400)]
Merge "Add tests for initialized and uninitialized cases." into vulkan-cts-1.0-dev

7 years agoAdd multisampled storage image load/store on a rendered image
Maciej Jesionowski [Thu, 28 Jul 2016 12:20:15 +0000 (14:20 +0200)]
Add multisampled storage image load/store on a rendered image

New test:

- dEQP-VK.pipeline.multisample.storage_image.*

Fixes #439

Change-Id: If4d6d9511db5d1c6aa9e6d54ce04dcba8e1de5cd

7 years agoAdd multisampled image texel fetch test
Maciej Jesionowski [Wed, 20 Jul 2016 10:51:49 +0000 (12:51 +0200)]
Add multisampled image texel fetch test

New test:

- dEQP-VK.pipeline.multisample.sampled_image.*

Fixes #428

Change-Id: I947053c5fc48f7d479fab80a6fc31823da3e5c1a

7 years agoMerge "dEQP-VK.pipeline.vertex_input: sequential attributes test" into vulkan-cts...
Pyry Haulos [Thu, 8 Sep 2016 17:59:43 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline.vertex_input: sequential attributes test" into vulkan-cts-1.0-dev

7 years agoMerge "dEQP-VK.pipeline: multisample interpolation tests" into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 8 Sep 2016 17:59:17 +0000 (13:59 -0400)]
Merge "dEQP-VK.pipeline: multisample interpolation tests" into vulkan-cts-1.0-dev

7 years agoMerge "Build scripts: add support for NMake project generator" into vulkan-cts-1...
Pyry Haulos [Thu, 8 Sep 2016 17:38:24 +0000 (13:38 -0400)]
Merge "Build scripts: add support for NMake project generator" into vulkan-cts-1.0-dev

7 years agoCP: Split load/store image tests into sub-groups
Kalle Raita [Sat, 13 Aug 2016 00:09:41 +0000 (17:09 -0700)]
CP: Split load/store image tests into sub-groups

Split load/store negative tests into sub-groups per texture type to
reduce the time required per single test case.

Bug: 30785598
Bug: 31343756

(cherry picked from commit 90763f1f7dfed4880fee7305b8f5789137951afc)

Change-Id: I4bd10004ee90f42ae616e654e425aa11df0cdd8d

7 years agoBuild scripts: add support for NMake project generator
Slawomir Cygan [Thu, 11 Aug 2016 14:02:19 +0000 (16:02 +0200)]
Build scripts: add support for NMake project generator

Requires nmake.exe in PATH (try running from Visual Studio Command
Prompt, or use vcvars*.bat).

Change-Id: I2bfcfa46a5529066000745209673804b1863f1fc

7 years agoAdd new pipeline barrier tests to mustpass
Pyry Haulos [Mon, 29 Aug 2016 22:02:15 +0000 (15:02 -0700)]
Add new pipeline barrier tests to mustpass

Change-Id: Ibc499ad78c5a5d1268096d14033447192cc44552

7 years agoAdd tests for simultaneous use of secondary command buffer
Tobin Ehlis [Wed, 31 Aug 2016 18:49:07 +0000 (12:49 -0600)]
Add tests for simultaneous use of secondary command buffer

Fixes #335

Add simultaneousUseSecondaryBufferOnePrimaryBufferTest() test. This test
creates a single secondary command with SIMULTANEOUS_USE flag set and add
two instances of it to the same primary command buffer. Then verify that
each instance executes correctly.
Also add simultaneousUseSecondaryBufferTwoPrimaryBuffersTest(). Similar to
above test but same secondary command buffer is bound into two different
primary comman buffers that are then executed simultaneously.
In both cases the secondary command buffers are each atomically
incrementing a count from within a compute shader.

Update the mustpass lists.

Also made a few minor infrastructure additions:
Add a generic createDataBuffer() function to create a single buffer that
isn't built around a vec4 of color data.
Add a simpler createDescriptorSet() function that binds a results buffer
to binding 0 and an input uniform to binding 1.
Provide the compute result buffer initialization value in a parameter
which defaults to -1.0f. This allows flexibility for other tests that may
want a different default value, such as the new test mentioned above.

Change-Id: Icf6ebbac0e1975e1cf49f60e5aa8afb32f9885de

7 years agoAdd tests for dynamic indexing of push constants
Cody Northrop [Wed, 31 Aug 2016 01:52:59 +0000 (19:52 -0600)]
Add tests for dynamic indexing of push constants

Fixes #465

Change-Id: Ia20d7a9906db300ec79be82c2c936e40e699d452

7 years agodEQP-VK.pipeline: multisample interpolation tests
Kantoch [Thu, 28 Jul 2016 14:39:48 +0000 (16:39 +0200)]
dEQP-VK.pipeline: multisample interpolation tests

New test:
- dEQP-VK.pipeline.multisample_interpolation.*

Fixes #427

Change-Id: I235dc4781dff92e89ea645778e046d61b3909b32

7 years agoMerge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Pyry Haulos [Thu, 1 Sep 2016 17:50:53 +0000 (10:50 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master

Change-Id: Ic526d403eb9f9134d62c43476860ef0ad9e044d1