platform/upstream/VK-GL-CTS.git
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 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

8 years agoMerge branch '221-fix-event-creation-in-command-buffers-tests' into 'master'
Pyry Haulos [Thu, 21 Jan 2016 16:20:42 +0000 (11:20 -0500)]
Merge branch '221-fix-event-creation-in-command-buffers-tests' into 'master'

Event creation is modified to  be exception-safe in dEQP-VK.api.command_buffers tests

Event creations are modified to use the vk::Unique and vk::Move to be exception-safe. (issue #221)

See merge request !369

8 years agoMerge branch 'query-pool-occlusion-resources-fix' into 'master'
Pyry Haulos [Thu, 21 Jan 2016 16:12:44 +0000 (11:12 -0500)]
Merge branch 'query-pool-occlusion-resources-fix' into 'master'

dEQP-VK.query_pool.occlusion_query.* do not allocate resources if precise occlusion queries are not supported.

This is a follow-up of !359.

See merge request !367

8 years agoMerge "Clamp lod values when sampling 2D array texture."
Mika Isojarvi [Thu, 21 Jan 2016 15:53:12 +0000 (15:53 +0000)]
Merge "Clamp lod values when sampling 2D array texture."

8 years agoEvent creation is fixed.
Peter Siket [Thu, 21 Jan 2016 15:02:52 +0000 (16:02 +0100)]
Event creation is fixed.

8 years agodEQP-VK.query_pool.occlusion_query.* do not allocate resources if
Dae Kim [Thu, 21 Jan 2016 10:56:07 +0000 (10:56 +0000)]
dEQP-VK.query_pool.occlusion_query.* do not allocate resources if
precise occlusion queries are not supported.

8 years agoFix typo in android launch command
Daniel Koch [Wed, 20 Jan 2016 22:59:22 +0000 (17:59 -0500)]
Fix typo in android launch command

8 years agoRemove a test with very thin triangle am: 9bb35ddf89 am: da426b912b am: 732f007700...
Kalle Raita [Thu, 21 Jan 2016 05:35:37 +0000 (05:35 +0000)]
Remove a test with very thin triangle am: 9bb35ddf89 am: da426b912b am: 732f007700  -s ours
am: bf8259b271

* commit 'bf8259b271d307717dc48cce972b69429fe10eef':
  Remove a test with very thin triangle

8 years agoRemove a test with very thin triangle am: 9bb35ddf89 am: da426b912b
Kalle Raita [Thu, 21 Jan 2016 05:31:10 +0000 (05:31 +0000)]
Remove a test with very thin triangle am: 9bb35ddf89 am: da426b912b
am: 732f007700  -s ours

* commit '732f007700b94b79ecbb96df3001436b976eda1d':
  Remove a test with very thin triangle

8 years agoRemove a test with very thin triangle am: 9bb35ddf89
Kalle Raita [Thu, 21 Jan 2016 05:10:29 +0000 (05:10 +0000)]
Remove a test with very thin triangle am: 9bb35ddf89
am: da426b912b

* commit 'da426b912b3086e6f4a6865b280dd0a804618972':
  Remove a test with very thin triangle

8 years agoRemove a test with very thin triangle
Kalle Raita [Thu, 21 Jan 2016 03:41:16 +0000 (03:41 +0000)]
Remove a test with very thin triangle
am: 9bb35ddf89

* commit '9bb35ddf8994c63bf5bbb14491f7cea3b7bc830d':
  Remove a test with very thin triangle

8 years agoMerge "Fix GL_COMPRESSED_TEXTURE_FORMATS query in null context"
Pyry Haulos [Thu, 21 Jan 2016 00:49:09 +0000 (00:49 +0000)]
Merge "Fix GL_COMPRESSED_TEXTURE_FORMATS query in null context"
am: de40240337

* commit 'de4024033762387017efdec7532d2358990261eb':
  Fix GL_COMPRESSED_TEXTURE_FORMATS query in null context

8 years agoFix empty expr in NotSupportedError thrown by gluTexture
Pyry Haulos [Thu, 21 Jan 2016 00:49:00 +0000 (00:49 +0000)]
Fix empty expr in NotSupportedError thrown by gluTexture
am: 246a880f1d

* commit '246a880f1d59f8f5dcf4b68aec8226d8b2f87320':
  Fix empty expr in NotSupportedError thrown by gluTexture

8 years agoFix couple of warnings
Pyry Haulos [Thu, 21 Jan 2016 00:25:59 +0000 (16:25 -0800)]
Fix couple of warnings

8 years agoMerge "Fix GL_COMPRESSED_TEXTURE_FORMATS query in null context"
Pyry Haulos [Thu, 21 Jan 2016 00:23:58 +0000 (00:23 +0000)]
Merge "Fix GL_COMPRESSED_TEXTURE_FORMATS query in null context"

8 years agoFix GL_COMPRESSED_TEXTURE_FORMATS query in null context
Pyry Haulos [Thu, 21 Jan 2016 00:23:00 +0000 (16:23 -0800)]
Fix GL_COMPRESSED_TEXTURE_FORMATS query in null context

Change-Id: I376262d594e080de8a03c2bc1f248ce374066f3f

8 years agoFix empty expr in NotSupportedError thrown by gluTexture
Pyry Haulos [Thu, 21 Jan 2016 00:22:01 +0000 (16:22 -0800)]
Fix empty expr in NotSupportedError thrown by gluTexture

Change-Id: I44cdc31ed48f16b8843b37d286ff14619cacfeda

8 years agoClamp lod values when sampling 2D array texture.
Mika Isojärvi [Wed, 20 Jan 2016 23:45:33 +0000 (15:45 -0800)]
Clamp lod values when sampling 2D array texture.

Bug: 23943340
Change-Id: I6b1951ed90fc170768dc7393785cb5d12e832fe7

8 years agoMerge branch '157-update-glslang' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 21:17:43 +0000 (16:17 -0500)]
Merge branch '157-update-glslang' into 'master'

Update glslang

Updates glslang to upstream revision that contains fix for SPIR-V loop
codegen bug.

Fixes #157

See merge request !354

8 years agoMerge branch '233-negative-zero-removal' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 19:51:21 +0000 (14:51 -0500)]
Merge branch '233-negative-zero-removal' into 'master'

Removes glsl builtin function frexp tests due to negative zero issue

Fixes #233

See merge request !363

8 years agoUpdate glslang
Pyry Haulos [Wed, 20 Jan 2016 00:19:00 +0000 (16:19 -0800)]
Update glslang

Updates glslang to upstream revision that contains fix for SPIR-V loop
codegen bug.

Fixes #157
Fixes #240

8 years agoRemoves glsl builtin function frexp tests due to negative zero issue
Matthew Netsch [Wed, 20 Jan 2016 19:20:22 +0000 (14:20 -0500)]
Removes glsl builtin function frexp tests due to negative zero issue

Fixes #233

8 years agoMerge branch 'awoloszyn-array-of-struct-of-array' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 16:30:05 +0000 (11:30 -0500)]
Merge branch 'awoloszyn-array-of-struct-of-array' into 'master'

Fix spirv_assembly...opconstantcomposite.array_of_struct_of_array

Missing OpLoad in array_of_struct_of_array tests.
Fixes #239

See merge request !357

8 years agoRemove immutable shaders from ShaderExecutor
Pyry Haulos [Wed, 20 Jan 2016 16:09:30 +0000 (08:09 -0800)]
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.

Change-Id: I7115233383421bf59817288f32a598bb4914aa1c

8 years agoMerge branch 'ppiotrowski_shader_render_struct-fix' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 15:46:09 +0000 (10:46 -0500)]
Merge branch 'ppiotrowski_shader_render_struct-fix' into 'master'

dEQP-VK.glsl.struct.uniform.dynamic_loop_nested_struct_array_*

vktShaderRenderStructTests - corrected padding between structure members;
fixed test case dEQP-VK.glsl.struct.uniform.dynamic_loop_nested_struct_array_* - changed binding number for 'uniform buffer11' to 11;

See merge request !360

8 years agoMerge branch 'occlusion-query-precise-check' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 15:45:13 +0000 (10:45 -0500)]
Merge branch 'occlusion-query-precise-check' into 'master'

Check for precise occlusion query support.

See merge request !359

8 years agoMerge branch 'scygan_timestamp_fixes' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 15:41:59 +0000 (10:41 -0500)]
Merge branch 'scygan_timestamp_fixes' into 'master'

Multiple fixes in dEQP-VK.pipeline.timestamp test

This fixes multiple issues in timestamp tests:

1.
`1 << queueProperties[0].timestampValidBits` overflows, calculations should be done in 64bits

2.
`sizeof(m_timestampValues)` is a `sizeof(pointer)`, not number of query pool slots

3.
`cmdResetQueryPool` does not reset all slots before use

4.
images are not transitioned out of UNDEFINED layout before use

5.
multiple objects are used while associated device memory object has been already freed by `~MovePtr<Allocation>` DTOR

6.
`VkImageSubresourceRange` with 0 aspect is used for clears

7.
Bad image usage flags. Especially `VK_IMAGE_USAGE_STORAGE_BIT` does not allow for transfer operations

8.
multisample image is used (resolved), but has unitialised data. Add clear() before use, so resolve() really happens

See merge request !279

8 years agoMerge branch 'jbolz_builtin_integer' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 15:35:46 +0000 (10:35 -0500)]
Merge branch 'jbolz_builtin_integer' into 'master'

shaderexecutor: Select integer or floating point type based on output data

See merge request !343

8 years agofixed test case dEQP-VK.glsl.struct.uniform.dynamic_loop_nested_struct_array_* -...
pflisiko [Wed, 20 Jan 2016 12:56:53 +0000 (13:56 +0100)]
fixed test case dEQP-VK.glsl.struct.uniform.dynamic_loop_nested_struct_array_* - changed binding number for 'uniform buffer11' to 11

8 years agoremoved redundant semicolon
pflisiko [Tue, 19 Jan 2016 14:45:30 +0000 (15:45 +0100)]
removed redundant semicolon

8 years agocorrected padding between structure members
pflisiko [Tue, 19 Jan 2016 14:42:06 +0000 (15:42 +0100)]
corrected padding between structure members

8 years agoCheck for precise occlusion query support.
Dae Kim [Wed, 20 Jan 2016 14:42:31 +0000 (14:42 +0000)]
Check for precise occlusion query support.

8 years agoFix spirv_assembly...opconstantcomposite.array_of_struct_of_array
Andrew Woloszyn [Wed, 20 Jan 2016 13:29:57 +0000 (08:29 -0500)]
Fix spirv_assembly...opconstantcomposite.array_of_struct_of_array

Missing OpLoad in array_of_struct_of_array tests.
Fixes #239

8 years agoFixed allocations in dEQP-VK.pipeline.timestamp tests
iostrows [Mon, 18 Jan 2016 12:15:38 +0000 (13:15 +0100)]
Fixed allocations in dEQP-VK.pipeline.timestamp tests

8 years agoMultiple fixes in dEQP-VK.pipeline.timestamp test
scygan [Tue, 12 Jan 2016 19:14:25 +0000 (20:14 +0100)]
Multiple fixes in dEQP-VK.pipeline.timestamp test

8 years agoshaderexecutor: Select integer or floating point type based on output data
Jeff Bolz [Tue, 19 Jan 2016 09:26:37 +0000 (09:26 +0000)]
shaderexecutor: Select integer or floating point type based on output data

8 years agoMerge branch 'jbolz_pipeline_barrier_1998' into 'master'
Pyry Haulos [Wed, 20 Jan 2016 04:28:48 +0000 (23:28 -0500)]
Merge branch 'jbolz_pipeline_barrier_1998' into 'master'

Put point vertex coordinates in [-.999, .999] rather than [-0.999, 1.0]

Fixes #236

See merge request !355

8 years agoPut point vertex coordinates in [-.999, .999] rather than [-0.999, 1.0]
Jeff Bolz [Wed, 20 Jan 2016 03:49:14 +0000 (03:49 +0000)]
Put point vertex coordinates in [-.999, .999] rather than [-0.999, 1.0]

8 years agoMerge branch '235-pipeline_multisample-alpha_translucent-higher-threshold' into ...
Pyry Haulos [Wed, 20 Jan 2016 03:19:01 +0000 (22:19 -0500)]
Merge branch '235-pipeline_multisample-alpha_translucent-higher-threshold' into 'master'

Use a higher threshold for translucency case to let the test pass:

dEQP-VK.pipeline.multisample.alpha_to_coverage.samples_2.alpha_translucent

Issue is described in #235

See merge request !352

8 years agoMerge "Pass boolean values correctly to shaders." into vulkan
Pyry Haulos [Wed, 20 Jan 2016 02:50:41 +0000 (02:50 +0000)]
Merge "Pass boolean values correctly to shaders." into vulkan

8 years agoRemove a test with very thin triangle
Kalle Raita [Wed, 20 Jan 2016 00:53:10 +0000 (16:53 -0800)]
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: Iaf99bba7dd233d7b027fdcd63b5a73ec80d112db

8 years agoFix int-size_t comparison warning
Pyry Haulos [Wed, 20 Jan 2016 00:13:42 +0000 (16:13 -0800)]
Fix int-size_t comparison warning

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Wed, 20 Jan 2016 00:11:08 +0000 (16:11 -0800)]
Merge in changes from Khronos repository

8 years agoPass boolean values correctly to shaders.
Mika Isojärvi [Tue, 19 Jan 2016 22:46:34 +0000 (14:46 -0800)]
Pass boolean values correctly to shaders.

Map type to correct vkFormat for other than floating point types and
pass boolean values correctly as 0xFFFFFFFFu instead of 0x1u to shader
in vulkan ShaderLibrary tests.

Change-Id: Ib13b4a3c648b21a0b9020d00caeafd17a23b7402

8 years agoUse a higher threshold for translucency case to let the test pass:
Mais Alnasser [Tue, 19 Jan 2016 22:47:30 +0000 (17:47 -0500)]
Use a higher threshold for translucency case to let the test pass:

dEQP-VK.pipeline.multisample.alpha_to_coverage.samples_2.alpha_translucent

Issue is described in:

https://gitlab.khronos.org/vulkan/vulkancts/issues/235