platform/upstream/VK-GL-CTS.git
6 years agoMerge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 22 Feb 2018 14:23:23 +0000 (15:23 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I34f59a239f54a494734f6934cdadf9cc45d02fcb

6 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Alexander Galazin [Thu, 22 Feb 2018 13:03:32 +0000 (14:03 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1

Change-Id: I8cb0743b2ee95da2aecc89a20310b735aeff36eb

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 22 Feb 2018 11:45:50 +0000 (12:45 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I115b3e16d7282ef5f9abeb5bd382f744d891b5e3

6 years agoUse default device for spir-v assembly tests
Ari Suonpaa [Tue, 13 Feb 2018 10:31:11 +0000 (12:31 +0200)]
Use default device for spir-v assembly tests

All extensions required by spir-v assembly tests are supported by
default device, but the feature queries were missing. These are now
included with the default device, and the features can be requested
directly using a context object. This allows the default device to
be used in spir-v assembly tests.

Affects:

dEQP-VK.spirv_assembly.*

Components: Vulkan

VK-GL-CTS issue: 1007

Change-Id: Ie3c530ceb31316a66b1b513e856e33e714e771a1

6 years agoFix low memory in dedicated_alloc buffer tests
Tom Cooper [Mon, 12 Feb 2018 16:20:58 +0000 (16:20 +0000)]
Fix low memory in dedicated_alloc buffer tests

Observe platform memory limits to avoid low memory conditions.

Components: Vulkan

VK-GL-CTS issue: 1008

Affects: dEQP-VK.api.buffer.dedicated_alloc.create_buffer_*

Change-Id: Ib184b648126e8cb6e1acff533447a86be9a1a612

6 years agoAdd timestamp tests that use two command buffers
Ari Suonpaa [Tue, 30 Jan 2018 13:28:53 +0000 (15:28 +0200)]
Add timestamp tests that use two command buffers

Added tests similar to
VkPositiveLayerTest.QueryAndCopyMultipleCommandBuffers and
VkPositiveLayerTest.QueryAndCopySecondaryCommandBuffers. Some
shipping drivers were crashing these tests. Results are not
checked and the tests pass as long as no crash happens.

New tests:

dEQP-VK.pipeline.timestamp.misc_tests.two_cmd_buffers_*

Components: Vulkan

VK-GL-CTS issue: 842, 843

Change-Id: I1e5c863c11d4b23a387267c5d9a83e4caf9b3849

6 years agoAdd OpVariable initialization tests
Ari Suonpaa [Fri, 12 Jan 2018 12:42:31 +0000 (14:42 +0200)]
Add OpVariable initialization tests

Added tests for OpVariable initialization. Tests are for private and
output storage classes.

New tests:
dEQP-VK.spirv_assembly.instruction.*.variable_init.*

Components: Vulkan

VK-GL-CTS issue: 873

Change-Id: I7cb29648642d617409719cd0cfa40ee7acfb3548

6 years agoAdded test for destroying pipeline object early
Ari Suonpaa [Wed, 7 Feb 2018 11:59:32 +0000 (13:59 +0200)]
Added test for destroying pipeline object early

Added test similar to
VkLayerTest.InvalidCmdBufferPipelineDestroyed. Some shipping
drivers were crashing these tests. Results are not checked and the
tests pass as long as no crash happens.

New tests:

dEQP-VK.pipeline.early_destroy.*

Components: Vulkan

VK-GL-CTS issue: 839

Change-Id: I764ff636364ca193e74409e136d5f9c99a61f248

6 years agoUpdate glslang/spir-v headers tags
Alexander Galazin [Wed, 14 Feb 2018 09:17:22 +0000 (10:17 +0100)]
Update glslang/spir-v headers tags

Components: Framework

Affects: dEQP-VK.*

Change-Id: I1282fe5924abfb86fba7d32d3c67b94993a252fe

6 years agoFixed color bias and scale for BC4-5 tests
Ari Suonpaa [Mon, 29 Jan 2018 11:29:07 +0000 (13:29 +0200)]
Fixed color bias and scale for BC4-5 tests

BC4 and BC5 compressed format tests were using whole scale of
floating point space for result images, although the formats only
use ranges [0..1] or [-1..1]. This caused the result to be of
a flat color, which allowed room for error in decoder
implementation.

Affects:
dEQP-VK.texture.compressed.bc4*
dEQP-VK.texture.compressed.bc5*

Components: Vulkan*

VK-GL-CTS issue: 970

Change-Id: I74d2c3228ed6fbbfad6445e882a4a02c693e2bb7

6 years agoRemoved incompatible render pass test
Ari Suonpaa [Fri, 2 Feb 2018 05:25:07 +0000 (07:25 +0200)]
Removed incompatible render pass test

Incompatible render pass test was based on a validation layer test
VkLayerTest.RenderPassIncompatible which turned out to be invalid.
Render pass creation in that test was also deemed invalid by the
validation layer, which caused an uninitialized render pass object
to be used. This caused a crash on some devices.

Components: Vulkan

VK-GL-CTS issue: 841

Change-Id: I9029d5bb7fa9c6be1e359b73d8bfeac3716bfc88

6 years agoDo not use depthClampEnable unconditionally.
Juan A. Suarez Romero [Fri, 10 Nov 2017 11:20:36 +0000 (11:20 +0000)]
Do not use depthClampEnable unconditionally.

Depth clamping is not needed by these tests, so
do not rely on the optional feature when creating
the pipeline object.

Affects:
dEQP-VK.spirv_assembly.*

Components: Vulkan

VK-GL-CTS issue: 846

Change-Id: I248759e6ac209ccbd7661068c3ef5f1dfb8ca501
(cherry picked from commit d33f62c935d51b4ecba0b6b97ea1baafe67ea3f4)

6 years agoYCbCr: go through the correct location ranges when sampling
Lionel Landwerlin [Fri, 9 Feb 2018 15:20:25 +0000 (15:20 +0000)]
YCbCr: go through the correct location ranges when sampling

Affects: dEQP-VK.ycbcr.conversion.*
Components: Vulkan
VK-GL-CTS issue: 1005

Change-Id: Ifac1026e82e1bb48195fc7ab5429951a15324042

6 years agoDepth/stencil multiview tests
Boris Zanin [Fri, 12 Jan 2018 15:36:28 +0000 (16:36 +0100)]
Depth/stencil multiview tests

Add tests
 * dEQP-VK.multiview.depth.3_6_12_9_6_12_9_3_6_12_9_3
 * dEQP-VK.multiview.stencil.3_6_12_9_6_12_9_3_6_12_9_3

Updates tests
 * dEQP-VK.multiview.*

Components: Vulkan

VK-GL-CTS issue: 789

Change-Id: I31f84cdebe8cc2d6b7430e383f6cf4ce7752fd72

6 years agodEQP-VK.renderpass.sparserendertarget: bind metadata
Slawomir Cygan [Fri, 19 Jan 2018 13:20:47 +0000 (14:20 +0100)]
dEQP-VK.renderpass.sparserendertarget: bind metadata

Memory was not bound to METADATA aspect, when COLOR aspect
mip tail size was 0. METADATA requirements are not related
to mip tails in other aspects - memory must be always and
unconditionally bound to METADATA.

Additionally, change VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT
condition to layerNdx == 0, as imageMipTailMemoryBinds vector
is now used both for metadata and other mip tails.

Affects: dEQP-VK.renderpass.sparserendertarget.*

Components: Vulkan

VK-GL-CTS issue: 958

Change-Id: I34661c82e0d9829448ac85546055c72151bfe85e
(cherry picked from commit d04c2b650db561fb28f5888ae3de244fc70e6748)

6 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 6 Feb 2018 12:19:09 +0000 (13:19 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Idebf4d50048133306e2079e02c03e28c9d22b844

6 years agoMerge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 5 Feb 2018 14:02:46 +0000 (15:02 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I9c4fcecb9fb7199d858ca22002247820388eece1

6 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Alexander Galazin [Mon, 5 Feb 2018 13:29:26 +0000 (14:29 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1

Change-Id: I477feb14b24a78b12cd6cf72adbdfa4d997dbaf9

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.3 into vk-gl-cts/master
Alexander Galazin [Mon, 5 Feb 2018 12:13:47 +0000 (13:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.3 into vk-gl-cts/master

Change-Id: I5197455fbb3dc596087f7e9ca344ef67e011455b

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Mon, 5 Feb 2018 12:13:44 +0000 (13:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I36a59b8e50449e1788779380d6dc1dc4668b78fc

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.0.3
Alexander Galazin [Mon, 5 Feb 2018 12:13:42 +0000 (13:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.0.3

Change-Id: If7dc3d47395a03af3a34987f08c873c13effd366

6 years agoFix ES2 rbo clear tests for RGB5_A1
Piotr Byszewski [Fri, 19 Jan 2018 14:15:07 +0000 (15:15 +0100)]
Fix ES2 rbo clear tests for RGB5_A1

color_clear and stencil_clear tests for GL_RGB5_A1 format
should not perform validation for alpha channel as
test thresholds for this channel do not account for dithering.

Components: OpenGL

VK-GL-CTS issue: 348

Affects:
dEQP-GLES2.functional.fbo.render.color_clear.*
dEQP-GLES2.functional.fbo.render.stencil_clear.*

Change-Id: I72fb6ec98dacfe9b2ad8178d0a01f7bb0bee01fc

6 years agoFix use of sparse binding queue on default context
Daniel Koch [Wed, 31 Jan 2018 22:22:15 +0000 (17:22 -0500)]
Fix use of sparse binding queue on default context

Avoid trying to create two separate queues
when the queueIndex and sparseQueueIndex are the same,
as this violates valid usage which states:
"The queueFamilyIndex member of each element of pQueueCreateInfos
 must be unique within pQueueCreateInfos"

Affects:
All vulkan tests
The forerunner change claimed it only affected the following specifically:
dEQP-VK.texture.shadow.*
dEQP-VK.renderpass.sparserendertarget.*

Component: Vuklan
VK-GL-CTS issue: 898, 964

Change-Id: I342e11f9a63eab875336b8078890e677a5d29a2d

6 years agoPass in proper pWaitDstStageMask in vktWsiSharedPresentableImageTests
Vamsidhar Gaddam [Wed, 31 Jan 2018 10:23:48 +0000 (11:23 +0100)]
Pass in proper pWaitDstStageMask in vktWsiSharedPresentableImageTests

One of the submitInfos for a queue submit had
a semaphore passed in without passing in any stage mask. This is a
spec violation.

Affects:

dEQP-VK.wsi.android.shared_presentable_image.*

Components: Vulkan

VK-GL-CTS issue: 974

Change-Id: Iee2ea838e971a3610f44b8c1f765869a8a21fedb

6 years agoSpec relaxation for YCbCr Implicit chroma reconstruction
Panagiotis Apostolou [Wed, 17 Jan 2018 09:01:58 +0000 (10:01 +0100)]
Spec relaxation for YCbCr Implicit chroma reconstruction

Incorporates spec relaxation in the YCbCr tests which describes that when
doing implicit reconstruction with nearest chroma filtering, an
implementation may behave as if both xChromaOffset and yChromaOffset were
VK_CHROMA_LOCATION_MIDPOINT.

Tests affected:
dEQP-VK.ycbcr.conversion.*

Components: Vulkan

VK-GL-CTS issue: 979

Change-Id: I10e83d2f5845c3e74673aa9e42fc4f0950f9e6cd

6 years agoNote that git/python/cmake must be in PATH
Alexander Galazin [Thu, 1 Feb 2018 11:48:25 +0000 (12:48 +0100)]
Note that git/python/cmake must be in PATH

Components: Vulkan

VK-GL-CTS issue: 931

Change-Id: I92197ee4e6b03ff3e220936f73ec73e6808be792

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.3 into vk-gl-cts/master
Alexander Galazin [Fri, 2 Feb 2018 15:37:21 +0000 (16:37 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.3 into vk-gl-cts/master

Change-Id: I0ec19f7ba49c9c543cc3a0268779af0768e06d49

6 years agoTest only specified device in api group
Boris Zanin [Mon, 22 Jan 2018 13:40:23 +0000 (14:40 +0100)]
Test only specified device in api group

Test does not require loop on devices which has not been requested.

Updates tests:
 * dEQP-VK.api.info.get_physical_device_properties2.*
 * dEQP-VK.api.info.sparse_image_format_properties2.*
 * dEQP-VK.api.info.image_format_properties2.*

VK-GL-CTS issue: 942

Change-Id: If9f546ec7b98cafb1c8dc48664b76c3c9ab6c6b4
Components: Vulkan

6 years agoExtend some of the 16bit storage tests
Ari Suonpaa [Mon, 1 Jan 2018 13:53:27 +0000 (15:53 +0200)]
Extend some of the 16bit storage tests

Added constant index access variants for uniform and push constant 16bit
to 32bit conversion tests.

Affects:

dEQP-VK.spirv_assembly.instruction.*.16bit_storage.*16_to_32.*

Components: Vulkan

VK-GL-CTS issue: 893

Change-Id: If006e72a7b76796bc5b8f1f0850f4959c9aae30c

6 years agoAdd sparse image support for pipeline multisample tests.
Ari Suonpaa [Tue, 26 Sep 2017 07:51:57 +0000 (10:51 +0300)]
Add sparse image support for pipeline multisample tests.

Extended pipeline multisample tests to support source images that
are using sparse binding.

Affects:

dEQP-VK.pipeline.multisample.*

Components: Vulkan

VK-GL-CTS issue: 101

Change-Id: Ice9624de3e88d0a5daf6574f257714fa83db0877

6 years agoBC3-5: Remove potentially misaligned uint64 read
Chris Forbes [Fri, 19 Jan 2018 00:58:18 +0000 (16:58 -0800)]
BC3-5: Remove potentially misaligned uint64 read

ARMv7 is fussy about this and explodes if src+2 isn't properly aligned,
which is likely to be the case.

VK-GL-CTS Issue: 954

Affects: dEQP-VK.texture.compressed.bc{3,4,5}*
Components: Framework

Change-Id: Idf0846603f4bf5d569a4084b8f399dd8da99221e
(cherry picked from commit f87519fd1d59e2c9beb06feeeae08c58fd8b9a51)

6 years agoBC3-5: Remove potentially misaligned uint64 read
Chris Forbes [Fri, 19 Jan 2018 00:58:18 +0000 (16:58 -0800)]
BC3-5: Remove potentially misaligned uint64 read

ARMv7 is fussy about this and explodes if src+2 isn't properly aligned,
which is likely to be the case.

VK-GL-CTS Issue: 954

Affects: dEQP-VK.texture.compressed.bc{3,4,5}*
Components: Framework

Change-Id: Idf0846603f4bf5d569a4084b8f399dd8da99221e

6 years agoReturn UNSUPPORTED if no compressed textures available
Juan A. Suarez Romero [Thu, 11 Jan 2018 12:52:42 +0000 (13:52 +0100)]
Return UNSUPPORTED if no compressed textures available

When testing compressed textures, return NOT_SUPPORTED if none of the
compressed textures under testing are available, instead of returning
FAIL.

Components: OpenGL

VK-GL-CTS issue: 943

Affects:
KHR-GLES2.texture_3d.compressed_texture.negative_compressed_*

Change-Id: I77d18fdbb86fef88c680f63f7fe522ed079887aa

6 years agogl_spirv: Correct ARB_gl_spirv check function type
Andres Gomez [Thu, 1 Feb 2018 10:03:21 +0000 (12:03 +0200)]
gl_spirv: Correct ARB_gl_spirv check function type

The check for GL_ARB_gl_spirv or GL 4.6 doesn't return anything but
just throws an exception. This corrects the type of the call.

Affects:

KHR-GL45.gl_spirv.*

Components: OpenGL

VK-GL-CTS issue: 981

Change-Id: Ic051d7949672b7a824ebe5c67761be866cd1877f

6 years agoFix ES2 cube map GL_LINEAR_* filtering tests
Piotr Byszewski [Thu, 18 Jan 2018 12:59:57 +0000 (13:59 +0100)]
Fix ES2 cube map GL_LINEAR_* filtering tests

When ES2 context is created on ES3 compatible hardware
seamless sampler should be used during cube map filtering
test result verification.

Components: OpenGL

VK-GL-CTS issue: 284

Affects:
dEQP-GLES2.functional.texture.mipmap.cube.*

Change-Id: I442429ca2e1c368bd2dba0948923034b8a3e54be

6 years agoFixed ES2 fbo completeness tests
Piotr Byszewski [Wed, 17 Jan 2018 14:45:28 +0000 (15:45 +0100)]
Fixed ES2 fbo completeness tests

Twelve ES2 fbo completeness tests failed when they
were executed on hardware that also supports ES3.
This was fixed by detecting this case and verifying
tests results using ES3 rules.

Components: OpenGL

VK-GL-CTS issue: 288

Affects:
dEQP-GLES2.functional.fbo.completeness.renderable.*

Change-Id: I0377021a5a83cfb08c5222895e357182c2cafe67

6 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Alexander Galazin [Thu, 1 Feb 2018 09:29:38 +0000 (10:29 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1

Change-Id: I350e7704a0448e25ff4502659f8e6032adb78426

6 years agoMerge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Alexander Galazin [Wed, 31 Jan 2018 10:09:13 +0000 (11:09 +0100)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master

Change-Id: I105841cb1422bf42de35208d39195b9e2ddc1469

6 years agoExtend multiview tests
Boris Zanin [Thu, 14 Dec 2017 15:55:43 +0000 (16:55 +0100)]
Extend multiview tests

Add multiview queries tests for:
 * occlusion queries
 * timestamp queries

Clear attachment test reimplemented to avoid usage of geometry shader
and added test to validate loading from multiview attachments.

Add tests
 * dEQP-VK.multiview.queries.*
 * dEQP-VK.multiview.readback_with_explicit_clear.*
 * dEQP-VK.multiview.readback_with_implicit_clear.*
 * dEQP-VK.multiview.*.5_10_5_10.*

Updates tests
 * dEQP-VK.multiview.clear_attachments.*

Components: Vulkan

VK-GL-CTS issue: 789

Change-Id: I66063f99eea4dfd8936f9b88d02ede043ae52553

6 years agoAdd test for specific depth stencil state
Ari Suonpaa [Mon, 8 Jan 2018 07:08:08 +0000 (09:08 +0200)]
Add test for specific depth stencil state

A certain depth stencil case was reported to crash on some
devices. This change extends the existing depth test to also
include the state reported.

Affects:

dEQP-VK.pipeline.depth.*

Components: Vulkan

VK-GL-CTS issue: 907

Change-Id: Ic3456be7cced80e66c93c56f01b67b56b36107f0

6 years agoTest texture gather with separate sparse binding queue
Paavo Pessi [Fri, 3 Nov 2017 11:49:27 +0000 (13:49 +0200)]
Test texture gather with separate sparse binding queue

Existing texture gather tests assume the binding queue is part of
graphics queue. Tests were modified to support both combined and
separate sparse binding queues.

Affects:

dEQP-VK.glsl.texture_gather.*.sparse_*

Components: Vulkan

VK-GL-CTS issue: 361

Change-Id: I0c2160649e6d0fd3e45401a43ab6b3960312c5e0

6 years agoAdd tests for sparse compressed textures.
Ari Suonpaa [Mon, 16 Oct 2017 06:29:08 +0000 (09:29 +0300)]
Add tests for sparse compressed textures.

Extended compressed texture test to include sparse images used as
textures.

Affects:

dEQP-VK.texture.compressed.*

Components: Vulkan

VK-GL-CTS issue: 101

Change-Id: If317985fa8ff1c9a83040a77209c90172834968d

6 years agoRe-enable reflect and dot tests
Piotr Byszewski [Tue, 16 Jan 2018 12:42:07 +0000 (13:42 +0100)]
Re-enable reflect and dot tests

Restored dot and reflect precision tests.

Components: OpenGL

VK-GL-CTS issue: 292

Affects:
dEQP-GLES31.functional.shaders.builtin_functions.precision.reflect.*
dEQP-GLES31.functional.shaders.builtin_functions.precision.dot.*

Change-Id: If3acfadc2e41c8c39e2b5d2f065582bdbfdc2e7a

6 years agoSubgroup tests: Using framebuffer in tess geometry tests
Arkadiusz Sarwa [Fri, 15 Sep 2017 15:38:43 +0000 (17:38 +0200)]
Subgroup tests: Using framebuffer in tess geometry tests

Add tests:
dEQP-VK.subgroups.*_geometry_framebuffer
dEQP-VK.subgroups.*tess*_framebuffer

Affects:
dEQP-VK.subgroups.*_framebuffer

Components: Vulkan

VK-GL-CTS issue: 546

Change-Id: I8bcaeeee982610dd3612bfb6688527f92694ef32

6 years agoMerge "Work around VC++ code-gen bug in shader matrix tests." into deqp-dev
Treehugger Robot [Fri, 26 Jan 2018 23:30:16 +0000 (23:30 +0000)]
Merge "Work around VC++ code-gen bug in shader matrix tests." into deqp-dev

6 years agoMerge "Fix missing case for ANGLE_depth_texture" into deqp-dev
Treehugger Robot [Fri, 26 Jan 2018 23:29:52 +0000 (23:29 +0000)]
Merge "Fix missing case for ANGLE_depth_texture" into deqp-dev

6 years agoFix missing case for ANGLE_depth_texture
Jamie Madill [Fri, 26 Jan 2018 22:57:17 +0000 (17:57 -0500)]
Fix missing case for ANGLE_depth_texture

Happens when ANGLE_depth_texure is exposed and not OES_depth_texture.

Component: AOSP
Affects:
  dEQP-GLES2.functional.fbo.completeness.renderable.texture.stencil.depth_stencil_unsigned_int_24_8
  dEQP-GLES2.functional.fbo.completeness.renderable.texture.depth.depth_stencil_unsigned_int_24_8
  dEQP-GLES3.functional.fbo.completeness.renderable.texture.stencil.depth_stencil_unsigned_int_24_8
  dEQP-GLES3.functional.fbo.completeness.renderable.texture.depth.depth_stencil_unsigned_int_24_8

6 years agoWork around VC++ code-gen bug in shader matrix tests.
Jamie Madill [Fri, 26 Jan 2018 17:55:20 +0000 (12:55 -0500)]
Work around VC++ code-gen bug in shader matrix tests.

This code-gen bug was found in crbug.com/759402, and was causing test
runtime failures when run. Work around it by disabling optimization
for the specific compiler version.

Components: AOSP
Affects:
  dEQP-GLES2.functional.shaders.matrix.*
  dEQP-GLES3.functional.shaders.matrix.*

6 years agoMerge remote-tracking branch 'aosp/master' into deqp-dev
Chris Forbes [Fri, 26 Jan 2018 00:47:12 +0000 (16:47 -0800)]
Merge remote-tracking branch 'aosp/master' into deqp-dev

Change-Id: Ie7623be11190d678413fbe64da5d41d98e370b2c

6 years agoMerge "Tolerate flush/finish test assumption failures."
Treehugger Robot [Thu, 25 Jan 2018 23:26:38 +0000 (23:26 +0000)]
Merge "Tolerate flush/finish test assumption failures."

6 years agoTolerate flush/finish test assumption failures.
Nicolas Capens [Thu, 25 Jan 2018 16:58:26 +0000 (16:58 +0000)]
Tolerate flush/finish test assumption failures.

These tests assume that draw calls are queued up until they're forced
to be executed by a ReadPixels, Flush, or Finish call. The spec does
not require this, and implementations are free to eagerly start
execution of draw calls.

Thus this change reports a CompatibilityWarning if the assumption isn't
met, instead of a Failure.

Google bug: b/71858368
Components: AOSP
Tests: dEQP-GLES2.functional.flush_finish,
dEQP-GLES3.functional.flush_finish

6 years agoMerge "Test glRenderbufferStorage with unsized depth format"
Treehugger Robot [Wed, 24 Jan 2018 13:29:22 +0000 (13:29 +0000)]
Merge "Test glRenderbufferStorage with unsized depth format"

6 years agodEQP-VK.renderpass.sparserendertarget: bind metadata
Slawomir Cygan [Fri, 19 Jan 2018 13:20:47 +0000 (14:20 +0100)]
dEQP-VK.renderpass.sparserendertarget: bind metadata

Memory was not bound to METADATA aspect, when COLOR aspect
mip tail size was 0. METADATA requirements are not related
to mip tails in other aspects - memory must be always and
unconditionally bound to METADATA.

Additionally, change VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT
condition to layerNdx == 0, as imageMipTailMemoryBinds vector
is now used both for metadata and other mip tails.

Affects: dEQP-VK.renderpass.sparserendertarget.*

Components: Vulkan

VK-GL-CTS issue: 958

Change-Id: I34661c82e0d9829448ac85546055c72151bfe85e

6 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Wed, 24 Jan 2018 03:43:27 +0000 (04:43 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Id0f58204124476488f5483ddc349e1cd3df28347

6 years agoTest that points are clamped to ALIASED_POINT_SIZE_RANGE
Kai Ninomiya [Tue, 23 Jan 2018 23:28:27 +0000 (15:28 -0800)]
Test that points are clamped to ALIASED_POINT_SIZE_RANGE

This test verifies that the point size written to gl_PointSize is
clipped to the range ALIASED_POINT_SIZE_RANGE before rasterization.

See also: http://crbug.com/740560
In particular this comment: http://crbug.com/740560#c27

New tests: dEQP-GLES2.functional.rasterization.limits.points
Components: AOSP
Change-Id: I98708ebece4be9c2bce3c7ba3b57454aec657cce

6 years agoTest glRenderbufferStorage with unsized depth format
Nicolas Capens [Tue, 23 Jan 2018 23:16:39 +0000 (23:16 +0000)]
Test glRenderbufferStorage with unsized depth format

The OpenGL ES 2.0 specification only supports formats from Table 4.5,
which are all sized internal formats, while ES 3.0 explicitly states
that "<internalformat> must be a sized internal format".

A color format (GL_RGBA) was already being negatively tested for, but
not a depth format.

6 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 23 Jan 2018 09:37:17 +0000 (10:37 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I672101e40dc188bc694126af0bb1666b5adcd661

6 years agoMerge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Alexander Galazin [Tue, 23 Jan 2018 08:01:54 +0000 (09:01 +0100)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master

Change-Id: I39c67077ab1c9842ab43708f83335eba0d707890

6 years agoFix using representable texture channel ranges.
Nicolas Capens [Mon, 8 Jan 2018 21:49:05 +0000 (16:49 -0500)]
Fix using representable texture channel ranges.

A value of 4294967295 (2^32 - 1) is not exactly representable in
IEEE-754 single-precision floating-point format, and so it gets rounded
to the next representable value, which is 4294967296. However, this
value can't be cast to an unsigned 32-bit integer without overflowing.

GLSL does not define what happens on overflow, and IEEE-754 defines it
as an exception but GLSL forbids exceptions. Hence some implementations
may produce unexpected results. dEQP assumed clamping to the largest
representable integer.

This change fixes that false assumption by reducing the range to values
representable in both float and integer formats.

Note that 32-bit integer formats can still hold values slightly larger
than these ranges. So while previously the floating-point ranges were
too large to represent integer values, they are now too small. This
can't be fixed without separating the integer format tests and only
using integer values to represent their ranges. This doesn't appear
necessary for the time being since the tests that use these floating-
point ranges have large 12/256 tolerances for the output color.

VK-GL-CTS issue: 937
Google bug: 70910885
Component: Framework

Change-Id: Ia2e8a187772bf37ed6ad35b13ed6f5071c46fb43

6 years agoAdd SpirvValidationCapabilitiesTest test case implementation
Adam Czupryna [Fri, 24 Nov 2017 13:59:39 +0000 (14:59 +0100)]
Add SpirvValidationCapabilitiesTest test case implementation

Add CTS_ARB_gl_spirv test implementation that contains:
SpirvValidationCapabilitiesTest

Affects:

KHR-GL45.gl_spirv.spirv_validation_capabilities_test

Components: OpenGL

VK-GL-CTS issue: 554

Change-Id: I0ba93f0ea0dd5c8c9c1348033448fe5ada82b99b

6 years agoFreeze GL 4.6.0 mustpass, add 4.6.1 mustpass
Alexander Galazin [Tue, 23 Jan 2018 01:56:18 +0000 (02:56 +0100)]
Freeze GL 4.6.0 mustpass, add 4.6.1 mustpass

Change-Id: Iae3345620e1dc59437c4b2910fcd08f66cb9eab4

6 years agoFix illegal memory access for robustness test
Noah Fredriks [Mon, 15 Jan 2018 21:09:55 +0000 (16:09 -0500)]
Fix illegal memory access for robustness test

Don't subtract 3 from buffer pointer for VK_FORMAT_A2B10G10R10_UNORM_PACK32
alpha channel because this format is a deUint32 instead of Vec4.

Affects: dEQP-VK.robustness.vertex_access.a2b10g10r10_unorm_pack32.*

Components: Vulkan

VK-GL-CTS issue: 946

Change-Id: I2a5241191e01252ce071658b8dbd79d3e424aa41

6 years agoTest packed depth and stencil
Piotr Byszewski [Wed, 13 Dec 2017 09:48:54 +0000 (10:48 +0100)]
Test packed depth and stencil

GTFTestPackedDepthStencil tests were ported to glcts.
Packed format loop was extracted from tests.

Components: OpenGL

VK-GL-CTS issue: 815

Affects:
KHR-GLES3.packed_depth_stencil.*
KHR-GL*.packed_depth_stencil.*

Change-Id: Ia13d200909cfe097bfbafcb15d5482d30b4d8c5b

6 years agoEmit defined positions from tessellation shader in subgroups tests.
Slawomir Cygan [Fri, 29 Dec 2017 17:18:20 +0000 (18:18 +0100)]
Emit defined positions from tessellation shader in subgroups tests.

Use only defined components of gl_in[] in tessellation evaluation shader:
the tessellation control shader emits only one vertex in patch, so the value
of gl_in[1] is undefined. The code is changed to use only gl_in[0].

Additionally fix geometry shader input primitive topology, when tessellation
shaders are used: tessellation outputs isolines, so geometry input should
be lines, not points.

Affects: dEQP-VK.subgroups.*graphic

Components: Vulkan

VK-GL-CTS issue:  924

Change-Id: Id1984a387a32c50e0f86638bf3d6b0273a7633d8
(cherry picked from commit 36a60de573f65194c50271fc5b9d9a137fba0bb5)

6 years agoEmit defined positions from tessellation shader in subgroups tests.
Slawomir Cygan [Fri, 29 Dec 2017 17:18:20 +0000 (18:18 +0100)]
Emit defined positions from tessellation shader in subgroups tests.

Use only defined components of gl_in[] in tessellation evaluation shader:
the tessellation control shader emits only one vertex in patch, so the value
of gl_in[1] is undefined. The code is changed to use only gl_in[0].

Additionally fix geometry shader input primitive topology, when tessellation
shaders are used: tessellation outputs isolines, so geometry input should
be lines, not points.

Affects: dEQP-VK.subgroups.*graphic

Components: Vulkan

VK-GL-CTS issue:  924

Change-Id: Id1984a387a32c50e0f86638bf3d6b0273a7633d8

6 years agoCross-stage interface tests
Arkadiusz Sarwa [Fri, 3 Nov 2017 09:34:27 +0000 (10:34 +0100)]
Cross-stage interface tests

New tests:
dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.*

Components: Vulkan

VK-GL-CTS issue: 225

Change-Id: Ie8b67c6b2d6ece86052fdca45618b394b977019e

6 years agoAdded test for unused framebuffer attachment
Ari Suonpaa [Wed, 13 Dec 2017 13:45:09 +0000 (15:45 +0200)]
Added test for unused framebuffer attachment

Imported a validation layer test where an attachment reference
with VK_ATTACHMENT_UNUSED flag is used. A command buffer with
empty render pass is created. The test always passes, but it's
reported to crash on several different drivers.

Affects:

dEQP-VK.pipeline.framebuffer_attachment.unused_attachment

Components: Vulkan

VK-GL-CTS issue: 803

Change-Id: Ie43d061f48b98bc37227ae5d77e62b409fb35c34

6 years agoAdded tests for incompatible render pass
Ari Suonpaa [Wed, 20 Dec 2017 11:03:46 +0000 (13:03 +0200)]
Added tests for incompatible render pass

Added tests similar to VkLayerTest.RenderPassIncompatible
found in validation layer tests. Some shipping drivers
were crashing that test. The test doesn't check any results
and it passes as long as no crash happens.

Affects:

dEQP-VK.renderpass.incompatible.*

Components: Vulkan

VK-GL-CTS issue: 841

Change-Id: I0e163f9810e4fa77cf84cab3ff4bc928198b3c74

6 years agoTest discontiguous descriptor binding values
Paavo Pessi [Fri, 5 Jan 2018 13:57:10 +0000 (15:57 +0200)]
Test discontiguous descriptor binding values

New tests were added to test discontiguous and arbitrary descriptor
binding values with different descriptor types and shader stages.

New tests:
dEQP-VK.binding_model.shader_access.*.multiple_discontiguous_descriptors.*
dEQP-VK.binding_model.shader_access.*.multiple_arbitrary_descriptors.*

Components: Vulkan

VK-GL-CTS issue: 905
VK-GL-CTS public issue: 67

Change-Id: I00d1ec1e302a03e0f67ba967b6949578ec58c436

6 years agoAdd extra multiview tests
Boris Zanin [Wed, 29 Nov 2017 14:13:56 +0000 (15:13 +0100)]
Add extra multiview tests

Add extra multiview tests for:
 * indexed draw call
 * point size
 * multisample

Add tests
 * dEQP-VK.multiview.draw_indexed.*
 * dEQP-VK.multiview.draw_indirect_indexed.*
 * dEQP-VK.multiview.point_size.*
 * dEQP-VK.multiview.multisample.*

Updates tests
 * dEQP-VK.multiview.*

Components: Vulkan

VK-GL-CTS issue: 789

Change-Id: I1331d5dd6837ce0315fba6494f04ea283ba1a046

6 years agoAdd more component qualifier array tests for fragment outputs
Samuel Iglesias Gonsálvez [Fri, 1 Dec 2017 08:36:57 +0000 (09:36 +0100)]
Add more component qualifier array tests for fragment outputs

Tests were added to verify that various combinations of component
qualifiers can be used with different data arrays (float, vec2, vec3)
in fragment shader outputs.

New tests:

dEQP-VK.glsl.440.linkage.varying.component.frag_out.two_vec4.*

Components: Vulkan
VK-GL-CTS issue: 896

Change-Id: If3ed04b88f4a496dcdada9c50a45bbf7580df88e

6 years agogl_spirv: update ARB_gl_spirv availability check
Alejandro Piñeiro [Tue, 16 Jan 2018 14:43:49 +0000 (15:43 +0100)]
gl_spirv: update ARB_gl_spirv availability check

All tests were checking for the availability of the extension in
order to return NotSupported but one, so it returned Failed.

Additionally we complete the check, so now we are checking for
GL_ARB_gl_spirv or GL 4.6, as other tests already do.

As this is common for all the 8 tests, we add a utility helper at
gl4cts::commonUtils.

Modules: OpenGL

VK-GL-CTS issue: 947

Affects:
KHR-GL45.gl_spirv.spirv_modules_shader_binary_multiple_shader_objects_test
KHR-GL46.gl_spirv.spirv_modules_shader_binary_multiple_shader_objects_test

Change-Id: I8a3be211363d287696ee86f7d6f503794b63710f

6 years agoUse default device for sparse binding tests.
Ari Suonpaa [Wed, 13 Dec 2017 09:49:35 +0000 (11:49 +0200)]
Use default device for sparse binding tests.

The default device supports sparse binding when the underlying
physical device has support. There's no need to create a separate
device object. Test context creates a sparse queue whenever
sparse binding is supported by the physical device. This
change also adds support for having a separate sparse binding
queue.

Affects:

dEQP-VK.texture.shadow.*
dEQP-VK.renderpass.sparserendertarget.*

Components: Vulkan

VK-GL-CTS issue: 898

Change-Id: I2ca36d8e641fe3ef5694784e7bb3d8ebe6ed51bf

6 years agoMerge "Port WebGL multisampled renderbuffer resize test"
Treehugger Robot [Sat, 20 Jan 2018 03:01:01 +0000 (03:01 +0000)]
Merge "Port WebGL multisampled renderbuffer resize test"

6 years agoSuppress new warnings from gcc-6 am: 9a58d041fe
Chris Forbes [Sat, 20 Jan 2018 00:46:18 +0000 (00:46 +0000)]
Suppress new warnings from gcc-6 am: 9a58d041fe
am: fd34041ed0

Change-Id: I0b9eca4091dc271141027d68a6a46d58937e56ac

6 years agoSuppress new warnings from gcc-6
Chris Forbes [Sat, 20 Jan 2018 00:43:46 +0000 (00:43 +0000)]
Suppress new warnings from gcc-6
am: 9a58d041fe

Change-Id: I176dd24b363db336f4f42f8d8c2c5aebb2632dcb

6 years agoSuppress new warnings from gcc-6
Chris Forbes [Fri, 19 Jan 2018 18:06:53 +0000 (10:06 -0800)]
Suppress new warnings from gcc-6

check_build_sanity currently fails with the system gcc on rodete. Let's
just suppress this warning for now. Intend to back out the suppression
and fix the warnings in next release.

Bug: b/72219443
Test: build
Change-Id: Ic842a3de3d247d53c49117562b51e8eece3752f9

6 years agoFreeze vulkan-cts-1.1.1 mustpass, add vulkan-cts-1.1.2 mustpass
Alexander Galazin [Fri, 19 Jan 2018 11:09:56 +0000 (12:09 +0100)]
Freeze vulkan-cts-1.1.1 mustpass, add vulkan-cts-1.1.2 mustpass

Components: Vulkan

Change-Id: I0a2eaa9b8280965906f7a3adbeb7496317c90acf

6 years agoRemove 1.0.4 mustpass
Alexander Galazin [Fri, 19 Jan 2018 10:37:36 +0000 (11:37 +0100)]
Remove 1.0.4 mustpass

Components: Vulkan

Change-Id: I75fc3abc5019333c737f5ee4c1f0690931311ec0

6 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Fri, 19 Jan 2018 10:29:40 +0000 (11:29 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ifd7bec720796fbd7006b44107d5c76e1c0c5f3d4

6 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Fri, 19 Jan 2018 10:13:42 +0000 (11:13 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ia06040e7f84f8386c066321a4dae3551cc3a4ee6

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.3 into vk-gl-cts/master
Alexander Galazin [Fri, 19 Jan 2018 10:12:43 +0000 (11:12 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.3 into vk-gl-cts/master

Change-Id: I2de5195522bb42f25a2eb7181b366c8284ef7fec

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Fri, 19 Jan 2018 09:08:43 +0000 (10:08 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I8db9696a5f7b9bafdf20e76afc8d1d42b96cfe1c

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.0.3
Alexander Galazin [Fri, 19 Jan 2018 08:22:31 +0000 (09:22 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.0.3

Change-Id: Ie1eb632fc4601acfc34db84410e04e06cc2da243

6 years agoCheck GS support before testing adjacent primitives
Yanjun Zhang [Wed, 10 Jan 2018 00:12:47 +0000 (16:12 -0800)]
Check GS support before testing adjacent primitives

Affects: dEQP-VK.draw.basic_draw.draw.*

Components: Vulkan

VK-GL-CTS issue: 926

Change-Id: I02569b1944eed52f641966f9206d44983d1ff165

6 years agoFix buffer usage flags for index and indirect buffers
Chris Forbes [Wed, 10 Jan 2018 02:13:15 +0000 (18:13 -0800)]
Fix buffer usage flags for index and indirect buffers

Previously, createAndUploadBuffer would provide
VK_BUFFER_USAGE_VERTEX_BUFFER_BIT for all buffers. This is no good for
index buffers and indirect buffers.

VK-GL-CTS: 930

Change-Id: I774beef7c7226f4fbd5670591eb66475300ee208
Components: Vulkan
Affects: dEQP-VK.draw.instanced.*

6 years agoPort WebGL multisampled renderbuffer resize test
Kai Ninomiya [Tue, 9 Jan 2018 18:59:09 +0000 (10:59 -0800)]
Port WebGL multisampled renderbuffer resize test

Port a WebGL test for a driver bug affecting resizing/reallocation
of multisampled renderbuffers on Qualcomm drivers:
* conformance2/renderbuffers/multisampled-renderbuffer-initialization.html

New tests: dEQP-GLES3.functional.fbo.msaa.renderbuffer_resize.*
Components: AOSP
Change-Id: Ib4377eaf35c1d4b5f431cd433e06301003966d54

6 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 18 Jan 2018 18:08:45 +0000 (19:08 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I393180401a87496592f4b43ca217484b3b26f462

6 years agoFreeze 1.0.3 mustpass, add 1.0.4 mustpass
Alexander Galazin [Thu, 18 Jan 2018 17:17:45 +0000 (18:17 +0100)]
Freeze 1.0.3 mustpass, add 1.0.4 mustpass

Components: Vulkan

Change-Id: I163d9767ad526b4a0f040a24fd5f5af86f6ef7c5

6 years agoCreate vulkan-cts-1.1.1 mustpass
Alexander Galazin [Mon, 15 Jan 2018 12:40:19 +0000 (13:40 +0100)]
Create vulkan-cts-1.1.1 mustpass

Components: Vulkan

Change-Id: Ib7b5d3122043af4c15fa61c24f4534343766d0ce

6 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 18 Jan 2018 11:45:57 +0000 (12:45 +0100)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I8464376bd5521a932cda7757dda02bdad6c3d302

6 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 18 Jan 2018 11:07:31 +0000 (12:07 +0100)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I208568cce771d2cb51be811ca4bc9bf500b95f28

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Alexander Galazin [Thu, 18 Jan 2018 09:51:33 +0000 (10:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master

Change-Id: Ibf30bd51afce5e0e6363eb94ea2cd9293cbb35d9

6 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 18 Jan 2018 09:51:31 +0000 (10:51 +0100)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I79e2e20649232a7ebd78088981f06ade6c5e6323

6 years agoAdd VK_ACCESS_SHADER_READ_BIT barrier access bit
Piers Daniell [Fri, 5 Jan 2018 21:04:29 +0000 (14:04 -0700)]
Add VK_ACCESS_SHADER_READ_BIT barrier access bit

The dEQP-VK.query_pool.statistics_query.compute_shader_invocations.secondary*
tests were missing a VK_ACCESS_SHADER_READ_BIT bit in the
pipeline barrier between compute dispatch calls. Each dispatch
was doing a read-modify-write of the same SSBO locations, but
the test only used the VK_ACCESS_SHADER_WRITE_BIT access bit.
This may cause the compute shader to read stale cache data
since the dependency between each dispatch was not expressed
correctly.

This fix simple adds the missing VK_ACCESS_SHADER_READ_BIT
access bit.

Affects:
dEQP-VK.query_pool.statistics_query.compute_shader_invocations.secondary*

Components: Vulkan

VK-GL-CTS issue: 927

Change-Id: I946d6113c897a03116db7a93a182e27497adfe6f

6 years agoProperly iterate over pNext in VkSamplerCreateInfo
Alexander Galazin [Mon, 15 Jan 2018 13:18:51 +0000 (14:18 +0100)]
Properly iterate over pNext in VkSamplerCreateInfo

Iterate over all pNext elements in VkSamplerCreateInfo.
Skip VkSamplerYcbcrConversionInfoKHR, retrieve
reduction mode from VkSamplerReductionModeCreateInfoEXT

VK-GL-CTS issue: 945

Components: Vulkan

Affects:
dEQP-VK.ycbcr.*
dEQP-VK.api.info.format_properties.*
dEQP-VK.pipeline.sampler.view_type.*.format.(any color format).min_reduce.*
dEQP-VK.pipeline.sampler.view_type.*.format.(any color format).mag_reduce.*
dEQP-VK.pipeline.sampler.view_type.*.format.(any depth format)

Change-Id: Iaba8678f2fa13b5545cec7f903f21aa01c5c13f3

6 years agoFix: Validation errors dEQP-VK.synchronization.op.multi_queue
Arkadiusz Sarwa [Wed, 20 Dec 2017 16:09:03 +0000 (17:09 +0100)]
Fix: Validation errors dEQP-VK.synchronization.op.multi_queue

Affects:
dEQP-VK.synchronization.op.multi_queue*

Components: Vulkan

VK-GL-CTS issue: 220

Change-Id: Iba71d1d3e9e8ce0e0698b71af44bdcc3b8ae502c

6 years agoFix: Validation errors in dEQP-VK.api.image_clear*
Arkadiusz Sarwa [Thu, 21 Dec 2017 11:13:17 +0000 (12:13 +0100)]
Fix: Validation errors in dEQP-VK.api.image_clear*

Affects:
dEQP-VK.api.image_clearing*

Components: Vulkan

VK-GL-CTS issue: 209

Change-Id: Ib66683d75360d023497f7cd5387eeca7342e36b6

6 years agoSet maxDescriptorSet* limit table based on shader stages
Yanjun Zhang [Thu, 11 Jan 2018 19:44:54 +0000 (11:44 -0800)]
Set maxDescriptorSet* limit table based on shader stages

Re-submit the patch based on WG review and feedback.

Affects: dEQP-VK.api.info.device.properties

Components: Vulkan

VK-GL-CTS issue: 923

Change-Id: Ie627b52cfae099d87f5b6183118d42bcccd313ca

6 years agoMerge remote-tracking branch 'origin/master' into deqp-dev
Chris Forbes [Thu, 18 Jan 2018 00:39:44 +0000 (16:39 -0800)]
Merge remote-tracking branch 'origin/master' into deqp-dev

Change-Id: Ia7d3290f1dbdc712d836c29f56a61f262bf79bdd