platform/upstream/VK-GL-CTS.git
8 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Wed, 28 Oct 2015 07:09:27 +0000 (07:09 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours am: a635ea841e am: 1bb32404ed  -s ours am: 7f2264e8b5 am: d3b78bf3e5  -s ours
am: 8690d23615  -s ours

* commit '8690d23615f33af12ea79baadfd1a5d6223500d9':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

8 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Wed, 28 Oct 2015 07:09:24 +0000 (07:09 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4 am: a9216ffd5a am: 195c6d1c5f am: ad9738c0c6 am: 830808e133
am: 8b6f040640

* commit '8b6f040640082fe6e3dcc277b921507eef603845':
  Remove broken record_variable_selection test from MR1 must-pass.

8 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Wed, 28 Oct 2015 07:09:21 +0000 (07:09 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours am: 76114a7968 am: 90b1a9f687  -s ours am: 7ec9411ee5 am: f5e70d59de  -s ours
am: 191dc35ed9  -s ours

* commit '191dc35ed9a98d5c8fe6d8de54772cd2c1cae5dd':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

8 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Wed, 28 Oct 2015 07:09:18 +0000 (07:09 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours am: 366da5103d am: 6a4a901e5a  -s ours am: 3a8d6b0b02 am: 570b43e224  -s ours
am: accc799820  -s ours

* commit 'accc79982060917ae11f14395c1c16d20ee40a27':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

8 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours...
Jarkko Pöyry [Wed, 28 Oct 2015 07:09:15 +0000 (07:09 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours am: 80ff623675 am: f088b2b570  -s ours am: 867d4a0416 am: 5d43de505e  -s ours
am: 060771caf1  -s ours

* commit '060771caf1a668eab92a221281306a947b58bc33':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

8 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Wed, 28 Oct 2015 07:06:39 +0000 (07:06 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours am: a635ea841e am: 1bb32404ed  -s ours am: 7f2264e8b5
am: d3b78bf3e5  -s ours

* commit 'd3b78bf3e556334039d84d5171e816038d1ddf20':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

8 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Wed, 28 Oct 2015 07:06:36 +0000 (07:06 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4 am: a9216ffd5a am: 195c6d1c5f am: ad9738c0c6
am: 830808e133

* commit '830808e1331c03567c0f60ccdf9429cea56dd182':
  Remove broken record_variable_selection test from MR1 must-pass.

8 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Wed, 28 Oct 2015 07:06:33 +0000 (07:06 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours am: 76114a7968 am: 90b1a9f687  -s ours am: 7ec9411ee5
am: f5e70d59de  -s ours

* commit 'f5e70d59deb93a5090bc99837242d842e023a53a':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

8 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Wed, 28 Oct 2015 07:06:30 +0000 (07:06 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours am: 366da5103d am: 6a4a901e5a  -s ours am: 3a8d6b0b02
am: 570b43e224  -s ours

* commit '570b43e224af89cd10a2852110914732c00b1d7e':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

8 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours...
Jarkko Pöyry [Wed, 28 Oct 2015 07:06:27 +0000 (07:06 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours am: 80ff623675 am: f088b2b570  -s ours am: 867d4a0416
am: 5d43de505e  -s ours

* commit '5d43de505e36fdc7f9feec38b81618e1b6bb79c7':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

8 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Wed, 28 Oct 2015 07:04:03 +0000 (07:04 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours am: a635ea841e am: 1bb32404ed  -s ours
am: 7f2264e8b5

* commit '7f2264e8b5a795ffb7b639d7721498066d371f8d':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

8 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Wed, 28 Oct 2015 07:03:59 +0000 (07:03 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4 am: a9216ffd5a am: 195c6d1c5f
am: ad9738c0c6

* commit 'ad9738c0c642d22c0e68340112450b70ab6e9a9d':
  Remove broken record_variable_selection test from MR1 must-pass.

8 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Wed, 28 Oct 2015 07:03:54 +0000 (07:03 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours am: 76114a7968 am: 90b1a9f687  -s ours
am: 7ec9411ee5

* commit '7ec9411ee543d760169c78c2851d9a243e669ac5':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

8 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Wed, 28 Oct 2015 07:03:50 +0000 (07:03 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours am: 366da5103d am: 6a4a901e5a  -s ours
am: 3a8d6b0b02

* commit '3a8d6b0b0229727b42c641a1eaa23b790a4e4b99':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

8 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours...
Jarkko Pöyry [Wed, 28 Oct 2015 07:03:46 +0000 (07:03 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours am: 80ff623675 am: f088b2b570  -s ours
am: 867d4a0416

* commit '867d4a0416a05c2cf5d429f80ffdba88a4cda68c':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

8 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 23:12:09 +0000 (23:12 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours am: a635ea841e
am: 1bb32404ed  -s ours

* commit '1bb32404edf9a409903549437eb00f84543f17a4':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

8 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 23:03:41 +0000 (23:03 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4 am: a9216ffd5a
am: 195c6d1c5f

* commit '195c6d1c5fdeb78fccc1f36c8f87522ed75d8377':
  Remove broken record_variable_selection test from MR1 must-pass.

8 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Tue, 27 Oct 2015 23:03:37 +0000 (23:03 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours am: 76114a7968
am: 90b1a9f687  -s ours

* commit '90b1a9f687cd55d373c1b3a0b2dc40b6165b212a':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

8 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Tue, 27 Oct 2015 23:03:33 +0000 (23:03 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours am: 366da5103d
am: 6a4a901e5a  -s ours

* commit '6a4a901e5a338db4ae668de61128667d617b373b':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

8 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours...
Jarkko Pöyry [Tue, 27 Oct 2015 23:03:29 +0000 (23:03 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours am: 80ff623675
am: f088b2b570  -s ours

* commit 'f088b2b570e1c981e3f9a80e63e653bfe46ca418':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

8 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 23:03:28 +0000 (23:03 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev am: 06627c74b4  -s ours
am: a635ea841e

* commit 'a635ea841ea5590ac4e965be373805456c00b5b3':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

8 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 22:57:22 +0000 (22:57 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am: 67685b11a4
am: a9216ffd5a

* commit 'a9216ffd5a1d7ed4e50789698e038dc29b963a97':
  Remove broken record_variable_selection test from MR1 must-pass.

8 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a7716...
Jarkko Pöyry [Tue, 27 Oct 2015 22:57:18 +0000 (22:57 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am: a77161bb85  -s ours
am: 76114a7968

* commit '76114a79684be7cba79b5c901c2d29362ffe3372':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

8 years agoDO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8 ...
Pyry Haulos [Tue, 27 Oct 2015 22:57:13 +0000 (22:57 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am: 5b076d99a8  -s ours
am: 366da5103d

* commit '366da5103d0ca17b59ce36596a92c5cefec04939':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

8 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2 -s ours
Jarkko Pöyry [Tue, 27 Oct 2015 22:57:07 +0000 (22:57 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am: 5c7feb8db2  -s ours
am: 80ff623675

* commit '80ff623675ed8f9bf0f8b179335fd0ba4fde6321':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

8 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 22:51:48 +0000 (22:51 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev
am: 06627c74b4  -s ours

* commit '06627c74b4a3237034aaa10c8635a01cb25e72f7':
  DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass

8 years agoMerge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from...
Daniel Xie [Tue, 27 Oct 2015 22:46:45 +0000 (22:46 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners;  remove D32F from mustpass" into lollipop-mr1-cts-dev

8 years agoDO NOT MERGE: Add cube gather tests that avoid corners;
Pyry Haulos [Wed, 19 Nov 2014 19:31:46 +0000 (11:31 -0800)]
DO NOT MERGE: Add cube gather tests that avoid corners;
remove D32F from mustpass

This change adds new no_corners sub-groups to cube map texture gather
tests. Tests in those groups don't sample around cube map corners,
avoiding a HW issue on certain GPUs. All new tests are included in MR1
mustpass.

GL_DEPTH_COMPONENT32F cube gather cases that sample around corners are
removed from mustpass by request.

Additionally this resolves a bug with filling mipmap levels high up in
the mipmap chain in gather tests.

Bug: 18434194
Change-Id: Ib1635aefba4f1d64a15d22e481b79229573a64a7

8 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 22:46:31 +0000 (22:46 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev
am: 67685b11a4

* commit '67685b11a48d6c50a43749a828344a9852fdb916':
  Remove broken record_variable_selection test from MR1 must-pass.

8 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification.
Jarkko Pöyry [Tue, 27 Oct 2015 22:46:27 +0000 (22:46 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification.
am: a77161bb85  -s ours

* commit 'a77161bb85a6471abc0dab1708f4c3b7a830c5c3':
  DO NOT MERGE: Apply fix for tessellation fractional even test verification.

8 years agoDO NOT MERGE Do not require signed zero support in ldexp tests()
Pyry Haulos [Tue, 27 Oct 2015 22:46:22 +0000 (22:46 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests()
am: 5b076d99a8  -s ours

* commit '5b076d99a8f7e8031133bd0e8c7e1dacfa0c57c7':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

8 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Tue, 27 Oct 2015 22:46:16 +0000 (22:46 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
am: 5c7feb8db2  -s ours

* commit '5c7feb8db294bc097c7eb9b0d69e9cff142fe23a':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

8 years agoMerge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
Daniel Xie [Tue, 27 Oct 2015 22:45:22 +0000 (22:45 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev

8 years agoRemove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Tue, 6 Jan 2015 20:41:02 +0000 (12:41 -0800)]
Remove broken record_variable_selection test from MR1 must-pass.

tessellation_geometry_interaction.feedback.record_variable_selection
reads gl_in[] element with index larger than patch size. This is
undefined behavior.

Bug: 18917835
Change-Id: Ic1a3dd56b98e4ed0d71292f6727a6fe5d0ce291b

8 years agoDO NOT MERGE: Apply fix for tessellation fractional even test verification.
Jarkko Pöyry [Fri, 27 Feb 2015 22:53:50 +0000 (14:53 -0800)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification.

- Fix to tessellation fractional even tessellation mode verification
  calculating additional segments' length wrong if tessellation generated
  4 segments, and the additional segments were generated as first and last
  segments.

Bug: 19543594
Change-Id: I69e9a03dfcd451fc4e995eae4b5149c67dc50399

8 years agoDO NOT MERGE Do not require signed zero support in ldexp tests()
Pyry Haulos [Fri, 30 Jan 2015 19:38:15 +0000 (11:38 -0800)]
DO NOT MERGE Do not require signed zero support in ldexp tests()

This relaxes ldexp() tests to allow -0/+0 to be interchanged.

Bug: 19145770
Change-Id: I46c6a8f224606a15be0f974af36c281612f2398b
(cherry picked from commit 1e44f197ded674677381f65c840820728cf36efb)

8 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Thu, 11 Jun 2015 16:27:09 +0000 (09:27 -0700)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

- Calculate ULPs assuming denormals (and signed zeros) do not exist.

Bug: 21731219
Change-Id: I6f426c781b2c38d7279b65a973e381f0848fbe02

8 years agoMerge blend tests
Pyry Haulos [Fri, 23 Oct 2015 19:55:32 +0000 (12:55 -0700)]
Merge blend tests

8 years agoMerge in stencil tests
Pyry Haulos [Fri, 23 Oct 2015 19:44:18 +0000 (12:44 -0700)]
Merge in stencil tests

8 years agoInitial Vulkan render pass tests.
Mika Isojärvi [Tue, 11 Aug 2015 22:14:24 +0000 (15:14 -0700)]
Initial Vulkan render pass tests.

Supported:
- Multiple attachments.
- Color and depth-stencil attachments.
- Multiple subpasses.
- Transitive attachments.
- All load and store ops.
- Inlined and secondary command buffers.
- Rendering using cmdClearAttachment() and cmdDarwArrays().
- Copying and logging result images.
- All image layouts used.
- Result verification.

Missing:
- No support for input or resolve attachments.
- Very simple and conservative dependencies between subpasses.
- Different sample counts supported.
- No prober checks for initial and final layouts. Immediately converted
  using pipeline barrier.
- Preserve attachments never used.
- Subpass flags not used.

Change-Id: Ia194ea2458213992d9dfc47c844eada80b7839e2

8 years agoBasic object management tests
Pyry Haulos [Thu, 17 Sep 2015 15:58:23 +0000 (08:58 -0700)]
Basic object management tests

 * All object types
 * Creating multiple objects w/ shared or unique dependencies
 * Creating objects from multiple threads concurrently
   + Per-thread device, per-thread deps, shared deps
 * Creating N concurrent objects (N depends on object)

Change-Id: Ib921599f823c9af7dbf00c23a30769358eeb7fe2

8 years agoAdded pipeline stencil tests.
Dae Kim [Fri, 23 Oct 2015 09:21:16 +0000 (10:21 +0100)]
Added pipeline stencil tests.

8 years agoAdded pipeline blend tests.
Dae Kim [Fri, 23 Oct 2015 09:18:34 +0000 (10:18 +0100)]
Added pipeline blend tests.

8 years agoPort ShaderLibrary-based GLSL ES 3.1 tests to Vulkan
Pyry Haulos [Tue, 1 Sep 2015 21:13:36 +0000 (14:13 -0700)]
Port ShaderLibrary-based GLSL ES 3.1 tests to Vulkan

Change-Id: I4ab49c79e0d8b14aa5ac30e99ae0c4b4286cb676

8 years agoImplement ShaderLibrary for Vulkan
Pyry Haulos [Tue, 1 Sep 2015 21:02:53 +0000 (14:02 -0700)]
Implement ShaderLibrary for Vulkan

Change-Id: I60f95e4dd97ab8ce0910a0012bf446b8402950c2

8 years agoFix invalid use of intThresholdCompare in fragment_ops tests
Pyry Haulos [Tue, 20 Oct 2015 22:07:44 +0000 (22:07 +0000)]
Fix invalid use of intThresholdCompare in fragment_ops tests
am: 400df3e7e4

* commit '400df3e7e4040479e970611c2c11e39049e14cba':
  Fix invalid use of intThresholdCompare in fragment_ops tests

8 years agoFix invalid use of intThresholdCompare in fragment_ops tests
Pyry Haulos [Tue, 20 Oct 2015 17:03:38 +0000 (10:03 -0700)]
Fix invalid use of intThresholdCompare in fragment_ops tests

Blend and random tests in fragment_ops tests were comparing RGB to RGBA
image using intThresholdCompare, which doesn't work as expected after
recent getPixelInt() fix for RGB8.

Bug: 25111313
Change-Id: Iac27bfcad7fb2ca11d9f4af44418cd1cbd72a2f5

8 years agoFix framework support for various Vulkan texture formats
Pyry Haulos [Thu, 15 Oct 2015 22:49:08 +0000 (15:49 -0700)]
Fix framework support for various Vulkan texture formats

Change-Id: I55abe517e9871c04ad6e87ce74fbe8278ed4966a

8 years agoMerge in changes from Khronos master
Pyry Haulos [Mon, 19 Oct 2015 20:59:32 +0000 (13:59 -0700)]
Merge in changes from Khronos master

8 years agoam b5d323b0: Fix invalid uses of PixelBufferAccess
Pyry Haulos [Mon, 19 Oct 2015 20:20:54 +0000 (20:20 +0000)]
am b5d323b0: Fix invalid uses of PixelBufferAccess

* commit 'b5d323b0daefbf7f7f4cb5e9cc631e2ab837b6ed':
  Fix invalid uses of PixelBufferAccess

8 years agoMerge branch 'scygan-fix_gen_wrappers.py' into 'master'
Pyry Haulos [Mon, 19 Oct 2015 19:58:21 +0000 (15:58 -0400)]
Merge branch 'scygan-fix_gen_wrappers.py' into 'master'

Fix gen_framework.py - it ignored the arrays in function parameters.

This makes wrapped cmdSetBlendConstants not accept 4  blendConstants

See merge request !40

8 years agoFix gen_framework.py - it ignored the arrays in function parameters.
scygan [Mon, 19 Oct 2015 18:11:02 +0000 (20:11 +0200)]
Fix gen_framework.py - it ignored the arrays in function parameters.

This makes wrapped cmdSetBlendConstants not accept 4  blendConstants

8 years agoMerge branch '16-buffers' into 'master'
Pyry Haulos [Mon, 19 Oct 2015 15:18:22 +0000 (11:18 -0400)]
Merge branch '16-buffers' into 'master'

Update the test specification of the Buffers

See merge request !37

8 years agoFix invalid uses of PixelBufferAccess
Pyry Haulos [Mon, 19 Oct 2015 15:13:36 +0000 (08:13 -0700)]
Fix invalid uses of PixelBufferAccess

Change-Id: Ibde25054f5128e617ad423e65855150ea38df9f1

8 years agoUpdate the test specification of the Buffers
Kristof Kosztyo [Fri, 9 Oct 2015 08:45:47 +0000 (10:45 +0200)]
Update the test specification of the Buffers

8 years agoFix vulkan image util format mappings.
Mika Isojärvi [Fri, 16 Oct 2015 23:25:34 +0000 (16:25 -0700)]
Fix vulkan image util format mappings.

Change-Id: Ib002881956c535403fceb49546833ba197817d14

8 years agoam 0b78ae91: Merge "Add tests for PixelBufferAccess getPixel/setPixel"
Pyry Haulos [Fri, 16 Oct 2015 22:29:11 +0000 (22:29 +0000)]
am 0b78ae91: Merge "Add tests for PixelBufferAccess getPixel/setPixel"

* commit '0b78ae91f285d6aaeb38f8a1ddb874699a491004':
  Add tests for PixelBufferAccess getPixel/setPixel

8 years agoam 8687dbaf: Merge "Add a few utils for tcu::TextureFormat"
Pyry Haulos [Fri, 16 Oct 2015 22:29:10 +0000 (22:29 +0000)]
am 8687dbaf: Merge "Add a few utils for tcu::TextureFormat"

* commit '8687dbaf764553da1ff693be707e5ac675a413ee':
  Add a few utils for tcu::TextureFormat

8 years agoam 6c34b22e: Merge "Add new texture formats and remove 2 problematic formats"
Pyry Haulos [Fri, 16 Oct 2015 22:29:09 +0000 (22:29 +0000)]
am 6c34b22e: Merge "Add new texture formats and remove 2 problematic formats"

* commit '6c34b22e61ea80f1f9e168c50c43465b2cbf9bfe':
  Add new texture formats and remove 2 problematic formats

8 years agoMerge "Add tests for PixelBufferAccess getPixel/setPixel"
Pyry Haulos [Fri, 16 Oct 2015 22:25:00 +0000 (22:25 +0000)]
Merge "Add tests for PixelBufferAccess getPixel/setPixel"

8 years agoMerge "Add a few utils for tcu::TextureFormat"
Pyry Haulos [Fri, 16 Oct 2015 22:24:50 +0000 (22:24 +0000)]
Merge "Add a few utils for tcu::TextureFormat"

8 years agoMerge "Add new texture formats and remove 2 problematic formats"
Pyry Haulos [Fri, 16 Oct 2015 22:24:38 +0000 (22:24 +0000)]
Merge "Add new texture formats and remove 2 problematic formats"

8 years agoAdd tests for PixelBufferAccess getPixel/setPixel
Pyry Haulos [Mon, 12 Oct 2015 22:33:10 +0000 (15:33 -0700)]
Add tests for PixelBufferAccess getPixel/setPixel

Change-Id: I6acf3ee8e82208090859b895e47a6a9ca1a3a566

8 years agoAdd a few utils for tcu::TextureFormat
Pyry Haulos [Wed, 14 Oct 2015 19:55:20 +0000 (12:55 -0700)]
Add a few utils for tcu::TextureFormat

 * tcu::isValid(TextureFormat) can be used to check if format is
supported by tcuTexture.

 * tcu::isAccessValid() can be used to check if getPixel/setPixel access
type is supported for TextureFormat.

 * Added tcu::getPixelSize() and deprecated
TextureFormat::getPixelSize().

Change-Id: Ibed3c130d238fb61bb8572678bd6c94ba9457cf9

8 years agoAdd new texture formats and remove 2 problematic formats
Pyry Haulos [Wed, 14 Oct 2015 19:27:58 +0000 (12:27 -0700)]
Add new texture formats and remove 2 problematic formats

 * Add (DS, UNSIGNED_INT_16_8_8).

 * Add (RG, UNORM_BYTE_44).

 * Add (D/DS, UNSIGNED_INT_24_8_REV).

 * Add SNORM_SHORT_565, _4444, _5551, and _INT_1010102_REV.

 * Add sBGR and sBGRA channel orders.

 * Add support for BGR(A) channel orders for *NORM_SHORT_565, _555,
_4444, _5551, and *INT_1010102_REV.

 * Remove FLOAT_UNSIGNED_INT_8 as depth access had unaligned 'float'
values.

 * Remove UNSIGNED_INT_16_8 as depth access had unaligned 'short'
values.

Change-Id: I53092b174b7b1657826392a8ce876bf867f6d46f

8 years agoUse explicit layout and remove GLSLShared in the OpNop test.
Lei Zhang [Thu, 15 Oct 2015 21:30:45 +0000 (17:30 -0400)]
Use explicit layout and remove GLSLShared in the OpNop test.

This is required by Vulkan validation rules within a shader module.

Change-Id: Ie4058bdaa4e4d1cff14d39ba3dba1bdc8d7dc234

8 years agoMerge "Add more tests to dEQP-VK.info" into vulkan
Pyry Haulos [Fri, 16 Oct 2015 17:40:26 +0000 (17:40 +0000)]
Merge "Add more tests to dEQP-VK.info" into vulkan

8 years agoMerge "Make vkt::TestInstance assignment and copy ctor private" into vulkan
Pyry Haulos [Fri, 16 Oct 2015 17:40:00 +0000 (17:40 +0000)]
Merge "Make vkt::TestInstance assignment and copy ctor private" into vulkan

8 years agoam c198d02e: Fix building on darwin-x86_64 with clang
Jesse Hall [Fri, 16 Oct 2015 15:21:34 +0000 (15:21 +0000)]
am c198d02e: Fix building on darwin-x86_64 with clang

* commit 'c198d02e1a3c433f5d580273e1dbc7396d8fcf0a':
  Fix building on darwin-x86_64 with clang

8 years agoFix building on darwin-x86_64 with clang
Jesse Hall [Fri, 16 Oct 2015 02:44:21 +0000 (19:44 -0700)]
Fix building on darwin-x86_64 with clang

Change-Id: I258a707662f90777a4e7c2555f9ba9ee9106fa26

8 years agoRename "opnop_test" to "opnop".
Dejan Mircevski [Thu, 15 Oct 2015 20:28:56 +0000 (16:28 -0400)]
Rename "opnop_test" to "opnop".

Change-Id: I7e6a7faa845503c0416fa8ca8b99839246f710cd

8 years agoMerge "SpirVAssembly: Vulkan environment basics for compute pipeline." into vulkan
Lei Zhang [Thu, 15 Oct 2015 19:28:16 +0000 (19:28 +0000)]
Merge "SpirVAssembly: Vulkan environment basics for compute pipeline." into vulkan

8 years agoSpirVAssembly: Vulkan environment basics for compute pipeline.
Lei Zhang [Mon, 28 Sep 2015 20:52:14 +0000 (16:52 -0400)]
SpirVAssembly: Vulkan environment basics for compute pipeline.

Set up test groups for SPIR-V assembly tests.

Set up Vulkan environment for compute pipeline.

Added a simple compute shader which just negates data from input
buffer. And test SPIR-V instruction OpNop based on that.

Change-Id: I8ccd518d9441899667edd58a042315780b068d1e

8 years agoam bfb203d5: (-s ours) am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31...
Kalle Raita [Thu, 15 Oct 2015 17:25:48 +0000 (17:25 +0000)]
am bfb203d5: (-s ours) am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit 'bfb203d582e8eae319ef958210cfaf29bafe016d':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:20:31 +0000 (17:20 +0000)]
am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit '7aad11b331b77930088d20c6748a6bf22f6ab506':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:15:07 +0000 (17:15 +0000)]
am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit 'eee8271e04e7b701798aaee445c794f65a984d36':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam ed67acb6: Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported
Pyry Haulos [Wed, 14 Oct 2015 16:29:55 +0000 (16:29 +0000)]
am ed67acb6: Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

* commit 'ed67acb6743caaff7536d3ffd48fa02baf5c595f':
  Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

8 years agoDo not query GL_MAX_PATCH_VERTICES if tessellation is not supported
Pyry Haulos [Tue, 13 Oct 2015 20:06:24 +0000 (13:06 -0700)]
Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

Bug: 24870380
Change-Id: Ia80a536334200ae0df8b042829554f8773b64967

8 years agoresolved conflicts for 00d2d01b to vulkan
Pyry Haulos [Tue, 13 Oct 2015 19:41:51 +0000 (12:41 -0700)]
resolved conflicts for 00d2d01b to vulkan

Change-Id: Ic61d31525616cffa2312efab1d53d0da9e7416f2

8 years agoAdd couple of new tcu::TextureFormat::ChannelType's
Pyry Haulos [Mon, 12 Oct 2015 21:06:47 +0000 (14:06 -0700)]
Add couple of new tcu::TextureFormat::ChannelType's

Change-Id: Iffa8a87f69f3da3bea435c422279f1b8d65c71a9

8 years agoAdd more tests to dEQP-VK.info
Pyry Haulos [Fri, 9 Oct 2015 17:32:04 +0000 (10:32 -0700)]
Add more tests to dEQP-VK.info

This adds queries for physical device properties and features, layers,
and extensions.

Change-Id: Icd04751174fbb426ae09c4c7e79e5e2a35df7025

8 years agoUpdate glslang revision
Pyry Haulos [Mon, 12 Oct 2015 16:09:49 +0000 (09:09 -0700)]
Update glslang revision

Change-Id: If916b693625ca9f2644c4e854494bb2ea51142a8

8 years agoUpdate SPIR-V tests and spirv-tools to SPIR-V rev32.
Lei Zhang [Fri, 9 Oct 2015 15:53:21 +0000 (11:53 -0400)]
Update SPIR-V tests and spirv-tools to SPIR-V rev32.

Change-Id: I60da261bff306e6749ef75890d9238761681f939

8 years agoUpdate glslang reference to Rev32 in gitlab
Pyry Haulos [Mon, 28 Sep 2015 22:03:08 +0000 (15:03 -0700)]
Update glslang reference to Rev32 in gitlab

Change-Id: I9fb3fc9ba00d3f6a27f90a7a6561a5df7e7c865c

8 years agoUpdate to API version 170.2
Pyry Haulos [Mon, 28 Sep 2015 21:51:57 +0000 (14:51 -0700)]
Update to API version 170.2

Change-Id: Icf48994ec9cff5a17ff1472bff2a1272a35a32c3

8 years agoam 330f6e62: Add ability to choose ExecServer port on Android
Pyry Haulos [Wed, 7 Oct 2015 17:23:31 +0000 (17:23 +0000)]
am 330f6e62: Add ability to choose ExecServer port on Android

* commit '330f6e62b24a80eb92f08a60eb6b769480572be9':
  Add ability to choose ExecServer port on Android

8 years agoAdd ability to choose ExecServer port on Android
Pyry Haulos [Tue, 6 Oct 2015 22:46:39 +0000 (15:46 -0700)]
Add ability to choose ExecServer port on Android

Both ExecService and ServiceStarter will now use "port" integer extra,
if supplied as part of intent, to choose port.

Bug: 23429375
Change-Id: Ia4c5f6f4c90e01f8879aa76a9ba48c8addfc9669

8 years agoDO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Tue, 6 Oct 2015 18:50:19 +0000 (11:50 -0700)]
DO NOT MERGE Split GLES31 copy image tests in 3.

Add support for filter-based splits of the CTS packages in
build_android_mustpass.py.

Split GLES31 copy image tests into 3 smaller CTS packages to get all CTS
packages to run in 3 hours or less on current platforms.

Bug: 24312007
Change-Id: I96bf1ce751ec341f1d6bfa80e7a28daf68cdf1e1

8 years agoam a60dea67: Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED
Christian Poetzsch [Mon, 5 Oct 2015 20:20:26 +0000 (20:20 +0000)]
am a60dea67: Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

* commit 'a60dea67360b3fd0d4907eb1885ed94de07dbba8':
  Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

8 years agoExplicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED
Christian Poetzsch [Mon, 14 Sep 2015 14:20:43 +0000 (15:20 +0100)]
Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

Some new tests missing the call to set the BUFFERED_DESTROYED swap
behavior.

Change-Id: I2856833d78b9d4763614f68e42eb31194cfe7715

9 years agoMake vkt::TestInstance assignment and copy ctor private
Pyry Haulos [Fri, 2 Oct 2015 18:52:26 +0000 (11:52 -0700)]
Make vkt::TestInstance assignment and copy ctor private

Change-Id: I629f51972302a46fcba51eac87a69d32313bf05a

9 years agoam 4dae2c1c: Merge "Add deCtz32() to deInt32.h"
Pyry Haulos [Thu, 1 Oct 2015 20:50:35 +0000 (20:50 +0000)]
am 4dae2c1c: Merge "Add deCtz32() to deInt32.h"

* commit '4dae2c1cc0d97512a9e9670a86deff78345a2b0a':
  Add deCtz32() to deInt32.h

9 years agoMerge "Add deCtz32() to deInt32.h"
Pyry Haulos [Thu, 1 Oct 2015 20:48:16 +0000 (20:48 +0000)]
Merge "Add deCtz32() to deInt32.h"

9 years agoAdd vkTypeUtil
Pyry Haulos [Thu, 1 Oct 2015 15:13:47 +0000 (08:13 -0700)]
Add vkTypeUtil

vkTypeUtil.hpp provides convenience functions for creating "simple"
Vulkan composite types, such as VkRect2D or VkChannelMapping.

Change-Id: I5b76046a61a06e92539a19666391b3c322863fca

9 years agoam 8914681e: Re-generate master mustpass
Pyry Haulos [Wed, 30 Sep 2015 21:27:52 +0000 (21:27 +0000)]
am 8914681e: Re-generate master mustpass

* commit '8914681e8a611121c915950909cad9157cae37e4':
  Re-generate master mustpass

9 years agoRe-generate master mustpass
Pyry Haulos [Wed, 30 Sep 2015 21:20:15 +0000 (14:20 -0700)]
Re-generate master mustpass

Change-Id: I3552a20708cd565c677d2e04626b5ea63ea03f89

9 years agoam 1c952028: Merge "Add preprocessor "defined" operator corner cases"
Pyry Haulos [Wed, 30 Sep 2015 20:06:46 +0000 (20:06 +0000)]
am 1c952028: Merge "Add preprocessor "defined" operator corner cases"

* commit '1c952028cf7b088abb9f23b721a4f54210e47c66':
  Add preprocessor "defined" operator corner cases

9 years agoam 677e4644: Fix couple of issues in refactored ShaderLibrary
Pyry Haulos [Wed, 30 Sep 2015 20:06:45 +0000 (20:06 +0000)]
am 677e4644: Fix couple of issues in refactored ShaderLibrary

* commit '677e4644b77c36b99a8959561730c9a519cc37c0':
  Fix couple of issues in refactored ShaderLibrary

9 years agoAdd deCtz32() to deInt32.h
Pyry Haulos [Wed, 30 Sep 2015 17:56:36 +0000 (10:56 -0700)]
Add deCtz32() to deInt32.h

deCtz32() computes number of trailing zeros.

Change-Id: I44707d92696af927d7464b75be789571338be479

9 years agoMerge "Add preprocessor "defined" operator corner cases"
Pyry Haulos [Wed, 30 Sep 2015 17:53:50 +0000 (17:53 +0000)]
Merge "Add preprocessor "defined" operator corner cases"