platform/upstream/VK-GL-CTS.git
8 years agoam 90c7f555: (-s ours) am e5333493: (-s ours) am 84e26791: Merge "DO NOT MERGE: Remov...
Jarkko Pöyry [Mon, 11 Jan 2016 19:35:18 +0000 (19:35 +0000)]
am 90c7f555: (-s ours) am e5333493: (-s ours) am 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass." into lmp-sprout-dev automerge: f61fb6b  -s ours am: d95f74b9cf  -s ours am: 680debf3ec  -s ours
am: a9a19bd5f8  -s ours

* commit 'a9a19bd5f8de69657a9999f9d45fc4ca3e862308':

8 years agoam ab7acf1c: (-s ours) am f1131705: (-s ours) am a83f8e59: DO NOT MERGE: Apply fix...
Jarkko Pöyry [Mon, 11 Jan 2016 19:35:12 +0000 (19:35 +0000)]
am ab7acf1c: (-s ours) am f1131705: (-s ours) am a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even test verification. automerge: a0750f1  -s ours am: 003242c402  -s ours am: 4c9f2ebf9f  -s ours
am: e2688987e5  -s ours

* commit 'e2688987e501507d4302793d4b016ae73482f0fd':

8 years agoam 0fccdf0d: Merge "Remove broken line interpolation tests from MR1 must pass." into...
Jarkko Pöyry [Mon, 11 Jan 2016 19:35:06 +0000 (19:35 +0000)]
am 0fccdf0d: Merge "Remove broken line interpolation tests from MR1 must pass." into lmp-mr1-dev automerge: 8f5780a am: dc270694c8 am: b9a1b80214
am: bd0c3245d7

* commit 'bd0c3245d77ac95fe54a02330302f3879ee449cb':

8 years agoam 39a89a84: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma...
Pyry Haulos [Mon, 11 Jan 2016 19:34:59 +0000 (19:34 +0000)]
am 39a89a84: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma automerge: cb9402d am: d206e45499 am: b7e3351286
am: 104dee1af3

* commit '104dee1af3085a0259be1bc9203ee55da2bfc12e':

8 years agoam 7f121126: am 563de115: Merge "Relax mediump interpolation accuracy requirements...
Pyry Haulos [Mon, 11 Jan 2016 19:34:53 +0000 (19:34 +0000)]
am 7f121126: am 563de115: Merge "Relax mediump interpolation accuracy requirements and clarify thresholds" into lmp-sprout-dev automerge: 91d6484 am: 72dc9389b4 am: 1c86c61aa2
am: 681d531f7e

* commit '681d531f7e0e6cf4579a831e9fa244346a7c7cea':

8 years agoam f1044096: am 79c79d54: Merge "Remove broken line interpolation tests from must...
Jarkko Pöyry [Mon, 11 Jan 2016 19:34:49 +0000 (19:34 +0000)]
am f1044096: am 79c79d54: Merge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev automerge: 8af0779 am: a306a602a0 am: 3d35159a38
am: c0cbd72142

* commit 'c0cbd721428fc528c9391eb250490813b821cc3a':

8 years agoam 90c7f555: (-s ours) am e5333493: (-s ours) am 84e26791: Merge "DO NOT MERGE: Remov...
Jarkko Pöyry [Mon, 11 Jan 2016 19:31:39 +0000 (19:31 +0000)]
am 90c7f555: (-s ours) am e5333493: (-s ours) am 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass." into lmp-sprout-dev automerge: f61fb6b  -s ours am: d95f74b9cf  -s ours
am: 680debf3ec  -s ours

* commit '680debf3ec24b3e31a83b3a17805bf558cef09d9':

8 years agoam ab7acf1c: (-s ours) am f1131705: (-s ours) am a83f8e59: DO NOT MERGE: Apply fix...
Jarkko Pöyry [Mon, 11 Jan 2016 19:31:34 +0000 (19:31 +0000)]
am ab7acf1c: (-s ours) am f1131705: (-s ours) am a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even test verification. automerge: a0750f1  -s ours am: 003242c402  -s ours
am: 4c9f2ebf9f  -s ours

* commit '4c9f2ebf9ffa809753289eac7cd49e9343eb4f7b':

8 years agoam 0fccdf0d: Merge "Remove broken line interpolation tests from MR1 must pass." into...
Jarkko Pöyry [Mon, 11 Jan 2016 19:31:30 +0000 (19:31 +0000)]
am 0fccdf0d: Merge "Remove broken line interpolation tests from MR1 must pass." into lmp-mr1-dev automerge: 8f5780a am: dc270694c8
am: b9a1b80214

* commit 'b9a1b802140ba7fcdf295ff0c077a731d7267bde':

8 years agoam 39a89a84: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma...
Pyry Haulos [Mon, 11 Jan 2016 19:31:25 +0000 (19:31 +0000)]
am 39a89a84: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma automerge: cb9402d am: d206e45499
am: b7e3351286

* commit 'b7e3351286b5428529dbfa45cc5b0bef22be2b39':

8 years agoam 7f121126: am 563de115: Merge "Relax mediump interpolation accuracy requirements...
Pyry Haulos [Mon, 11 Jan 2016 19:31:20 +0000 (19:31 +0000)]
am 7f121126: am 563de115: Merge "Relax mediump interpolation accuracy requirements and clarify thresholds" into lmp-sprout-dev automerge: 91d6484 am: 72dc9389b4
am: 1c86c61aa2

* commit '1c86c61aa2b920c44444de173fdfa7f9e2fbeb15':

8 years agoam f1044096: am 79c79d54: Merge "Remove broken line interpolation tests from must...
Jarkko Pöyry [Mon, 11 Jan 2016 19:31:16 +0000 (19:31 +0000)]
am f1044096: am 79c79d54: Merge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev automerge: 8af0779 am: a306a602a0
am: 3d35159a38

* commit '3d35159a3898151cdf524a96a682496f751dffc6':

8 years agoam 90c7f555: (-s ours) am e5333493: (-s ours) am 84e26791: Merge "DO NOT MERGE: Remov...
Jarkko Pöyry [Mon, 11 Jan 2016 19:29:42 +0000 (19:29 +0000)]
am 90c7f555: (-s ours) am e5333493: (-s ours) am 84e26791: Merge "DO NOT MERGE: Remove io_blocks.match_different_member_interpolation test from mustpass." into lmp-sprout-dev automerge: f61fb6b  -s ours
am: d95f74b9cf  -s ours

* commit 'd95f74b9cf500507781fdd2bc5873967f8a17ea2':

8 years agoam ab7acf1c: (-s ours) am f1131705: (-s ours) am a83f8e59: DO NOT MERGE: Apply fix...
Jarkko Pöyry [Mon, 11 Jan 2016 19:29:34 +0000 (19:29 +0000)]
am ab7acf1c: (-s ours) am f1131705: (-s ours) am a83f8e59: DO NOT MERGE: Apply fix for tessellation fractional even test verification. automerge: a0750f1  -s ours
am: 003242c402  -s ours

* commit '003242c4021e0d991e848cd66594c2d133791061':

8 years agoam 0fccdf0d: Merge "Remove broken line interpolation tests from MR1 must pass." into...
Jarkko Pöyry [Mon, 11 Jan 2016 19:29:27 +0000 (19:29 +0000)]
am 0fccdf0d: Merge "Remove broken line interpolation tests from MR1 must pass." into lmp-mr1-dev automerge: 8f5780a
am: dc270694c8

* commit 'dc270694c8af0f919514e64f3d34954ef8e33020':

8 years agoam 39a89a84: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma...
Pyry Haulos [Mon, 11 Jan 2016 19:29:17 +0000 (19:29 +0000)]
am 39a89a84: am e5fc2a80: Relax fma() verification in builtin_functions.common.fma automerge: cb9402d
am: d206e45499

* commit 'd206e4549963d30d3bcbf97fc44db4e88deeb3cf':

8 years agoam 7f121126: am 563de115: Merge "Relax mediump interpolation accuracy requirements...
Pyry Haulos [Mon, 11 Jan 2016 19:29:10 +0000 (19:29 +0000)]
am 7f121126: am 563de115: Merge "Relax mediump interpolation accuracy requirements and clarify thresholds" into lmp-sprout-dev automerge: 91d6484
am: 72dc9389b4

* commit '72dc9389b49a2bcad712abd8509d7e4341d11ed5':

8 years agoam f1044096: am 79c79d54: Merge "Remove broken line interpolation tests from must...
Jarkko Pöyry [Mon, 11 Jan 2016 19:29:02 +0000 (19:29 +0000)]
am f1044096: am 79c79d54: Merge "Remove broken line interpolation tests from must pass." into lmp-sprout-dev automerge: 8af0779
am: a306a602a0

* commit 'a306a602a0610258708a60a22b05d7bd85a841c8':

8 years agoUse -Wno-error=date-time am: 865f9aae63 am: 5b7e673b0c
Dan Willemsen [Sat, 9 Jan 2016 01:22:06 +0000 (01:22 +0000)]
Use -Wno-error=date-time am: 865f9aae63 am: 5b7e673b0c
am: 682ccd0eab

* commit '682ccd0eab22b35ab68b6fada7953257c834f820':
  Use -Wno-error=date-time

8 years agoUse -Wno-error=date-time am: 865f9aae63
Dan Willemsen [Sat, 9 Jan 2016 01:18:26 +0000 (01:18 +0000)]
Use -Wno-error=date-time am: 865f9aae63
am: 5b7e673b0c

* commit '5b7e673b0c6ba80c5a34467fa6e8212528b8b6b3':
  Use -Wno-error=date-time

8 years agoUse -Wno-error=date-time
Dan Willemsen [Sat, 9 Jan 2016 01:05:03 +0000 (01:05 +0000)]
Use -Wno-error=date-time
am: 865f9aae63

* commit '865f9aae63225a9146e8a26acb3fb81822784876':
  Use -Wno-error=date-time

8 years agoUse -Wno-error=date-time
Dan Willemsen [Sat, 9 Jan 2016 00:27:16 +0000 (16:27 -0800)]
Use -Wno-error=date-time

We're actually going to enable -Werror=date-time, not -Wdate-time.

Bug: 24204119
Change-Id: I0df28593e151f566a11b9a1411a33a97a26db6f8

8 years agoUpdate to latest glslang revision
Pyry Haulos [Mon, 4 Jan 2016 22:11:06 +0000 (14:11 -0800)]
Update to latest glslang revision

Change-Id: I4327ca3828c69b494a020bb62440946cd264ab35

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

8 years agoMerge branch 'imageLoadStore-reinterpet-test-must-use-mutable-flag' into 'master'
Pyry Haulos [Fri, 8 Jan 2016 20:17:23 +0000 (15:17 -0500)]
Merge branch 'imageLoadStore-reinterpet-test-must-use-mutable-flag' into 'master'

dEQP-VK.image.format_reinterpret.* tests must use VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT image FLAG

These test create image views with format different from underlying image. According to spec, such images must be created with VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag

See merge request !211

8 years agoMerge "Fix image layout for storage images in binding model tests" into vulkan
Pyry Haulos [Fri, 8 Jan 2016 20:16:22 +0000 (20:16 +0000)]
Merge "Fix image layout for storage images in binding model tests" into vulkan

8 years agoMerge branch '161-push-constant-uniform-offset' into 'master'
Pyry Haulos [Fri, 8 Jan 2016 20:10:55 +0000 (15:10 -0500)]
Merge branch '161-push-constant-uniform-offset' into 'master'

Fix pipeline.push_constant.* incorrect uniform buffer layout declaration in shader.

Fix issue #161

See merge request !259

8 years agoMerge branch 'query-pool-missing-flags' into 'master'
Pyry Haulos [Fri, 8 Jan 2016 20:10:31 +0000 (15:10 -0500)]
Merge branch 'query-pool-missing-flags' into 'master'

dEQP-VK.query_pool.*: added missing flags.

See merge request !260

8 years agoMerge branch 'scygan_dynamic_states_add_feature_support_checks' into 'master'
Pyry Haulos [Fri, 8 Jan 2016 20:03:16 +0000 (15:03 -0500)]
Merge branch 'scygan_dynamic_states_add_feature_support_checks' into 'master'

dEQP_VK.dynamic_state: added feature support checks

Added feature support checks in dynamic state tests.

This fixes issue #164
This fixes issue #169
This fixes issue #170

See merge request !261

8 years agodEQP-VK.image.format_reinterpret.* tests must use VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT...
scygan [Wed, 23 Dec 2015 17:15:55 +0000 (18:15 +0100)]
dEQP-VK.image.format_reinterpret.* tests must use VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT image flag

These test create image views with format different from underlying image. According to spec, such images must be created with VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag

8 years agoDynamicStateTests: added feature support checks
asokolow [Fri, 8 Jan 2016 06:47:49 +0000 (07:47 +0100)]
DynamicStateTests: added feature support checks
ApiCommandBuffersTests: fixed one case

8 years agodEQP-VK.query_pool.*: added missing flags.
Dae Kim [Fri, 8 Jan 2016 11:15:14 +0000 (11:15 +0000)]
dEQP-VK.query_pool.*: added missing flags.

8 years agoFix pipeline.push_constant.* incorrect uniform buffer layout declaration in shader.
Fei Yang [Fri, 8 Jan 2016 01:44:17 +0000 (09:44 +0800)]
Fix pipeline.push_constant.* incorrect uniform buffer layout declaration in shader.

Change-Id: Ie4d63baedc5b6aca87c6760b63bdbda17cc78a15

8 years agoAdd missing layout(location = N) qualifiers to glsl.linkage tests
Pyry Haulos [Thu, 7 Jan 2016 22:35:48 +0000 (14:35 -0800)]
Add missing layout(location = N) qualifiers to glsl.linkage tests

Change-Id: Ib17b83da25d637adc08f10a761f9deadd3ded77a

8 years agoFix image layout for storage images in binding model tests
Pyry Haulos [Wed, 6 Jan 2016 21:34:55 +0000 (13:34 -0800)]
Fix image layout for storage images in binding model tests

Image load & store is only supported in VK_IMAGE_LAYOUT_GENERAL.

Change-Id: I1837394b81ba3c8c7cab8059b63345fbb7e4258d

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Thu, 7 Jan 2016 20:08:27 +0000 (12:08 -0800)]
Merge in changes from Khronos repository

8 years agoMerge branch '168-bitwisexor-valid-for-opspecconstantop' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:33:26 +0000 (14:33 -0500)]
Merge branch '168-bitwisexor-valid-for-opspecconstantop' into 'master'

Update to newer SPIRV-Tools

This version fixes the list of allowed opcodes for OpSpecConstantOp
Fixes Khronos bug 15379.
Fixes #168

Updates to SPIRV-Tools tip of master.
Tested in dEQP by rebuilding all 2373 "*spirv_as*" tests.

See merge request !257

8 years agoMerge branch '92-binding_model-ranges_buffers' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:31:57 +0000 (14:31 -0500)]
Merge branch '92-binding_model-ranges_buffers' into 'master'

This fixes issue #92

- The parameters of VkCmdPoolCreateInfo are given in wrong order.

- typo fix in case name: seconday -> secondary

8 years agoMerge branch 'multisample-mask-count-fix' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:30:10 +0000 (14:30 -0500)]
Merge branch 'multisample-mask-count-fix' into 'master'

Corrected formula to calculate number of pSamplerMasks.

This should fix issue #160

See merge request !256

8 years agoMerge branch '166-remove-undef-function-type' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:29:30 +0000 (14:29 -0500)]
Merge branch '166-remove-undef-function-type' into 'master'

Remove OpUndef of function type, fixing #166.

See merge request !253

8 years agoMerge branch 'scygan_api_commandbuffers_fence_overuse' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:28:52 +0000 (14:28 -0500)]
Merge branch 'scygan_api_commandbuffers_fence_overuse' into 'master'

dEQP-VK.api.command_buffers.submit_count_equal_zero: Do not pass fence used by queue to vkQueueSubmit()

The test calls two vkQueueSubmits() on the same fence. This is illegal according to spec, especially it is in conflict with following wording:
```
Valid Usage for vkQueueSubmit:
"fence must not be associated with any other queue command that has not yet completed execution on that queue"
```

See merge request !255

8 years agoMerge branch 'timestamp-check-support' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:27:24 +0000 (14:27 -0500)]
Merge branch 'timestamp-check-support' into 'master'

Check support for timestamp queries.

See merge request !252

8 years agoMerge branch '165-fix-loop-control' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:26:33 +0000 (14:26 -0500)]
Merge branch '165-fix-loop-control' into 'master'

165: Fix spirv_assembly.instruction.loop_control.

No longer store an i32 to a u32.
Fixes #165

See merge request !251

8 years agoMerge branch 'query-pool-reset-fix' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:26:03 +0000 (14:26 -0500)]
Merge branch 'query-pool-reset-fix' into 'master'

Do not call vkCmdResetQueryPool() inside render pass.

See merge request !250

8 years agoMerge branch '156-fix-quantized-nans' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:25:16 +0000 (14:25 -0500)]
Merge branch '156-fix-quantized-nans' into 'master'

Fix spirv_assembly*opquantize.nan to not violate Vulkan spec.

This family of tests depended on NaN+0 returning NaN, which isn't
guaranteed in Vulkan.

See merge request !246

8 years agoMerge branch '149-eliminate-SSA-violation' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:22:03 +0000 (14:22 -0500)]
Merge branch '149-eliminate-SSA-violation' into 'master'

Eliminate SSA violation in spirv_assembly.instruction.graphics.opquantize

Due to a bad merge in 0644efb693c3612681bda085bcbbdb31a115568b, there
was an extra assignment to %cond.

Also fix two accidentally swapped comments.

See merge request !244

8 years agoMerge branch 'ssbo-buffer-create-fix' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:21:32 +0000 (14:21 -0500)]
Merge branch 'ssbo-buffer-create-fix' into 'master'

Corrected order of members of VkBufferCreateInfo in SSBO layout case.

See merge request !249

8 years agoMerge branch 'pipeline-barrier-frag-source-fix' into 'master'
Pyry Haulos [Thu, 7 Jan 2016 19:20:58 +0000 (14:20 -0500)]
Merge branch 'pipeline-barrier-frag-source-fix' into 'master'

Fix fragment shader source being registered as vertex source in dEQP-VK.memory.pipeline_barrier.*.

See merge request !248

8 years agoMerge "Fix issues in memory tests." into vulkan
Mika Isojarvi [Thu, 7 Jan 2016 17:37:18 +0000 (17:37 +0000)]
Merge "Fix issues in memory tests." into vulkan

8 years agoUpdate to newer SPIRV-Tools
David Neto [Thu, 7 Jan 2016 16:53:33 +0000 (11:53 -0500)]
Update to newer SPIRV-Tools

This version fixes the list of allowed opcodes for OpSpecConstantOp
Fixes Khronos bug 15379.
Fixes #168

8 years agoCorrected formula to calculate number of pSamplerMasks.
Dae Kim [Thu, 7 Jan 2016 16:51:31 +0000 (16:51 +0000)]
Corrected formula to calculate number of pSamplerMasks.

8 years agoBinding model test: correct test case name, correct VkCommandPoolCreateInfo parameters
scygan [Thu, 7 Jan 2016 16:47:18 +0000 (17:47 +0100)]
Binding model test: correct test case name, correct VkCommandPoolCreateInfo parameters

8 years agoCheck support for timestamp queries.
Dae Kim [Thu, 7 Jan 2016 16:28:48 +0000 (16:28 +0000)]
Check support for timestamp queries.

8 years agoDo not pass signaled fence to vkQueueSubmit()
iostrows [Thu, 7 Jan 2016 15:06:15 +0000 (16:06 +0100)]
Do not pass signaled fence to vkQueueSubmit()

8 years agoRemove OpUndef of function type, fixing #166.
Dejan Mircevski [Thu, 7 Jan 2016 15:37:59 +0000 (10:37 -0500)]
Remove OpUndef of function type, fixing #166.

8 years agoFix spirv_assembly.instruction.loop_control.
Andrew Woloszyn [Thu, 7 Jan 2016 14:36:34 +0000 (09:36 -0500)]
Fix spirv_assembly.instruction.loop_control.

No longer store an i32 to a u32.
Fixes #165

8 years agoDo not call vkCmdResetQueryPool() inside render pass.
Dae Kim [Thu, 7 Jan 2016 13:58:30 +0000 (13:58 +0000)]
Do not call vkCmdResetQueryPool() inside render pass.

8 years agoCorrected order of members of VkBufferCreateInfo in SSBO layout case.
Dae Kim [Thu, 7 Jan 2016 13:39:22 +0000 (13:39 +0000)]
Corrected order of members of VkBufferCreateInfo in SSBO layout case.

8 years agoFix fragment shader source being registered as vertex source in dEQP-VK.memory.pipeli...
Dae Kim [Thu, 7 Jan 2016 13:31:01 +0000 (13:31 +0000)]
Fix fragment shader source being registered as vertex source in dEQP-VK.memory.pipeline_barrier.*.

8 years agoFix spirv_assembly*opquantize.nan to not violate Vulkan spec.
Dejan Mircevski [Thu, 7 Jan 2016 01:44:57 +0000 (20:44 -0500)]
Fix spirv_assembly*opquantize.nan to not violate Vulkan spec.

This family of tests depended on NaN+0 returning NaN, which isn't
guaranteed in Vulkan.

8 years agoMerge "Change formats used in render pass tests." into vulkan
Mika Isojarvi [Wed, 6 Jan 2016 23:20:16 +0000 (23:20 +0000)]
Merge "Change formats used in render pass tests." into vulkan

8 years agoFix pipeline barrier test issues
Mika Isojärvi [Wed, 6 Jan 2016 21:43:53 +0000 (13:43 -0800)]
Fix pipeline barrier test issues

- Fix unmapping wrong memory object.
- Fixes to findMaxBufferSize.
- Round max buffer size to W*H*4 to make sure copies to and from
  images will cover whole buffer.
- Make sure that buffer copies to and from image always use the whole buffer.
- Fix life time issues of the buffer and image objects.
- Fix creating buffers / images with 0 usage.

Change-Id: I03fcc1b493dab36f4a55241a15a9f0bf804b27c8

8 years agoFix issues in memory tests.
Mika Isojärvi [Mon, 4 Jan 2016 23:40:42 +0000 (15:40 -0800)]
Fix issues in memory tests.

Change memory mapping tests to use 1/16th of memory at most.
Change memory allocation tests to use 1/8th of memory at most.
Fix number of ranges in random flush and random finish calls.

Change-Id: Ie8c5ad688c6243c69ea5de8681cf3b4e4a7c5c93

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Wed, 6 Jan 2016 21:51:54 +0000 (13:51 -0800)]
Merge in changes from Khronos repository

8 years agoEliminate SSA violation in spirv_assembly.instruction.graphics.opquantize
Dejan Mircevski [Wed, 6 Jan 2016 20:53:23 +0000 (15:53 -0500)]
Eliminate SSA violation in spirv_assembly.instruction.graphics.opquantize

Due to a bad merge in 0644efb693c3612681bda085bcbbdb31a115568b, there
was an extra assignment to %cond.

Also fix two accidentally swapped comments.

8 years agoMerge branch 'mem-random-div-zero' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 19:33:44 +0000 (14:33 -0500)]
Merge branch 'mem-random-div-zero' into 'master'

Fix division by zero in random memory allocation test

I got a division by 0 with some configuration when running some random memory allocation tests.

The related code is:

    const VkDeviceSize size = 1 + (rng.getUint64() % ((m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1));

It's possible for "(m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1" to be equal to zero since we are doing a -1 and the method "full" just compare "m_usage * MAX_MEMORY_USAGE_DIV >= m_heap.size".

With this change I do a max(1) which should resolve the issue

See merge request !228

8 years agoChange maxAnisotropy to 1 in object mgmt and smoke tests
Pyry Haulos [Wed, 6 Jan 2016 19:31:49 +0000 (11:31 -0800)]
Change maxAnisotropy to 1 in object mgmt and smoke tests

Anisotropic filtering is optional and value 1 disables it.

Change-Id: Ib1d5ff3e72d8271eb24321c04782dbe9cd9c833f

8 years agoMerge branch 'jbolz_copy_and_blit_fixes' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 19:16:32 +0000 (14:16 -0500)]
Merge branch 'jbolz_copy_and_blit_fixes' into 'master'

Copy_and_blit fixes: replace format during CopyImage expected result calculation…

…, to make it use memcpy. Use Any memory for image allocation for buffer-to-image copy.

See merge request !234

8 years agoMerge changes from Khronos repository
Pyry Haulos [Wed, 6 Jan 2016 19:13:09 +0000 (11:13 -0800)]
Merge changes from Khronos repository

8 years agoMerge branch 'jbolz_shaderrender_128' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 18:57:20 +0000 (13:57 -0500)]
Merge branch 'jbolz_shaderrender_128' into 'master'

Change 'shaderrender' (glsl) tests to use a size of 128x128 rather than 100x100,…

… to avoid interpolation noise.

This is a slightly unusual bugfix, but I was seeing failures in the dEQP-VK.glsl.operator.binary_operator.bitwise_xor and dEQP-VK.glsl.operator.float_compare.lessThan/lessThanEqual (and GT/GEQ) tests, only in the fragment shader variants. These are both tests where a small interpolation difference can get magnified into a very large diff due to the nature of the operation, and this was causing these tests to fail. Using power-of-two dimensions reduces the frequency of GPU vs reference interpolation differences.

See merge request !225

8 years agoMerge branch 'awoloszyn-fix-undefined-ids' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 17:51:56 +0000 (12:51 -0500)]
Merge branch 'awoloszyn-fix-undefined-ids' into 'master'

Fixes a handful of tests that used undefined IDs.

Fixes #137
Fixes #149

See merge request !243

8 years agoMerge branch 'jbolz_bitwisexor' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 17:51:40 +0000 (12:51 -0500)]
Merge branch 'jbolz_bitwisexor' into 'master'

Fix BitwiseXor specconstant test. Use only positive values for SRem/SMod

See bugs https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15380 and https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15379. Note that we will need to pick up an updated SPIRV-tools with the fix for 15379.

See merge request !235

8 years agoMerge branch '116-bufferview-swizzle-scale-and-bias' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 17:51:07 +0000 (12:51 -0500)]
Merge branch '116-bufferview-swizzle-scale-and-bias' into 'master'

Enhance verification of swizzling in pipeline.image_view tests

Fixes issue #116

- apply swizzle also to scale and bias parameters in shaders, so valid channels are not zeroed

Test pipeline.image_view verify the functionality of sampling a view of image by performing following operation:

```
texture(texSampler, vtxTexCoords) * lookupScale + lookupBias
```
and comparing results from Vulkan and ref renderer. The problem here is lookupScale and lookupBias ignore the swizzle set in image view object, thus for non 4-channel formats scale and bias zero the result on wrong channel, causing loss on information and comparing 0-es to 0-es in final validation of rendered image.

As a fix, I propose to apply component mapping from image view to both values (both in Vulkan and ref renderer shader).

See merge request !192

8 years agoMerge branch '98-remove-3d-astc' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 17:50:13 +0000 (12:50 -0500)]
Merge branch '98-remove-3d-astc' into 'master'

Removed test cases for 3D ASTC textures.

See merge request !242

8 years agoMerge branch 'jbolz_pipeline_barrier_fixes2' into 'master'
Pyry Haulos [Wed, 6 Jan 2016 17:47:29 +0000 (12:47 -0500)]
Merge branch 'jbolz_pipeline_barrier_fixes2' into 'master'

pipeline_barrier: Keep the VkBuffer in the PrepareContext alive until the work is executed...

…, by putting it in the same scope as the execution. Also wait for idle before the destructors are called.

This may not be the best fix, but it works. Buffers can be created and destroyed by various OPs in the test, but I think all the Execute work happens with the last buffer. The test may need some restructuring to using the different buffers.

See merge request !230

8 years agoFixes a handful of tests that used undefined IDs.
Andrew Woloszyn [Wed, 6 Jan 2016 16:33:28 +0000 (11:33 -0500)]
Fixes a handful of tests that used undefined IDs.

Fixes #137
Fixes #149

8 years agoRemoved test cases for 3D ASTC textures.
Dae Kim [Wed, 6 Jan 2016 10:47:08 +0000 (10:47 +0000)]
Removed test cases for 3D ASTC textures.

8 years agoMerge "Use -Wno-date-time to allow __DATE__/__TIME__" am: bd1826b4a3 am: f4e3b26175
Dan Willemsen [Wed, 6 Jan 2016 00:40:49 +0000 (00:40 +0000)]
Merge "Use -Wno-date-time to allow __DATE__/__TIME__" am: bd1826b4a3 am: f4e3b26175
am: c3d988aab7

* commit 'c3d988aab70b74c98ce51d7345eac519ad5c9222':
  Use -Wno-date-time to allow __DATE__/__TIME__

8 years agoMerge "Use -Wno-date-time to allow __DATE__/__TIME__" am: bd1826b4a3
Dan Willemsen [Wed, 6 Jan 2016 00:38:56 +0000 (00:38 +0000)]
Merge "Use -Wno-date-time to allow __DATE__/__TIME__" am: bd1826b4a3
am: f4e3b26175

* commit 'f4e3b26175490978db76e76576b488cbe2cf6bb6':
  Use -Wno-date-time to allow __DATE__/__TIME__

8 years agoMerge "Use -Wno-date-time to allow __DATE__/__TIME__"
Dan Willemsen [Wed, 6 Jan 2016 00:36:54 +0000 (00:36 +0000)]
Merge "Use -Wno-date-time to allow __DATE__/__TIME__"
am: bd1826b4a3

* commit 'bd1826b4a347e28e7aab1479d53b1c6d8ce4c640':
  Use -Wno-date-time to allow __DATE__/__TIME__

8 years agoMerge "Use -Wno-date-time to allow __DATE__/__TIME__"
Dan Willemsen [Wed, 6 Jan 2016 00:23:32 +0000 (00:23 +0000)]
Merge "Use -Wno-date-time to allow __DATE__/__TIME__"

8 years agoMerge changes from Khronos repository
Pyry Haulos [Tue, 5 Jan 2016 21:00:04 +0000 (13:00 -0800)]
Merge changes from Khronos repository

8 years agoMerge 138-dont-require-tess-geom
Pyry Haulos [Tue, 5 Jan 2016 20:54:26 +0000 (12:54 -0800)]
Merge 138-dont-require-tess-geom

8 years agoMerge "Update MNC GLES2 mustpass list"
Pyry Haulos [Tue, 5 Jan 2016 20:34:42 +0000 (20:34 +0000)]
Merge "Update MNC GLES2 mustpass list"
am: 661fef704e

* commit '661fef704eeecc3d83997bffc2615b19e68efa81':
  Update MNC GLES2 mustpass list

8 years agoMerge "Update MNC GLES2 mustpass list"
Pyry Haulos [Tue, 5 Jan 2016 20:33:22 +0000 (20:33 +0000)]
Merge "Update MNC GLES2 mustpass list"

8 years agoMerge "Add check for unsupported limits in api.info.device" into vulkan
David Sodman [Tue, 5 Jan 2016 20:06:16 +0000 (20:06 +0000)]
Merge "Add check for unsupported limits in api.info.device" into vulkan

8 years agoRemove few tests affected by a HW limitation from master and MNC lists
Pyry Haulos [Tue, 5 Jan 2016 20:00:35 +0000 (20:00 +0000)]
Remove few tests affected by a HW limitation from master and MNC lists
am: 2c2db488c8

* commit '2c2db488c8596e3c8fa9791d019aee22cd654821':
  Remove few tests affected by a HW limitation from master and MNC lists

8 years agoUpdate MNC GLES2 mustpass list
Pyry Haulos [Tue, 5 Jan 2016 19:47:58 +0000 (11:47 -0800)]
Update MNC GLES2 mustpass list

Change-Id: I9a123692804d61fd716e39b60a87276baeb3fcc9

8 years agoRemove few tests affected by a HW limitation from master and MNC lists
Pyry Haulos [Tue, 5 Jan 2016 19:46:37 +0000 (11:46 -0800)]
Remove few tests affected by a HW limitation from master and MNC lists

Some primitive_bbox tests were earlier removed due to a HW defect, but
the list was incomplete.

Bug: 22713865
Change-Id: I989e5c65de75f2b67b3e19f17a531b37831f0fe9

8 years agoClean up test hierarchy and case naming
Pyry Haulos [Tue, 5 Jan 2016 19:12:36 +0000 (11:12 -0800)]
Clean up test hierarchy and case naming

Affects following test groups:

 * dEQP-VK.glsl.ShaderExecutor
 * dEQP-VK.spirv_assembly.instruction.graphics

Change-Id: Ia14ee2deb112670d0a222380b5e0ddf6e03daffd

8 years agoMerge branch 'jbolz_pipeline_barrier_fixes' into 'master'
Pyry Haulos [Tue, 5 Jan 2016 18:57:31 +0000 (13:57 -0500)]
Merge branch 'jbolz_pipeline_barrier_fixes' into 'master'

pipeline_barrier fixes

- Try to use the full (power of two) buffer size. Not doing so tickles several issues to do with not writing all bytes of the buffer or image.
- Fix FillBuffer::verify byte selection.
- Use R8G8 rather than R8G8B8 for the vertex format. The third component is out of bounds for the last vertex, which makes the entire attribute undefined (i.e. substituted with zero on some implementations).
- Subtract out epsilon in vertex shader math to avoid points on the frustum boundary which may be culled.

See merge request !227

8 years agoUse context.getDeviceFeatures instead of instanceInterface.
Andrew Woloszyn [Tue, 5 Jan 2016 16:52:02 +0000 (11:52 -0500)]
Use context.getDeviceFeatures instead of instanceInterface.

8 years agoMerge branch '144-145-fix-assembly' into 'master'
Pyry Haulos [Tue, 5 Jan 2016 16:41:18 +0000 (11:41 -0500)]
Merge branch '144-145-fix-assembly' into 'master'

Fixes for assembly in opMemoryAccess and opQuantize tests.

Fixes #144
Fixes #145

See merge request !241

8 years agoMerge branch '141-fix-android-build-win-64' into 'master'
Pyry Haulos [Tue, 5 Jan 2016 16:40:46 +0000 (11:40 -0500)]
Merge branch '141-fix-android-build-win-64' into 'master'

Fix Android build script on Windows 64 bit (NDK r10e)

- Correct Host OS name on Windows 64 bit in common.py
- Add the missing Host OS in toolchain file for NDK r10e
- Downgrade to LLVM 3.5 in NDK r10e because the prebuilt version 3.6 is
  missing the llvm-ar utility which is needed by the build script.

See merge request !236

8 years agoUpdated to only include necessary stages in tests.
Andrew Woloszyn [Tue, 5 Jan 2016 15:17:39 +0000 (10:17 -0500)]
Updated to only include necessary stages in tests.

This simplifies the framework, and flow of the tests.
Any stage present in a test will be required. Tests will
only require tess/geom if we are specifically testing those stages.

8 years agoFixes for assembly in opMemoryAccess and opQuantize tests.
Andrew Woloszyn [Tue, 5 Jan 2016 14:52:28 +0000 (09:52 -0500)]
Fixes for assembly in opMemoryAccess and opQuantize tests.

Fixes #144
Fixes #145

8 years agoFix Android build script on Windows 64 bit (NDK r10e)
Maciej Jesionowski [Mon, 4 Jan 2016 09:45:10 +0000 (10:45 +0100)]
Fix Android build script on Windows 64 bit (NDK r10e)

- Correct Host OS name on Windows 64 bit in common.py
- Add the missing Host OS in toolchain file for NDK r10e
- Downgrade to LLVM 3.5 when using Windows NDK r10e,
  because the prebuilt version 3.6 is missing the llvm-ar
  utility which is needed by the build script.

8 years agoAdd check for unsupported limits in api.info.device
David Sodman [Mon, 28 Dec 2015 21:33:39 +0000 (13:33 -0800)]
Add check for unsupported limits in api.info.device

Fixes https://gitlab.khronos.org/vulkan/vulkancts/issues/120

Change-Id: If43e22c7007325eb00d87bbe59a2dca65aae584e

8 years agoFix BitwiseXor specconstant test. Use only positive values for SRem/SMod
Jeff Bolz [Sun, 3 Jan 2016 21:20:52 +0000 (21:20 +0000)]
Fix BitwiseXor specconstant test. Use only positive values for SRem/SMod

8 years agoChange formats used in render pass tests.
Mika Isojärvi [Mon, 4 Jan 2016 22:07:11 +0000 (14:07 -0800)]
Change formats used in render pass tests.

Limit formats to formats that are required by the core specification
to avoid not supported errors.

Add separate format tests for depth and stencil formats.

Change-Id: I962d0dfede03748de7af34759a6e3c0126d626fc