platform/upstream/VK-GL-CTS.git
8 years agomustpass: Issue 242: Excluded blend tests where propagated errors may be large
Dae Kim [Tue, 26 Jan 2016 19:32:53 +0000 (19:32 +0000)]
mustpass: Issue 242: Excluded blend tests where propagated errors may be large

8 years agoMerge branch 'fix-undefined-trailing-data' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:16:57 +0000 (12:16 -0500)]
Merge branch 'fix-undefined-trailing-data' into 'vulkan-cts-1.0'

Fix undefined trailing data in pipeline barrier tests.

Set memory properly undefined when memory layout is changed and set image
contents undefined when buffer is written.

See merge request !402

8 years agoMerge branch '258-required-format-support' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:16:33 +0000 (12:16 -0500)]
Merge branch '258-required-format-support' into 'vulkan-cts-1.0'

Adjust Vulkan format feature support requirements

Fixes #258

See merge request !401

8 years agoMerge branch '250-limit-pipeline-count' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:15:56 +0000 (12:15 -0500)]
Merge branch '250-limit-pipeline-count' into 'vulkan-cts-1.0'

Limit number of pipelines in object_management.max_concurrent

See #250

See merge request !400

8 years agoMerge branch 'jekstrand_fix_blend_test_swizzling' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:15:25 +0000 (12:15 -0500)]
Merge branch 'jekstrand_fix_blend_test_swizzling' into 'vulkan-cts-1.0'

Blend Test: Do not swizzle the ImageView

Some formats are weird. The A2R10G10B10_UNORM_PACK32 format, for example, is
stored out of order with respect to the name. From 29.3.1 Format definitions of
the spec:

A four-component, 32-bit packed unsigned normalized format that has a
2-bit A component in bits 30..31, a 10-bit R component in bits 20..29, a
10-bit G component in bits 10..19, and a 10-bit B component in bits
0..9.

The existing code will use this fact to determine that the underlying
organization for the format is BGRA, and as such will introduce swizzles in the
view. However, this swizzling is not the desired effect used by the reference
renderer, and this resulted in a miscompare (reverse RED AND BLUE channels) for
potentially any format who underlying storage order is reverse of its logical
order, AND, whose underlying storage order is not in RGBA (swizzle free) order.

If you switch the format to A2G10B10R10, the underlying organization is
RGBA and the resulting swizzle is the identity swizzle, it still works.
Also, if you add B8G8R8A8_UNORM to the list of formats, the newly added
tests all fail.

See merge request !398

8 years agoMerge branch 'awoloszyn-fix-block-decoration' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:14:37 +0000 (12:14 -0500)]
Merge branch 'awoloszyn-fix-block-decoration' into 'vulkan-cts-1.0'

Fixes block order and decoration group tests.

Fixes #257

Round the input values to integer numbers so that the computations
never have to round.

The tests in question only perform addition and subtraction, and all
well within the representable range of a float. (-1500 -> 1500)

See merge request !397

8 years agoMerge branch '255-limit-mem-allocs' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 01:38:34 +0000 (20:38 -0500)]
Merge branch '255-limit-mem-allocs' into 'vulkan-cts-1.0'

Limit number of memory allocations to 4000.

Limit memory allocation count to 4000 in vulkan memory
allocation tests. Fixes #255

See merge request !399

8 years agoMerge branch 'tzlatinski_memory_allocaiton_size_fix' into 'master'
Pyry Haulos [Tue, 26 Jan 2016 01:35:59 +0000 (20:35 -0500)]
Merge branch 'tzlatinski_memory_allocaiton_size_fix' into 'master'

CTS Memory tests fix invalid allocation sizes

allocateRandom() routine sometime requests enormous sizes
because of incorrect random size calculation logic.

Within the following formula:
m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1ull
If m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage is "0"
the result is negative, but since the number is unsigned
max takes the max of 1 and the (unsigned long long)-1.

The change, makes the comparison signed and also introduces
explicit test checks on the allocation sizes.

See merge request !389

8 years agoFix undefined trailing data in pipeline barrier tests.
Mika Isojärvi [Tue, 26 Jan 2016 00:54:10 +0000 (16:54 -0800)]
Fix undefined trailing data in pipeline barrier tests.

Set memory properly undefined when memory layout is changed and set image
contents undefined when buffer is written.

Change-Id: I688c014244f5ba5d9c602d9cdcad8a63c66b5357

8 years agoImprove Vulkan CTS README
Pyry Haulos [Tue, 26 Jan 2016 00:02:21 +0000 (16:02 -0800)]
Improve Vulkan CTS README

 * Add details how to select Android ABI at install time

 * Add note about using git cherry-pick -x when cherry-picking bugfixes.

 * Add initial conformance criteria section

8 years agoAdjust Vulkan format feature support requirements
Pyry Haulos [Mon, 25 Jan 2016 21:50:48 +0000 (13:50 -0800)]
Adjust Vulkan format feature support requirements

Fixes #258

8 years agoLimit number of pipelines in object_management.max_concurrent
Pyry Haulos [Mon, 25 Jan 2016 20:15:35 +0000 (12:15 -0800)]
Limit number of pipelines in object_management.max_concurrent

See #250

8 years agoLimit number of memory allocations to 4000.
Mika Isojärvi [Mon, 25 Jan 2016 19:01:27 +0000 (11:01 -0800)]
Limit number of memory allocations to 4000.

Limit memory allocation count to 4000 in vulkan memory
allocation tests. Fixes issue #255.

Change-Id: I9a1bc129556ce44e1d3e3e8c474c6dc668cea814

8 years agoFixes block order and decoration group tests.
Andrew Woloszyn [Mon, 25 Jan 2016 16:57:34 +0000 (11:57 -0500)]
Fixes block order and decoration group tests.

Fixes #257

Round the input values to integer numbers so that the computations
never have to round.

The tests in question only perform addition and subtraction, and all
well within the representable range of a float.

8 years agoMerge branch '249-fix-draw-mapped-memory-flushes' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:59:50 +0000 (13:59 -0500)]
Merge branch '249-fix-draw-mapped-memory-flushes' into 'vulkan-cts-1.0'

Fix flushing of index and indirect command bufs in draw tests

Fixes #249

See merge request !393

8 years agoMerge branch '252-fix-imageformatproperties-validation' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:57:50 +0000 (13:57 -0500)]
Merge branch '252-fix-imageformatproperties-validation' into 'vulkan-cts-1.0'

Fix VkImageFormatProperties validation

Fixes #252

See merge request !391

8 years agoMerge branch '254-fix-shaderrendercase-format-check' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:56:31 +0000 (13:56 -0500)]
Merge branch '254-fix-shaderrendercase-format-check' into 'vulkan-cts-1.0'

Fix format support check in ShaderRenderCase

Fixes #254

See merge request !392

8 years agoMerge branch '256-fix-renderpass-build-warnings' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:55:32 +0000 (13:55 -0500)]
Merge branch '256-fix-renderpass-build-warnings' into 'vulkan-cts-1.0'

fix renderpass test's build warnings, fixes #256

See merge request !394

8 years agoBlend Test: Do not swizzle the ImageView
Ben Widawsky [Sun, 24 Jan 2016 22:59:48 +0000 (14:59 -0800)]
Blend Test: Do not swizzle the ImageView

Some formats are weird. The A2R10G10B10_UNORM_PACK32 format, for example, is
stored out of order with respect to the name. From 29.3.1 Format definitions of
the spec:

A four-component, 32-bit packed unsigned normalized format that has a
2-bit A component in bits 30..31, a 10-bit R component in bits 20..29, a
10-bit G component in bits 10..19, and a 10-bit B component in bits
0..9.

The existing code will use this fact to determine that the underlying
organization for the format is BGRA, and as such will introduce swizzles in the
view. However, this swizzling is not the desired effect used by the reference
renderer, and this resulted in a miscompare (reverse RED AND BLUE channels) for
potentially any format who underlying storage order is reverse of its logical
order, AND, whose underlying storage order is not in RGBA (swizzle free) order.

If you switch the format to A2G10B10R10, the underlying organization is
RGBA and the resulting swizzle is the identity swizzle, it still works.
Also, if you add B8G8R8A8_UNORM to the list of formats, the newly added
tests all fail.

8 years agofix renderpass test's build warnings, fixes #256
Daniel Hegedus [Mon, 25 Jan 2016 10:38:28 +0000 (11:38 +0100)]
fix renderpass test's build warnings, fixes #256

8 years agoCTS Memory tests fix invalid allocation sizes
Tony Zlatinski [Sun, 24 Jan 2016 20:50:51 +0000 (14:50 -0600)]
CTS Memory tests fix invalid allocation sizes

allocateRandom() routine sometime requests enormous sizes
because of incorrect random size calculation logic.

Within the following formula:
m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1ull
If m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage is "0"
the result is negative, but since the number is unsigned
max takes the max of 1 and the (unsigned long long)-1.

The change, makes the comparison signed and also introduces
explicit test checks on the allocation sizes.

8 years agoFix flushing of index and indirect command bufs in draw tests
Pyry Haulos [Mon, 25 Jan 2016 01:04:49 +0000 (17:04 -0800)]
Fix flushing of index and indirect command bufs in draw tests

Fixes #249

8 years agoDrop a few checks from VkImageFormatProperties validation
Pyry Haulos [Mon, 25 Jan 2016 01:03:08 +0000 (17:03 -0800)]
Drop a few checks from VkImageFormatProperties validation

The spec around vkGetPhysicalDeviceImageFormatProperties() has to be clarified
before these checks can be made in the test.

Fixes #252

8 years agoFix format support check in ShaderRenderCase
Pyry Haulos [Mon, 25 Jan 2016 00:59:50 +0000 (16:59 -0800)]
Fix format support check in ShaderRenderCase

Fixes #254

8 years agoAdd first draft of conformance submission package description
Pyry Haulos [Fri, 22 Jan 2016 23:32:21 +0000 (15:32 -0800)]
Add first draft of conformance submission package description

Change-Id: If6581ee5ae7b497f5f7cec7bce0e42598860a5bc

8 years agoCheck in Vulkan CTS 1.0.0 RC mustpass
Pyry Haulos [Fri, 22 Jan 2016 22:56:29 +0000 (14:56 -0800)]
Check in Vulkan CTS 1.0.0 RC mustpass

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Fri, 22 Jan 2016 22:48:56 +0000 (14:48 -0800)]
Merge in changes from Khronos repository

8 years agoFix accidental library name change
Pyry Haulos [Fri, 22 Jan 2016 22:48:11 +0000 (14:48 -0800)]
Fix accidental library name change

8 years agoMerge branch '238-fix-compressed-sliced-3d' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 22:44:30 +0000 (17:44 -0500)]
Merge branch '238-fix-compressed-sliced-3d' into 'master'

Check for sliced 3D compressed texture support in pipeline.{image,image_view,sampler} tests

This MR also enables sliced 3D ASTC cases as some implementations may support that. There are no real 3D ASTC formats in core Vulkan currently.

See merge request !374

8 years agoMerge "Add dEQP-VK.info tests" into vulkan
Pyry Haulos [Fri, 22 Jan 2016 22:39:16 +0000 (22:39 +0000)]
Merge "Add dEQP-VK.info tests" into vulkan

8 years agoMerge "Add vk::Platform::describePlatform()" into vulkan
Pyry Haulos [Fri, 22 Jan 2016 22:38:54 +0000 (22:38 +0000)]
Merge "Add vk::Platform::describePlatform()" into vulkan

8 years agoAdd dEQP-VK.info tests
Pyry Haulos [Fri, 22 Jan 2016 22:24:17 +0000 (14:24 -0800)]
Add dEQP-VK.info tests

Purpose of dEQP-VK.info tests is to automatically collect details
required for conformance submissions.

Change-Id: I86302dc24c95e30510faf3ff7480dcbf2899f037

8 years agoAdd vk::Platform::describePlatform()
Pyry Haulos [Fri, 22 Jan 2016 22:22:49 +0000 (14:22 -0800)]
Add vk::Platform::describePlatform()

describePlatform() should log platform-specific architecture and version
information.

Implementation provided for Android, Win32, and X11/unix.

Change-Id: I0babdf2765f22d820f19c2f4c964b885e3395afc

8 years agoMerge "Add basic tests for vkGetPhysicalDeviceImageFormatProperties()" into vulkan
Pyry Haulos [Fri, 22 Jan 2016 22:31:33 +0000 (22:31 +0000)]
Merge "Add basic tests for vkGetPhysicalDeviceImageFormatProperties()" into vulkan

8 years agoMerge "Add tests for vkGetPhysicalDeviceFormatProperties()" into vulkan
Pyry Haulos [Fri, 22 Jan 2016 22:31:00 +0000 (22:31 +0000)]
Merge "Add tests for vkGetPhysicalDeviceFormatProperties()" into vulkan

8 years agoCheck compressed 3D format support in PipelineImageSamplingInstance
Pyry Haulos [Fri, 22 Jan 2016 21:27:31 +0000 (13:27 -0800)]
Check compressed 3D format support in PipelineImageSamplingInstance

Fixes #238

Change-Id: I7496a27b445e98b341bdc10c9da76aff5ad996cd

8 years agoEnable sliced 3D ASTC cases in pipeline.{image,image_view,sampler}
Pyry Haulos [Thu, 21 Jan 2016 22:15:24 +0000 (14:15 -0800)]
Enable sliced 3D ASTC cases in pipeline.{image,image_view,sampler}

Support for sliced 3D ASTC textures is optional.

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Fri, 22 Jan 2016 21:43:39 +0000 (13:43 -0800)]
Merge in changes from Khronos repository

8 years agoRemove invalid check from tcu::CompressedTexture
Pyry Haulos [Fri, 22 Jan 2016 21:41:11 +0000 (13:41 -0800)]
Remove invalid check from tcu::CompressedTexture

No real 3D ASTC block formats are supported, but sliced 3D textures work
as expected.

8 years agoClear message log at the beginning of async debug tests.
Mika Isojärvi [Fri, 22 Jan 2016 21:18:53 +0000 (21:18 +0000)]
Clear message log at the beginning of async debug tests.
am: 13fa7290b1

* commit '13fa7290b19863e6a300428ed26e65d74bbb03fe':
  Clear message log at the beginning of async debug tests.

8 years agoAdd basic tests for vkGetPhysicalDeviceImageFormatProperties()
Pyry Haulos [Fri, 22 Jan 2016 20:02:37 +0000 (12:02 -0800)]
Add basic tests for vkGetPhysicalDeviceImageFormatProperties()

Change-Id: If1008832e6c28ed815cc93ac890cc80f3a567b1f

8 years agoUpdate glslang
Pyry Haulos [Fri, 22 Jan 2016 21:10:34 +0000 (13:10 -0800)]
Update glslang

Fixes #244

8 years agoAdd tests for vkGetPhysicalDeviceFormatProperties()
Pyry Haulos [Fri, 22 Jan 2016 18:57:27 +0000 (10:57 -0800)]
Add tests for vkGetPhysicalDeviceFormatProperties()

Change-Id: I608af954332cc9029d636bc49de5b1a1900f304e

8 years agoCheck vkGetPhysicalDeviceImageFormatProperties() result value
Pyry Haulos [Fri, 22 Jan 2016 21:01:29 +0000 (13:01 -0800)]
Check vkGetPhysicalDeviceImageFormatProperties() result value

8 years agoFix another build issue
Pyry Haulos [Fri, 22 Jan 2016 20:49:33 +0000 (12:49 -0800)]
Fix another build issue

8 years agoFix build
Pyry Haulos [Fri, 22 Jan 2016 20:46:27 +0000 (12:46 -0800)]
Fix build

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Fri, 22 Jan 2016 20:44:05 +0000 (12:44 -0800)]
Merge in changes from Khronos repository

8 years agoMerge "Check for linear filtering support in pipeline.sampler tests" into vulkan
Pyry Haulos [Fri, 22 Jan 2016 20:41:12 +0000 (20:41 +0000)]
Merge "Check for linear filtering support in pipeline.sampler tests" into vulkan

8 years agoCheck for linear filtering support in pipeline.sampler tests
Pyry Haulos [Thu, 21 Jan 2016 19:04:23 +0000 (11:04 -0800)]
Check for linear filtering support in pipeline.sampler tests

Fixes #243

Change-Id: I294dc93afc6c7a46e9d29bcb63a549e4565103c9

8 years agoMerge branch '241-skip-init-validation' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 20:34:58 +0000 (15:34 -0500)]
Merge branch '241-skip-init-validation' into 'master'

Remove struct initialization validation from api.info tests

Fixes #241

See merge request !376

8 years agoMerge branch 'ppiotrowski_timestamp_sporadic-fix' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 20:34:26 +0000 (15:34 -0500)]
Merge branch 'ppiotrowski_timestamp_sporadic-fix' into 'master'

Fix for sporadic fail in deqp.dEQP-VK.pipeline.timestamp.advanced_graphics_tests.*

Fixed primitive topology in tessellation.

Fixes #246

See merge request !378

8 years agoMerge branch 'ppiotrowski_drawTests-fixes' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 20:30:30 +0000 (15:30 -0500)]
Merge branch 'ppiotrowski_drawTests-fixes' into 'master'

deqp-vk.draw.* fixes

In response to #228
Adding check for multidraw support in indirect tests.

In response to #229
Changing clearColorImage flags to SRC | DST

See merge request !380

8 years agoMerge branch 'dkoch_fix_apk_args' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 20:29:47 +0000 (15:29 -0500)]
Merge branch 'dkoch_fix_apk_args' into 'master'

Add disable-shader arg to sample Android launch command

It was added to an earlier section, but missed here.

See merge request !382

8 years agoMerge branch 'jbreton-bind-sparse-need-fence' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 20:29:22 +0000 (15:29 -0500)]
Merge branch 'jbreton-bind-sparse-need-fence' into 'master'

Fix the BindSparseMemory path to wait for a fence before destroying the buffer

The sparse memory buffer tests destroy the buffer just after the queueBindSparse call.

I think before destroying the buffer it should wait for a fence, to make sure the queueBindSparse operation complete.

See merge request !383

8 years agoFix the BindSparseMemory path to wait for a fence before destroying the buffer
Jeannot Breton [Fri, 22 Jan 2016 18:22:11 +0000 (12:22 -0600)]
Fix the BindSparseMemory path to wait for a fence before destroying the buffer

8 years agoMerge branch 'awoloszyn-fix-nocontract' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 19:06:26 +0000 (14:06 -0500)]
Merge branch 'awoloszyn-fix-nocontract' into 'master'

Fix nocontraction cases.

They failed to take into account multiple rounding modes.

Fixes #245

See merge request !384

8 years agoMinor cleanups to comments and variable names
Andrew Woloszyn [Fri, 22 Jan 2016 18:45:19 +0000 (13:45 -0500)]
Minor cleanups to comments and variable names

8 years agoFix nocontraction cases.
Andrew Woloszyn [Fri, 22 Jan 2016 18:37:49 +0000 (13:37 -0500)]
Fix nocontraction cases.

They failed to take into account multiple rounding modes.

8 years agoClear message log at the beginning of async debug tests.
Mika Isojärvi [Fri, 22 Jan 2016 18:07:02 +0000 (10:07 -0800)]
Clear message log at the beginning of async debug tests.

Bug: 22921269
Change-Id: Ia16bc7a0be625f907c1fd7b9aa6de8222e1e5e2c

8 years agoAdd disable-shader arg to sample Android launch command
Daniel Koch [Fri, 22 Jan 2016 17:12:50 +0000 (12:12 -0500)]
Add disable-shader arg to sample Android launch command

8 years agoIn release version of deqp, pTessCreateInfo was nulled out when createGraphicsPipelin...
iostrows [Fri, 22 Jan 2016 16:32:06 +0000 (17:32 +0100)]
In release version of deqp, pTessCreateInfo was nulled out when createGraphicsPipeline was called. This was because tessStateCreateInfo was created in an 'if' block (line 572), making it invisible outside of that scope. Moving declaration of tessStateCreateInfo outside of that scope fixes the issue on both release and debug version of deqp and createGraphicsPipeline sends valid data.

8 years agoResponding to @pyry comments.
Piotr Piotrowski [Fri, 22 Jan 2016 15:48:56 +0000 (10:48 -0500)]
Responding to @pyry comments.

8 years agoMerge branch 'allnamesfirst' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 15:19:17 +0000 (10:19 -0500)]
Merge branch 'allnamesfirst' into 'master'

Group all OpName and OpMemberName together.

See merge request !381

8 years agoMerge branch '46-fix-memory-leaks-in-buffers' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 15:17:37 +0000 (10:17 -0500)]
Merge branch '46-fix-memory-leaks-in-buffers' into 'master'

Fix potential resource leaks in buffer tests

Fixes #46

See merge request !379

8 years agoGroup all OpName and OpMemberName together.
Dejan Mircevski [Fri, 22 Jan 2016 15:13:18 +0000 (10:13 -0500)]
Group all OpName and OpMemberName together.

8 years agoAdding check for multidraw support in indirect tests. Changing clearColorImage flags...
Piotrowski, Piotr [Fri, 22 Jan 2016 12:07:16 +0000 (13:07 +0100)]
Adding check for multidraw support in indirect tests. Changing clearColorImage flags to SRC | DST

8 years agoFix potential resource leaks in buffer tests
Kristof Kosztyo [Fri, 22 Jan 2016 10:33:06 +0000 (11:33 +0100)]
Fix potential resource leaks in buffer tests

Fixes #46

8 years agoFixed primitive topology in tessellation
iostrows [Thu, 21 Jan 2016 18:12:44 +0000 (19:12 +0100)]
Fixed primitive topology in tessellation

8 years agoMerge "Update glslang revision" into vulkan
Pyry Haulos [Fri, 22 Jan 2016 02:49:16 +0000 (02:49 +0000)]
Merge "Update glslang revision" into vulkan

8 years agoFix Vulkan data build target on Android
Pyry Haulos [Fri, 22 Jan 2016 02:47:09 +0000 (18:47 -0800)]
Fix Vulkan data build target on Android

Since deqp-vk target was empty on Android build, deqp-vk-data wasn't
included in full build either. Fixed by making deqp-vk-common depend on
deqp-vk-data.

Change-Id: Icc08418a733e568df37ec057a6bd16804f50c32b

8 years agoUpdate glslang revision
Pyry Haulos [Fri, 22 Jan 2016 02:46:30 +0000 (18:46 -0800)]
Update glslang revision

Fixes #33

Change-Id: I6809eb86cece27f87cbe01cd5943159ec50bc6e2

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Fri, 22 Jan 2016 01:46:23 +0000 (17:46 -0800)]
Merge in changes from Khronos repository

8 years agoManual merge of AOSP change 197338
Kalle Raita [Fri, 22 Jan 2016 01:45:08 +0000 (01:45 +0000)]
Manual merge of AOSP change 197338
am: d451593360

* commit 'd4515933605a3c0269296208a2f0caa67f8a8f25':
  Manual merge of AOSP change 197338

8 years agoManual merge of AOSP change 197338
Kalle Raita [Fri, 22 Jan 2016 00:00:10 +0000 (16:00 -0800)]
Manual merge of AOSP change 197338

Original message:
Remove a test with very thin triangle

The test draw.draw_elements_instanced.indices.buffer.index_byte has a
very thin triangle and rendering it on low resolutions essentially
results in unexpectedly, but valid, deviations from the reference image.

Bug: 26651667
Change-Id: If841d51cd71a2c33e7e6e4daf952a5e4888011b4

8 years agoFix Vulkan library name in X11 platform
Pyry Haulos [Fri, 22 Jan 2016 01:23:57 +0000 (17:23 -0800)]
Fix Vulkan library name in X11 platform

Change-Id: I933dddbe9642f6047227d1b95fff06ad212f83b7

8 years agoMerge branch '205-fix-sampler-indexing-filter-mode' into 'master'
Pyry Haulos [Fri, 22 Jan 2016 00:55:20 +0000 (19:55 -0500)]
Merge branch '205-fix-sampler-indexing-filter-mode' into 'master'

Use nearest filter for int formats in opaque_type_indexing.sampler

Fixes #205

See merge request !373

8 years agoMerge branch 'fixcompositeconstant' into 'master'
Pyry Haulos [Thu, 21 Jan 2016 23:51:05 +0000 (18:51 -0500)]
Merge branch 'fixcompositeconstant' into 'master'

Fix matrix and struct types in spirv_assembly.instruction.compute.opconstantcomposite.

See merge request !372

8 years agoRemove struct initialization validation from api.info tests
Pyry Haulos [Thu, 21 Jan 2016 22:50:33 +0000 (14:50 -0800)]
Remove struct initialization validation from api.info tests

Fixes #241

8 years agoUse nearest filter for int formats in opaque_type_indexing.sampler
Pyry Haulos [Thu, 21 Jan 2016 22:08:18 +0000 (14:08 -0800)]
Use nearest filter for int formats in opaque_type_indexing.sampler

Fixes #205

8 years agoFix matrix and struct types in spirv_assembly.instruction.compute.opconstantcomposite.
Dejan Mircevski [Thu, 21 Jan 2016 22:02:56 +0000 (17:02 -0500)]
Fix matrix and struct types in spirv_assembly.instruction.compute.opconstantcomposite.

8 years agoRequire --deqp-log-shader-sources=disable on CTS submissions
Pyry Haulos [Thu, 21 Jan 2016 21:49:07 +0000 (13:49 -0800)]
Require --deqp-log-shader-sources=disable on CTS submissions

8 years agoAdd --deqp-log-shader-sources= command line option
Pyry Haulos [Thu, 21 Jan 2016 21:45:33 +0000 (21:45 +0000)]
Add --deqp-log-shader-sources= command line option
am: 424b365d8e

* commit '424b365d8ea4d2a8338a16742a11ac07211fb660':
  Add --deqp-log-shader-sources= command line option

8 years agoMerge "Use vkt::createTestGroup() in all level 1 test groups" into vulkan
Pyry Haulos [Thu, 21 Jan 2016 21:25:24 +0000 (21:25 +0000)]
Merge "Use vkt::createTestGroup() in all level 1 test groups" into vulkan

8 years agoMerge "Add utility for simplifying test group construction" into vulkan
Pyry Haulos [Thu, 21 Jan 2016 21:08:32 +0000 (21:08 +0000)]
Merge "Add utility for simplifying test group construction" into vulkan

8 years agoUse vkt::createTestGroup() in all level 1 test groups
Pyry Haulos [Thu, 21 Jan 2016 20:38:14 +0000 (12:38 -0800)]
Use vkt::createTestGroup() in all level 1 test groups

Change-Id: I5258f962ba986c8ba789dbb134fbcc4c5866e0ef

8 years agoAdd utility for simplifying test group construction
Pyry Haulos [Thu, 21 Jan 2016 20:35:40 +0000 (12:35 -0800)]
Add utility for simplifying test group construction

vkt::createTestGroup() creates TestCaseGroup that initializes children
at init() time by calling provided function. This helps by keeping test
hierarchy construction lazy and improves startup time.

Change-Id: I63ec656c2e2cc78d6b54beedbae35a974b90e893

8 years agoAdd helpers for querying format properties
Pyry Haulos [Thu, 21 Jan 2016 19:03:32 +0000 (11:03 -0800)]
Add helpers for querying format properties

Change-Id: Ie39a312edbe56a7e09b1c0412a275a15aae74c22

8 years agoAdd --deqp-log-shader-sources= command line option
Pyry Haulos [Thu, 21 Jan 2016 18:06:20 +0000 (10:06 -0800)]
Add --deqp-log-shader-sources= command line option

Change-Id: If113a0f7a56109104a7d074e2730003a312c3023

8 years agoMerge branch '215-fix-opaque-type-indexing' into 'master'
Pyry Haulos [Thu, 21 Jan 2016 17:55:03 +0000 (12:55 -0500)]
Merge branch '215-fix-opaque-type-indexing' into 'master'

OpaqueTypeIndexingTests: check device features for *ArrayDynamicIndexing support. Fixes #215.

See merge request !370

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Thu, 21 Jan 2016 17:50:23 +0000 (09:50 -0800)]
Merge in changes from Khronos repository

8 years agoFix ASTC issues in pipeline image, image_view, and sampler tests
Pyry Haulos [Thu, 21 Jan 2016 02:03:22 +0000 (18:03 -0800)]
Fix ASTC issues in pipeline image, image_view, and sampler tests

 * Use only valid ASTC blocks as result comparison doesn't currently
handle invalid blocks correctly.

 * Avoid normalizing non-sRGB ASTC blocks. Normalizing them based on
uncompressed format (F16) leads to complete lack of coverage.

Fixes #203

Change-Id: Ib5e7bedd07932ec1baa5cbd96cb66b357689bb75

8 years agoresolve merge conflicts of 5248f97c88 to vulkan.
Pyry Haulos [Thu, 21 Jan 2016 17:45:24 +0000 (09:45 -0800)]
resolve merge conflicts of 5248f97c88 to vulkan.

Change-Id: I9a6f891f8971a3724c9526e613b4271ee7dd0cf3

8 years agoMerge "Move ASTC utilities to tcuAstcUtil.hpp/cpp (tcu::astc)"
Pyry Haulos [Thu, 21 Jan 2016 17:38:58 +0000 (17:38 +0000)]
Merge "Move ASTC utilities to tcuAstcUtil.hpp/cpp (tcu::astc)"

8 years agoMerge "Fix image memory requirements for compressed formats in null driver" into...
Pyry Haulos [Thu, 21 Jan 2016 16:51:08 +0000 (16:51 +0000)]
Merge "Fix image memory requirements for compressed formats in null driver" into vulkan

8 years agoMerge "Clamp lod values when sampling 2D array texture."
Mika Isojarvi [Thu, 21 Jan 2016 16:50:43 +0000 (16:50 +0000)]
Merge "Clamp lod values when sampling 2D array texture."
am: 8669a64132

* commit '8669a641323b46facaf795bd1c98f4ab5f064563':
  Clamp lod values when sampling 2D array texture.

8 years agoFix image memory requirements for compressed formats in null driver
Pyry Haulos [Thu, 21 Jan 2016 16:47:53 +0000 (08:47 -0800)]
Fix image memory requirements for compressed formats in null driver

Change-Id: Ib503460bc8accf58b169b6682414fa57d168ee5f

8 years agoMove ASTC utilities to tcuAstcUtil.hpp/cpp (tcu::astc)
Pyry Haulos [Wed, 20 Jan 2016 21:23:45 +0000 (13:23 -0800)]
Move ASTC utilities to tcuAstcUtil.hpp/cpp (tcu::astc)

 * Move decompression code from tcuCompressedTexture.cpp

 * Move ASTC data gen utilities from es3fASTCDecompressionCases.cpp

 * Add a few new utilities for generating random blocks and verifying
validity of ASTC blocks

 * Add basic internal tests for ASTC utilities

Change-Id: I2cf0393eaa026543af03b8d77670b64b048d0311

8 years agoOpaqueTypeIndexingTests: check device features for *ArrayDynamicIndexing support...
Akos Dirner [Thu, 21 Jan 2016 16:38:11 +0000 (17:38 +0100)]
OpaqueTypeIndexingTests: check device features for *ArrayDynamicIndexing support. Fixes #215.

8 years agoMerge branch 'dkoch_fix_apk_args' into 'master'
Pyry Haulos [Thu, 21 Jan 2016 16:27:05 +0000 (11:27 -0500)]
Merge branch 'dkoch_fix_apk_args' into 'master'

Fix typo in android launch command

I believe the correct argument is supposed to be "-e" not "-es" (that's what I've always been using and -es doesn't seem to work).

See merge request !365

8 years agoMerge branch '237-shaderexecutor-remove-immutable-samplers' into 'master'
Pyry Haulos [Thu, 21 Jan 2016 16:22:52 +0000 (11:22 -0500)]
Merge branch '237-shaderexecutor-remove-immutable-samplers' into 'master'

Remove immutable shaders from ShaderExecutor

Samplers are provided when updating descriptor sets, so it is not
necessary, nor allowed, to set them when building descriptor set layout.

See merge request !362