platform/upstream/VK-GL-CTS.git
5 years agoFP16 precision tests VK_KHR_shader_float16_int8
Alexander Galazin [Wed, 19 Jul 2017 08:57:20 +0000 (10:57 +0200)]
FP16 precision tests VK_KHR_shader_float16_int8

Add tests:
 * dEQP-VK.glsl.builtin.precision_fp16*
 * dEQP-VK.glsl.builtin.precision*.comparison.*

Components: Vulkan, Framework

VK-GL-CTS issues: 1094

Change-Id: Iff0d1c4c144231128e5cd80bc7f72ef162ec22fa

5 years agoSPIR-V tests for VK_KHR_shader_float16_int8
Boris Zanin [Fri, 13 Apr 2018 12:38:19 +0000 (14:38 +0200)]
SPIR-V tests for VK_KHR_shader_float16_int8

Add tests:
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.function*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.logical.*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.opconstant.*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.derivative*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.opvectorextractdynamic*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.opvectorinsertdynamic*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.opvectorshuffle*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.opcompositeconstruct*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.opcompositeextract*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.opcompositeinsert*
 * dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic*
 * dEQP-VK.spirv_assembly.instruction.graphics.opspecconstantop.fconvert16_*
 * dEQP-VK.spirv_assembly.instruction.graphics.opphi.swap16_*
 * dEQP-VK.spirv_assembly.instruction.graphics.fconvert.*float16*
 * dEQP-VK.spirv_assembly.instruction.graphics.convert*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.function*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.logical.*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.opconstantcomposite.*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.opvectorextractdynamic*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.opvectorinsertdynamic*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.opvectorshuffle*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.opcompositeconstruct*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.opcompositeextract*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.opcompositeinsert*
 * dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic*
 * dEQP-VK.spirv_assembly.instruction.compute.opspecconstantop.fconvert16
 * dEQP-VK.spirv_assembly.instruction.compute.opphi.vartype_float16
 * dEQP-VK.spirv_assembly.instruction.compute.fconvert.*float16*
 * dEQP-VK.spirv_assembly.instruction.compute.convert*

Affects tests:
 * dEQP-VK.spirv_assembly.instruction.*

Components: Vulkan

VK-GL-CTS issue: 1095

Change-Id: If6112d42a9b84eaff50e559f0a4b438372815ae7

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 13 Sep 2018 08:04:33 +0000 (10:04 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I9565c536bf58b01d904618892150597563123878

5 years agoMerge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Alexander Galazin [Thu, 13 Sep 2018 06:58:24 +0000 (08:58 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master

Change-Id: I1b7e9240617966ce68a7d25e35efa9c9b9def3c4

5 years agoFix malformed assets, use DE_FATAL
Slawomir Cygan [Thu, 6 Sep 2018 13:59:00 +0000 (15:59 +0200)]
Fix malformed assets, use DE_FATAL

Convert all malformed asserts like DE_ASSERT("...") to DE_FATAL.

Components: OpenGL, OpenGL ES, Vulkan

VK-GL-CTS Issue: 1294

Change-Id: I64631287e5005ef24dfcadef59baa5cc9aa45d74

5 years agoNotice of withdrawal of Vulkan CTS 1.0.2.x
Alexander Galazin [Mon, 10 Sep 2018 16:15:17 +0000 (18:15 +0200)]
Notice of withdrawal of Vulkan CTS 1.0.2.x

Components: Vulkan

Change-Id: If96d48b996577c5fec31474e3eaf7e665a390562

5 years agoAdd convert tests for 8-bit integers
Boris Zanin [Tue, 17 Jul 2018 13:51:07 +0000 (15:51 +0200)]
Add convert tests for 8-bit integers

Add tests:
 * dEQP-VK.spirv_assembly.instruction.*.sconvert*int8*
 * dEQP-VK.spirv_assembly.instruction.*.uconvert*uint8*
 * dEQP-VK.spirv_assembly.instruction.*.convertstof*int8*
 * dEQP-VK.spirv_assembly.instruction.*.convertftos*uint8*
 * dEQP-VK.spirv_assembly.instruction.*.convertutof*int8*
 * dEQP-VK.spirv_assembly.instruction.*.convertftou*uint8*

Affect tests:
 * dEQP-VK.spirv_assembly.instruction.*convert*

Components: Vulkan

VK-GL-CTS issues: 1095

Change-Id: I4f125634d993795029feee34a1818cdacc000517

5 years agoMerge "Merge remote-tracking branch 'aosp/master' into deqp-dev" into deqp-dev
Treehugger Robot [Wed, 12 Sep 2018 22:45:15 +0000 (22:45 +0000)]
Merge "Merge remote-tracking branch 'aosp/master' into deqp-dev" into deqp-dev

5 years agoMerge "Merge remote-tracking branch 'aosp/master' into deqp-dev" into deqp-dev
Treehugger Robot [Wed, 12 Sep 2018 22:45:13 +0000 (22:45 +0000)]
Merge "Merge remote-tracking branch 'aosp/master' into deqp-dev" into deqp-dev

5 years agoMerge remote-tracking branch 'aosp/master' into deqp-dev
Chris Forbes [Wed, 12 Sep 2018 22:39:15 +0000 (15:39 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev

Change-Id: I58ed596f2ae5d18eefe80dc907b644b8d0ead4ee

5 years agoMerge remote-tracking branch 'aosp/master' into deqp-dev
Chris Forbes [Wed, 12 Sep 2018 22:35:24 +0000 (15:35 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev

Change-Id: Idabececfc10c43011d1ff566a8cc9776039ab6b7

5 years agoMerge remote-tracking branch 'khronos/master' into deqp-dev
Chris Forbes [Wed, 12 Sep 2018 21:39:13 +0000 (14:39 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev

Change-Id: Ide0cc071921295090980b85e5807ba31791d4bab

5 years agoRemove dependency on IStrictShardableTest
Julien Desprez [Wed, 12 Sep 2018 15:26:40 +0000 (08:26 -0700)]
Remove dependency on IStrictShardableTest

Interface is not used anymore.

Test: make cts, run cts-unit-tests
Bug: 112426228
Change-Id: I95ac293a4b8a585fe7bf8adea3d55c1faf6548e1

5 years agoUpdate glslang
Alexander Galazin [Tue, 11 Sep 2018 06:57:18 +0000 (08:57 +0200)]
Update glslang

Components: Framework

Affects: dEQP-VK.*

VK-GL-CTS issue: 1339

Change-Id: I2abe3fe9ea500dde804251ff0962a3e99a7b2018

5 years ago[automerger skipped] [RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulka...
Chris Forbes [Mon, 10 Sep 2018 22:31:15 +0000 (15:31 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev am: df6a2ffc6e  -s ours
am: 4eb31660f7  -s ours

Change-Id: Id4582490a4045249c6c2818ac51548d047460011

5 years ago[automerger skipped] [RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulka...
Chris Forbes [Mon, 10 Sep 2018 22:26:16 +0000 (15:26 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev
am: df6a2ffc6e  -s ours

Change-Id: I5a7f593b5301a76a4e4a1d89c9d06a2a08a4fe50

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 10 Sep 2018 10:13:33 +0000 (12:13 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: If0c0def1085a05587011dda7c9b7f448638cfde5

5 years agoMerge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Alexander Galazin [Mon, 10 Sep 2018 10:13:32 +0000 (12:13 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master

Change-Id: I10f5b76f1c39f764580eafcee4fc1f9e73113727

5 years agoAdd Flat decorations to integer fragment shader inputs
Slawomir Cygan [Fri, 31 Aug 2018 14:46:45 +0000 (16:46 +0200)]
Add Flat decorations to integer fragment shader inputs

According to spec fragment shader inputs that are signed
or unsigned integers must be decorated with Flat.

Components: Vulkan

VK-GL-CTS Issue: 1335

Affects: dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_int_16_to_16x2.*

Change-Id: I5aa4f5bf9623549af4fb74647f956b9cbf4e3751

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 10 Sep 2018 08:35:38 +0000 (10:35 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ifce84bc2e772e60ba1b3905bf3d5251cd2462833

5 years agoAdded test to check memory requirement invariance
Jari Komppa [Fri, 25 May 2018 13:26:26 +0000 (16:26 +0300)]
Added test to check memory requirement invariance

Added a test that allocates random buffers and images, first in order
one by one, and then shuffled, verifying that the required memory
sizes match between these runs.

Image sizes, formats, allocation types and heap type requirements are
randomized.

The test depends on the supported image formats and available heap
types, so it is subtly different depending on the features the
driver supports. The goal for this test is to check for memory
requirement invariance, and thus it differs with the exact features
that are supported. The used features are printed in the log
for reference.

New tests:

dEQP-VK.api.invariance.random

Components: Vulkan

VK-GL-CTS issue: 1171

Change-Id: If869a72f6552174171d1f9bcce51e424ad8e8572

5 years agoFix: rendering complete times not monotonic
Jiayuan Ren [Tue, 14 Aug 2018 19:09:01 +0000 (12:09 -0700)]
Fix: rendering complete times not monotonic

We run into an intermittent issue that two neighboring
frames have the same rendering complete timestamp.

The timers will always have finite granularity.
The timestamp is in nanosecond but the timer producing
these timestamps might not actually be able to produce
timestamps at 1ns resolution. When the timer used for
these events has not enough granularity, events that
happen very quickly right after one another will appear
as if they appear at the same point in time.

Two neighboring frames have the same timestamp is allowed.

Components: AOSP

VK-GL-CTS issue: 1311
Bug: b/112778381

Affects:
dEQP-EGL.functional.get_frame_timestamps.*

(cherry picked from commit 59b6ba9bb2b8a280a30e931fb9b69f492650d14d)

Change-Id: I10c9f7d50d079fcad000baee028a97fea5b69c3c

5 years agoCorrect test group name ending in "_"
Slawomir Cygan [Thu, 27 Jul 2017 14:16:37 +0000 (16:16 +0200)]
Correct test group name ending in "_"

Components: Vulkan

Affects:
dEQP-VK.pipeline.multisample_interpolation.sample_interpolate_at_single_sample*

VK-GL-CTS issue: 1337

Change-Id: Id4b2bd4184c87bd35d88c2632ce31e5f7b31bfbb

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master
Alexander Galazin [Thu, 6 Sep 2018 16:54:39 +0000 (18:54 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master

Change-Id: Ic536adcefd24b9624863ce2894391238f4b4fb34

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Alexander Galazin [Thu, 6 Sep 2018 16:35:42 +0000 (18:35 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2

Change-Id: If13d31edfaa41aab48bbca57024722276b86a511

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Alexander Galazin [Thu, 6 Sep 2018 16:18:10 +0000 (18:18 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1

Change-Id: I717b207ec5642fb2f5a7deb9a91e52da7b3c862f

5 years agoMerge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0
Alexander Galazin [Thu, 6 Sep 2018 15:48:31 +0000 (17:48 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/vulkan-cts-1.1.0

Change-Id: I5a095ab6fddfaa9ce687f8627b58ec12176ba660

5 years agoHandle denorm flush to negative zero in unpackhalf2x16 tests.
Jeff Bolz [Fri, 31 Aug 2018 02:42:54 +0000 (21:42 -0500)]
Handle denorm flush to negative zero in unpackhalf2x16 tests.

Whether input fp16 values are flushed to zero is implementation
dependent. However, negative denorm values can be flushed to negative
zero and the logic did not handle that case.

Affects: dEQP-VK.glsl.builtin.function.pack_unpack.unpackhalf2x16*
Component: Vulkan
VK-GL-CTS issue: 1341

Change-Id: I2cd4a68cb5e498cd714a7e55b27ae4bc05ccde2d

5 years agoFixes tessellation triangle check
Matthew Netsch [Fri, 13 Jul 2018 15:10:54 +0000 (11:10 -0400)]
Fixes tessellation triangle check

Tessellators may produce inner vertices positioned
on the edge of a primitive when used with fractional
odd spacing and the inner tessellation level is one.

Point mode doesn't factor into this rule

Components: Vulkan
VK-GL-CTS Issue: 1273

Affects:
dEQP-VK.tessellation.primitive_discard.*

Change-Id: Ida8c75d4275403eaae8b52fe55f3ed9e61dd2d6e

5 years agoFix result checking in multisample resolve tests
Toni Merilehti [Thu, 16 Aug 2018 11:54:02 +0000 (14:54 +0300)]
Fix result checking in multisample resolve tests

Test cases now return the correct test status based on the average
resolved values in attachments. Verifying the result also adjusts
the threshold values depending on the format component sizes and
converts the non-linear sRGB format values to linear before verifying
the result.

Affects:

dEQP-VK.renderpass.*.multisample_resolve.*

Components: Vulkan

VK-GL-CTS Issue 1306

Change-Id: I1ced03a1839221d5a76292d582155825c507923d

5 years agoReduces percentage of heap used in memory tests
Matthew Netsch [Wed, 5 Sep 2018 18:36:31 +0000 (14:36 -0400)]
Reduces percentage of heap used in memory tests

Heaps can be shared and even fragmented on real systems.
The current percentage of 50% is a little high to reasonably
account for these issues.

Components: Vulkan
VK-GL-CTS issue: 1342

Affects:
dEQP-VK.memory.device_group_allocation.random*

Change-Id: I9a9c7fff05a663facd142a61a505c38925912ed8

5 years agoMerge "Suppress -Wimplicit-fallthrough."
Treehugger Robot [Wed, 5 Sep 2018 07:49:47 +0000 (07:49 +0000)]
Merge "Suppress -Wimplicit-fallthrough."

5 years agoSimultaneous depth+stencil components blit test
Piotr Byszewski [Thu, 16 Aug 2018 06:43:03 +0000 (08:43 +0200)]
Simultaneous depth+stencil components blit test

Previously blit_image tests for depth and stencil components
were done separately - in one tests half of regions had depth
bit set and the other half stencil bit. This change modifies
those tests by adding additional blit regions that have both
DS bits set.

Components: Vulkan

VK-GL-CTS issue: 1303

Affects:
dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.depth_stencil.*

Change-Id: I38dec5c7e32678437126fb32ecf02c7329618094

5 years agoEnsure there's no KHX extensions
Piotr Byszewski [Thu, 23 Aug 2018 13:24:13 +0000 (15:24 +0200)]
Ensure there's no KHX extensions

This change adds test that verifies if implementations don't
expose KHX extensions for neither instance nor device.

Components: Vulkan

VK-GL-CTS issue: 1258

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

Change-Id: Ib8020cadbe1714d9854d3a18969a6850ebd56f08

5 years agoCheck the bits of channel when calling glCopyTexImage2D
Yabin Zheng [Mon, 13 Aug 2018 09:25:29 +0000 (17:25 +0800)]
Check the bits of channel when calling glCopyTexImage2D

This test copies some data from render target to a texture by
glCopyTexImage2D command. According to the GLES3.2 spec, "An
INVALID_OPERATION error is generated if the component sizes of
internalformat do not exactly match the corresponding component sizes of
the source buffer's effective internal format." when executing the
glCopyTexImage2D command.

Because GLES3.2 spec does not force GL_RGB10 to be a renderable format,
so in a test case, if GL_RGB10 isn't renderable, then the render target
format will be GL_RGBA8, but the texture format is GL_RGB10. So this
behavior conflicts with the spec.

I think we can check the status whether the component sizes of format
will match before calling glCopyTexImage2D.

If the GL_RGB10 is renderable by some companies, then it will call the
gl.copyTexImage2D command directly(skip the checking logical because of
completed FBO). If GL_RGB10 isn't renderable by other companies, then it
will check the corresponding component sizes of buffer between source
and dest(because of incompleted FBO).

Components: OpenGL

VK-GL-CTS issue: 1307

Affects: KHR-GLES2.core.internalformat.copy_tex_image.*

Change-Id: I91e6b6674506f2709f97796a541e203bd052030b

5 years agoMerge changes from topic "p-renderpass2" into pie-cts-dev
John Anthony [Tue, 4 Sep 2018 23:53:46 +0000 (16:53 -0700)]
Merge changes from topic "p-renderpass2" into pie-cts-dev
am: 79749eabc6

Change-Id: I0ddba5851971235127ae29b7047ef095ee6b2b16

5 years agoMerge changes from topic "p-renderpass2" into pie-cts-dev
Treehugger Robot [Tue, 4 Sep 2018 23:23:18 +0000 (23:23 +0000)]
Merge changes from topic "p-renderpass2" into pie-cts-dev

* changes:
  Incorrect enum values for VK_KHR_create_renderpass2
  Allowed device extensions list is missing entry
  Tests for VK_KHR_create_renderpass2

5 years agoSuppress -Wimplicit-fallthrough.
Chih-Hung Hsieh [Tue, 4 Sep 2018 23:14:20 +0000 (16:14 -0700)]
Suppress -Wimplicit-fallthrough.

-Wimplicit-fallthrough will be enabled globally.

Test: build with global -Wimplicit-fallthrough.
Change-Id: I0f1dea676f1cf551339036767f141aa5717cea3e

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Alexander Galazin [Fri, 31 Aug 2018 09:16:21 +0000 (12:16 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2

Change-Id: I5a798ad268b27984038160cf645fc162260b069b

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Alexander Galazin [Fri, 31 Aug 2018 07:52:20 +0000 (10:52 +0300)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1

Change-Id: I7e0e51ad6bbdebe2c0067cedbb8e0d3bca177fad

5 years agoFix subpixel precision for line geometry generation
Petros Bantolas [Wed, 18 Jul 2018 10:19:04 +0000 (11:19 +0100)]
Fix subpixel precision for line geometry generation

Line geometry generation for rasterization tests wasn't taking the HW
subPixelPrecisionBits limit into account. Modified the triangle creation
routines to round those coordinates down to the driver provided
precision.

Affects:

dEQP-VK.rasterization.*line*
dEQP-GLES*.functional.rasterization.*line*

Components: Framework

VK-GL-CTS issue: 1274

Change-Id: I54af2f9606372bead2a8c7238588374101f80e55

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 30 Aug 2018 13:23:45 +0000 (15:23 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I67d89cc065807feb39546627585308bb0971ef40

5 years agoMerge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Alexander Galazin [Thu, 30 Aug 2018 12:35:21 +0000 (14:35 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master

Change-Id: I692ba691f3fb23aa09a722d12f9cc9158d561457

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 30 Aug 2018 11:51:17 +0000 (13:51 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: If1364c4c47fb23716fee1c7f7a28ba10dec350be

5 years agoMerge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Alexander Galazin [Thu, 30 Aug 2018 11:51:15 +0000 (13:51 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master

Change-Id: I0b5a54a89154a5877a22244870d39149bf05b28b

5 years agoMerge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Alexander Galazin [Thu, 30 Aug 2018 11:51:13 +0000 (13:51 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master

Change-Id: Ia9cfc9fa2550d981cfa3e3317253123ed061f47e

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Thu, 30 Aug 2018 08:05:00 +0000 (10:05 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ic9120d9ae0925da53ba26e49f22412c8601641b1

5 years agoFix invalid combinations for texture/copy on ES2 driver
Jim Hauxwell [Tue, 28 Aug 2018 16:33:48 +0000 (17:33 +0100)]
Fix invalid combinations for texture/copy on ES2 driver

OES_packed_depth_stencil describes the valid combinations available.
Texturing is only valid from it when OES_depth_texture is also present.
ES3 added depth texturing, but used different tokens than the initial
extension.

Affects:

KHR-GLES2.core.internalformat.texture2d.
  depth_stencil_unsigned_int_24_8_depth24_stencil8
KHR-GLES*.core.internalformat.texture2d.
  depth_stencil_unsigned_int_24_8_depth_stencil

Components: OpenGL
VK-GL-CTS issue: 1261

Change-Id: I91262c2c7eb71c9d3ff1eb59931227132b1828f9

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master
Alexander Galazin [Thu, 30 Aug 2018 07:18:37 +0000 (09:18 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master

Change-Id: I4c2cee91e239dd2b76c2e3a11148aa51d966f7ed

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Alexander Galazin [Thu, 30 Aug 2018 07:18:34 +0000 (09:18 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2

Change-Id: If4c00f790e935ce2a38709a99745acff6d1ef5f8

5 years agoAdd wide color tests for RGB888 surfaces.
Krzysztof Kosiński [Fri, 22 Jun 2018 18:01:17 +0000 (11:01 -0700)]
Add wide color tests for RGB888 surfaces.

This also removes some duplication in the test creation function.

Change-Id: If0541906e510b3c2191a3e9ca8be3eb2529a0475
Components: EGL
Affects: dEQP-EGL.functional.wide_color

5 years agoModify the negative test related to glShaderBinary
Yabin Zheng [Tue, 28 Aug 2018 09:09:24 +0000 (17:09 +0800)]
Modify the negative test related to glShaderBinary

Input 0 to binary parameter of glShaderBinary will lead to GL_INVALID_VALUE
accoridng to the GLES3.2 spec "An INVALID_VALUE error is generated if the
data pointed to by binary does not match the specified binaryformat."

The spec doesn't point out the order when we input more than one invalid
parameters. Add more conditions when checking the returned error messages.

Components: OpenGL

Affects: dEQP-GLES2.functional.negative_api.shader.shader_binary

VK-GL-CTS issue: 1331

Change-Id: I4c29a88175acf78f7a90262914890b9a53dbd3b5

5 years agoFree framebuffer objects after use.
James Helferty [Tue, 14 Aug 2018 20:56:59 +0000 (16:56 -0400)]
Free framebuffer objects after use.

Avoid leaking framebuffer objects in verifyLookupTextureData methods.

Affects:

KHR-GL4*.sparse_texture_clamp_tests.SparseTextureClampLookupColor
KHR-GL4*.sparse_texture_clamp_tests.SparseTextureClampLookupResidency

Components: OpenGL

VK-GL-CTS issue: 1312

Change-Id: I12aedd34fa80dbd9061ac174ce622a976019396d

5 years agoFixes memory allocation tests
Matthew Netsch [Tue, 28 Aug 2018 18:44:45 +0000 (14:44 -0400)]
Fixes memory allocation tests

Queries the platform specific alignment restrictions
with a temp buffer instead of estimating.

Components: Vulkan
VK-GL-CTS issue: 1259

Affects:
dEQP-VK.memory.allocation.basic.size_*

Change-Id: I272026f9e29b5606b8a4265ef0034752ac43a71a

5 years agoIncorrect enum values for VK_KHR_create_renderpass2
John Anthony [Thu, 23 Aug 2018 14:11:13 +0000 (16:11 +0200)]
Incorrect enum values for VK_KHR_create_renderpass2

Some VkStructureType enum values added for VK_KHR_create_renderpass2 are
not in accordance with current Vulkan headers and the Vulkan
specification.

Components: Vulkan

VK-GL-CTS issue: 1321

Affects: dEQP-VK.*renderpass2.*

Change-Id: I51031d538bc427e56bbf56f603f200b513834d67

5 years agoIncorrect enum values for VK_KHR_create_renderpass2
John Anthony [Thu, 23 Aug 2018 14:11:13 +0000 (16:11 +0200)]
Incorrect enum values for VK_KHR_create_renderpass2

Some VkStructureType enum values added for VK_KHR_create_renderpass2 are
not in accordance with current Vulkan headers and the Vulkan
specification.

Components: Vulkan

VK-GL-CTS issue: 1321

Affects: dEQP-VK.*renderpass2.*
Bug: b/112923550

Change-Id: I51031d538bc427e56bbf56f603f200b513834d67
(cherry picked from Khronos commit c83b0de6829ff1e4beb451d52549e40377c27a34)

5 years agoAdd float <--> int conversion tests
Ilkka Saarelainen [Fri, 10 Aug 2018 11:39:07 +0000 (14:39 +0300)]
Add float <--> int conversion tests

Added compute and graphics tests for OpConvertSToF, OpConvertFToS,
OpConvertUToF and OpConvertFToU instructions.

New tests:

dEQP-VK.spirv_assembly.instruction.compute.convert*
dEQP-VK.spirv_assembly.instruction.graphics.convert*

Components: Vulkan

VK-GL-CTS issue: 1079

Change-Id: Ia9a293a71e563a379a94f237afa8ee15bda2e01b

5 years agoGL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage tests
Jeff Bolz [Fri, 18 May 2018 01:32:31 +0000 (20:32 -0500)]
GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage tests

Components: Vulkan

Affects:
dEQP-VK.ubo.*
dEQP-VK.ssbo.*

Change-Id: Ic68f4e16ff96b2bbb161f2b37e7b4c83094e4009

5 years agoAdded test set for unnormalized coord samplers
Jari Komppa [Fri, 20 Jul 2018 12:56:09 +0000 (15:56 +0300)]
Added test set for unnormalized coord samplers

The conformance suite did not have any dedicated tests for samplers with
unnormalized coordinates.

New tests:

dEQP-VK.texture.filtering.unnormal.*

Components: Vulkan

VK-GL-CTS issue: 1157
Google bug: 73500860

Change-Id: I290862ee2816e5fb54a1eb0987b74fd49995d39e

5 years agoAdd operation tests for 8-bit integers
Boris Zanin [Mon, 9 Jul 2018 07:49:53 +0000 (09:49 +0200)]
Add operation tests for 8-bit integers

New tests:
 * dEQP-VK.spirv_assembly.type.*.i8.*
 * dEQP-VK.spirv_assembly.type.*.u8.*

Affects tests:
 * dEQP-VK.spirv_assembly.type.*

VK-GL-CTS issue: 1095

Change-Id: If94bcce6a1fff6d424c49ce3bd0b374f826ff9cb
Components: Vulkan

5 years agoAdd VK_KHR_shader_float16_int8 definitions
Boris Zanin [Mon, 14 May 2018 11:58:25 +0000 (13:58 +0200)]
Add VK_KHR_shader_float16_int8 definitions

Add VK_KHR_shader_float16_int8 definitions and update framework
appropriately.

Add core features check functionality.

Components: Vulkan, Framework

VK-GL-CTS issues: 1094, 1095

Change-Id: Ia6a7960bc802fd8903e89310e7f1b5afe49d8fdb

5 years agoAdd tests for VK_EXT_vertex_attribute_divisor
Jason Ekstrand [Tue, 3 Jul 2018 15:07:48 +0000 (08:07 -0700)]
Add tests for VK_EXT_vertex_attribute_divisor

New tests:
dEQP-VK.draw.instanced.*_attrib_divisor_*

Components: Vulkan

VK-GL-CTS issue: 1290

Change-Id: Idc6d247f47b18c783c24e30b91169fb9daf64bb3

5 years agoAdd secondary command buffers to pipeline barrier tests
Slawomir Cygan [Tue, 31 Jul 2018 13:33:43 +0000 (15:33 +0200)]
Add secondary command buffers to pipeline barrier tests

This adds secondary command buffers with transfer and
barrier operations to pipeline barriers tests.

Inside render pass command buffers are not added.

Components: Vulkan

VK-GL-CTS Issue: 1292

Affects:
dEQP-VK.memory.pipeline_barrier.*

Change-Id: I0e4b3fab2afd8d85743edf4bd6855d5ef877519a

5 years agoCreate Compute test for OpCompositeExtract
Hernan Liatis [Fri, 6 Apr 2018 22:32:01 +0000 (15:32 -0700)]
Create Compute test for OpCompositeExtract

This test makes sure that OpCompositeExtract can be used on a struct
value inside a function.

New tests:
dEQP-VK.spirv_assembly.instruction.compute.opcompositeextract.*

Component: Vulkan

VK_GL_CTS issue: 1112

Change-Id: I6b071baaddd2b60310a23294547b7571cff960ce

5 years agoExtend deviceProperties2 test
Piotr Byszewski [Fri, 17 Aug 2018 14:47:47 +0000 (16:47 +0200)]
Extend deviceProperties2 test

With this change few device ID properties are also tested under
Vulkan 1.0 if the appropriate device extensions is present.
Test will also fail when the extensions are exposed but the
structs are left uninitialised.

Components: Vulkan

VK-GL-CTS issue: 1058

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

Change-Id: I508a4025579372b394acc0da73295e3881efcc5b

5 years agoSet dest path for spirv binaries produced by check_build_sanity
Chris Forbes [Tue, 28 Aug 2018 21:59:48 +0000 (14:59 -0700)]
Set dest path for spirv binaries produced by check_build_sanity

This eliminates some contamination between the sanity script and
various Android build flavors

Change-Id: I9a97f616f8f266793d5e54dd3e2752c7f152dc71
Component: Framework
VK-GL-CTS: 1330

5 years agoscripts: Do code generation earlier
Chris Forbes [Tue, 28 Aug 2018 18:52:08 +0000 (11:52 -0700)]
scripts: Do code generation earlier

The actual builds are likely to fail if the framework code generation
steps were going to do anything.

Components: Framework
VK-GL-CTS Issue: 1328

Change-Id: I7ac96fb11520e028b0611e703925378a75dabd07

5 years agoImprove wsi.incremental_present.* for low memory
Aaron Bartholomew [Mon, 20 Aug 2018 19:28:42 +0000 (12:28 -0700)]
Improve wsi.incremental_present.* for low memory

This patch modifies the VK.wsi.incremental_present.* tests to alleviate
issues with memory use on memory constrained platforms

The issue is that the scale_down group in particular creates very large
swapchains & that the presentation engine may keep one or moreof the
swapchain images allocated until it is able to release them. Which means
that since this test does the following:

create swapchain, render some frames, destroy the swapchain, repeat

the high watermark for memory consumed by swapchain images will be higher
than the amount consumed by the single largest swapchain created.

This patch addresses these issues in two ways:
1) Reducing the size of the swapchain images allocated for scale down
tests to use the next power of two of the window size, instead of the
max extents reported by Vulkan

Max extents are already tested in other deqp tests &amp; it&apos;s redundant
to do evaluate it again here; this change will make the test more
on functionality

2) Creates/Renders/Destroys a small dummy swapchain between each test
iteration in order to flush the memory held by the presentation
engine

Affects:
dEQP-VK.wsi.*.incremental_present.*

Components: Vulkan

VK-GL-CTS issue: 1179

Change-Id: Ib7e1a5d9110e7dabc0d0ced21b643389c2bf0328
(cherry picked from commit a3ba2368fda1ecf8cc3d5c3136b5674a3414f472)

5 years agoAdd random descriptor set tests, and test VK_EXT_inline_uniform_block
Jeff Bolz [Thu, 12 Jul 2018 19:51:24 +0000 (14:51 -0500)]
Add random descriptor set tests, and test VK_EXT_inline_uniform_block

These tests generate random descriptor set layouts, where each descriptor
set has a random number of bindings, each binding has a random array size
and random descriptor type.

Components: Vulkan

New Tests: dEQP-VK.binding_model.descriptorset_random.*

Change-Id: I3ddfc82898ed970366ee8be4254e50e39a186c58

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Tue, 28 Aug 2018 09:16:09 +0000 (11:16 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I849960e5e0145eb7403dc840bb4e25346ed67947

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master
Alexander Galazin [Tue, 28 Aug 2018 09:16:08 +0000 (11:16 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master

Change-Id: Id5fde48915685d08e6a3201cc3d91eb87f68d208

5 years agoImprove wsi.incremental_present.* for low memory
Aaron Bartholomew [Mon, 20 Aug 2018 19:28:42 +0000 (12:28 -0700)]
Improve wsi.incremental_present.* for low memory

This patch modifies the VK.wsi.incremental_present.* tests to alleviate
issues with memory use on memory constrained platforms

The issue is that the scale_down group in particular creates very large
swapchains & that the presentation engine may keep one or moreof the
swapchain images allocated until it is able to release them. Which means
that since this test does the following:

create swapchain, render some frames, destroy the swapchain, repeat

the high watermark for memory consumed by swapchain images will be higher
than the amount consumed by the single largest swapchain created.

This patch addresses these issues in two ways:
1) Reducing the size of the swapchain images allocated for scale down
tests to use the next power of two of the window size, instead of the
max extents reported by Vulkan

Max extents are already tested in other deqp tests &amp; it&apos;s redundant
to do evaluate it again here; this change will make the test more
on functionality

2) Creates/Renders/Destroys a small dummy swapchain between each test
iteration in order to flush the memory held by the presentation
engine

Affects:
dEQP-VK.wsi.*.incremental_present.*

Components: Vulkan

VK-GL-CTS issue: 1179

Change-Id: Ib7e1a5d9110e7dabc0d0ced21b643389c2bf0328
(cherry picked from commit a3ba2368fda1ecf8cc3d5c3136b5674a3414f472)

5 years agoFix an issue in the api feature tests for sampler_filter_minmax
Yunchao He [Thu, 16 Aug 2018 00:17:50 +0000 (18:17 -0600)]
Fix an issue in the api feature tests for sampler_filter_minmax
extension.

Sampler flag VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT
is supported for some particular texture formats when minmax property
filterMinmaxSingleComponentFormats is true, not when minmax property
filterMinmaxImageComponentMapping is true.

Components: Vulkan
Affects: dEQP-VK.api.info.format_properties.*
VK-GL-CTS issue: 1323

Change-Id: I6f74433dfc63ce1cd5e2b91f5f18d1d6cd433d40

5 years agoRemove unconditional depth_clamping for 1.1.2
Simen Kaspersen [Thu, 2 Aug 2018 13:17:00 +0000 (15:17 +0200)]
Remove unconditional depth_clamping for 1.1.2

Changed depthClampEnable from VK_TRUE to VK_FALSE where it is not needed.
Depth clamp specific tests in builtin_var.fragdepth set as not supported for incompatible systems.

Affects:
dEQP-VK.pipeline.early_destroy.*
dEQP-VK.api.object_management.*.graphics_pipeline
dEQP-VK.binding_model.shader_access.*
dEQP-VK.glsl.builtin_var.fragdepth.*
dEQP-VK.synchronization.smoke.*
dEQP-VK.device_group.*

Components: Vulkan

VK-GL-CTS issue: 1286

Change-Id: I88271dda6001c63208b28d615ceab20bc597b743

5 years agoImprove wsi.incremental_present.* for low memory
Aaron Bartholomew [Mon, 20 Aug 2018 19:28:42 +0000 (12:28 -0700)]
Improve wsi.incremental_present.* for low memory

This patch modifies the VK.wsi.incremental_present.* tests to alleviate
issues with memory use on memory constrained platforms

The issue is that the scale_down group in particular creates very large
swapchains & that the presentation engine may keep one or moreof the
swapchain images allocated until it is able to release them. Which means
that since this test does the following:

create swapchain, render some frames, destroy the swapchain, repeat

the high watermark for memory consumed by swapchain images will be higher
than the amount consumed by the single largest swapchain created.

This patch addresses these issues in two ways:
1) Reducing the size of the swapchain images allocated for scale down
tests to use the next power of two of the window size, instead of the
max extents reported by Vulkan

Max extents are already tested in other deqp tests &amp; it&apos;s redundant
to do evaluate it again here; this change will make the test more
on functionality

2) Creates/Renders/Destroys a small dummy swapchain between each test
iteration in order to flush the memory held by the presentation
engine

Affects:
dEQP-VK.wsi.*.incremental_present.*

Components: Vulkan

VK-GL-CTS issue: 1179

Change-Id: Ib7e1a5d9110e7dabc0d0ced21b643389c2bf0328

5 years agoMerge remote-tracking branch 'aosp/master' into deqp-dev
Chris Forbes [Tue, 28 Aug 2018 01:07:53 +0000 (18:07 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev

Change-Id: I17fe4454a499f701ef7660c22eab8049eb949615

5 years ago[RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into...
Chris Forbes [Mon, 27 Aug 2018 19:40:51 +0000 (12:40 -0700)]
[RESTRICT AUTOMERGE] Merge remote-tracking branch 'khronos/vulkan-cts-1.0.2' into oreo-mr1-cts-dev

Bug: b/113276290

Change-Id: I77d325ade51309e96151c77804f97f86c3712117

5 years agoMerge remote-tracking branch 'khronos/master' into deqp-dev
Chris Forbes [Mon, 27 Aug 2018 17:31:42 +0000 (10:31 -0700)]
Merge remote-tracking branch 'khronos/master' into deqp-dev

Change-Id: Iaa4f4bec631129c71d93c2a3fa7fa6d5c53acbb5

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 27 Aug 2018 11:57:13 +0000 (13:57 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Iefd73efde096dd1190460e09ee97f6a8cf294376

5 years agoMerge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Alexander Galazin [Mon, 27 Aug 2018 11:57:12 +0000 (13:57 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master

Change-Id: I2ed414f071867f3664529a283421f35f4bcf27b9

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Mon, 27 Aug 2018 11:35:29 +0000 (13:35 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ie9506bd5d075610dbbfc55cc7137aec8a7f83029

5 years agoUpdate glslang
Alexander Galazin [Mon, 27 Aug 2018 10:45:37 +0000 (12:45 +0200)]
Update glslang

Components: Framework

Change-Id: I9f331d1e09f78d5b6dd40b6784c57349989c005d

5 years agoFix issues in ProtectedMemCopyBufferToImage
Ilya Zaytsev [Tue, 21 Aug 2018 14:46:48 +0000 (16:46 +0200)]
Fix issues in ProtectedMemCopyBufferToImage

Fixes the following issues:

* pipeline barriers were not correct: wrong stages and wrong access masks
  were used
* R32G32B32A32_UINT image view was sampled from sampler2D

Affects: dEQP-VK.protected_memory.image.copy_buffer_to_image.*

Components: Vulkan

VK-GL-CTS issue: 1326

Change-Id: I9d7eb9f8d9c2dcda1d7dd1f3b0e68e71fcd8c8f9

5 years agoWrong statues effects KHR-GLES32.core.internalformat.* tests
Yabin Zheng [Wed, 16 May 2018 08:18:35 +0000 (16:18 +0800)]
Wrong statues effects KHR-GLES32.core.internalformat.* tests

glReadPixels() will report a GL_INVALID_OPERATION because of some wrong
status before.

Some tests(KHR-GLES32.core.geometry_shader) execute the commands on the
default FBO. If the geometry_shader tests remove the texture from color
attachment0 in the deinit() function, that will lead to an incomplete
default FBO. According to the GLES spec(May 14, 2018) 3.2(P406), When we
run some tests in the KHR-GLES32.core.internalformat.* suite, the
glReadPixels() will report a GL_INVALID_OPERATION because of "An
INVALID_OPERATION error is generated if the read framebuffer is
not framebuffer complete."

Taking into account the impact of different config ID on the tests, I
think creating a new FBO is not suitable for KHR-GLES32.core.internalformat.*

Components: OpenGL

Affects:
KHR-GLES32.core.internalformat.*
KHR-GLES32.core.geometry_shader.*

VK-GL-CTS issue: 1244

Change-Id: I0158df8bdea829048b8b35f151d16b7f47f057f8

5 years agoDo not expect TCS shader with XFB variables to fail linkging in GL
asokolow [Tue, 12 Jun 2018 08:59:10 +0000 (10:59 +0200)]
Do not expect TCS shader with XFB variables to fail linkging in GL

The test tries to link shader with XFB variables in TCS, without TES stage.
The test expects the shader to fail linking, but this behavior does not
seem to be mandated by GL spec.

According to GL 4.6 spec (
https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf - page 387)
- It is not forbidden to use TransformFeedbackVaryings with Tessellation Control
Shader and the spec does not mandate linking failure, even without NV_gpu_shader5
extension.

Test seems to derive this behavior from OGL ES spec where XFB is not allowed
within TCS shader.

Components: OpenGL

VK-GL-CTS Issue: 1221

Affects:
KHR-GL45.tessellation_shader.single.xfb_captures_data_from_correct_stage

Change-Id: Ie7c4209e0a36d48e56df04030ed095741bda155a

5 years agoAdd cases for structs as inout and out parameters.
Kenneth Russell [Mon, 23 Jul 2018 22:26:47 +0000 (15:26 -0700)]
Add cases for structs as inout and out parameters.

Structs with lowp, mediump and highp (when supported in fragment
shaders) members are tested as inout and out parameters in both ES 2.0
and 3.0 shaders.

The highp variant of this test catches a bug which was found by the
Three.js community in https://github.com/mrdoob/three.js/issues/14137 .
Similar tests were integrated into the WebGL conformance suite in
https://github.com/KhronosGroup/WebGL/pull/2663 .

Verified on:
  Qualcomm Adreno 308 (LG Aristo) - bug reproduces in both ES2 and ES3
                                    highp fragment shaders
  Qualcomm Adreno 540 (Pixel 2),
  NVIDIA Tegra (SHIELD Tablet) - all tests pass

New tests:

dEQP-GLES[23].functional.shaders.struct.local.parameter_inout_*
dEQP-GLES[23].functional.shaders.struct.local.parameter_out_*

VK-GL-CTS Issue 1280

Change-Id: Ie332aede0ad52453815d9e123145ec035009430b
(cherry picked from commit 3b0365b1a090c4e15f72b2cb877ee15f65c8befe)

5 years agoReinstate dot & reflect tests
Chris Forbes [Sat, 25 Aug 2018 00:52:04 +0000 (17:52 -0700)]
Reinstate dot & reflect tests

There is now enough coverage of alternative evaluation orders that these
can be enabled.

Bug: b/28767510
Change-Id: I65de890cd8106ff12f4f5bf76e3db31966681023

5 years agoMerge remote-tracking branch 'aosp/master' into deqp-dev
Chris Forbes [Fri, 24 Aug 2018 16:14:03 +0000 (09:14 -0700)]
Merge remote-tracking branch 'aosp/master' into deqp-dev

Change-Id: Ic7c969b1b52cf6b3fee8e8879508bf13de9a354e

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Fri, 24 Aug 2018 14:22:21 +0000 (16:22 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Ifa2134f8a97e740f2c7f71c38550ee7f056e1d8c

5 years agoFix Vulkan build
Alexander Galazin [Fri, 24 Aug 2018 13:48:05 +0000 (15:48 +0200)]
Fix Vulkan build

Components: Vulkan

Change-Id: Id35717953f8727e1996d356f56f870c9455a9c39

5 years agoFix asserts and check for base image format support in image.mutable tests
Slawomir Cygan [Thu, 2 Aug 2018 16:01:57 +0000 (18:01 +0200)]
Fix asserts and check for base image format support in image.mutable tests

This adds a check if base image can be created given the format.

It is required for implementations supporting VK_KHR_maintenance2 or 1.1:
if these are supported, the exisiting VkImageView format support does not
cover base image format support.

Additionally, fix malformed asserts and missign case switches in this test.

Components: Vulkan

Affects: dEQP-VK.image.mutable

VK-GL-CTS Issue: 1295, 1294

Change-Id: I010a8823e2f7fa53a845366e489f071dbdc2f7f2

5 years agoNew test for copying 16bit input to two outputs.
Ari Suonpaa [Tue, 5 Jun 2018 12:30:38 +0000 (15:30 +0300)]
New test for copying 16bit input to two outputs.

Added a test where 16bit input is copied into two outputs. This
verifies a 16bit intermediate value can be used twice.

New tests:

dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_*_16_to_16x2.*

Components: Vulkan

VK-GL-CTS issue: 893

Change-Id: Ifc4bd97f65d38e018b5600bd445a7cc625dd358d

5 years agoMerge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Alexander Galazin [Fri, 24 Aug 2018 12:50:05 +0000 (14:50 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master

Change-Id: Id608fc80ae08fe2c61d72c65cca3188e37095130

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Fri, 24 Aug 2018 12:08:58 +0000 (14:08 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: I30a128280fba01232f691a27f2282915812bd3a5

5 years agoMerge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Alexander Galazin [Fri, 24 Aug 2018 12:08:57 +0000 (14:08 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master

Change-Id: I9446aef49cc962cddbca7928fd6415ec13169295

5 years agoMerge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Alexander Galazin [Fri, 24 Aug 2018 12:08:54 +0000 (14:08 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master

Change-Id: Ida0335ab0cd96894bdcd55837afcdac0470fb85a

5 years agoMerge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Alexander Galazin [Fri, 24 Aug 2018 11:30:25 +0000 (13:30 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev

Change-Id: Id857ed995a1e8cbf7ef706095407eb84f5d1d34b

5 years agoRefactor: Compatible compute and graphics VerifyIO
Boris Zanin [Wed, 4 Jul 2018 09:02:23 +0000 (11:02 +0200)]
Refactor: Compatible compute and graphics VerifyIO

Refactoring:
 * Compatibilize VerifyIO function declaration
 * Add isCoreFeatureSupported
 * Graphic shader can run over whole area

Affects tests:
 * dEQP-VK.spirv_assembly.*

Components: Vulkan

VK-GL-CTS issue: 1095

Change-Id: Id20f06771622e1debba6b3078f5fbcef97f0cbb5

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master
Alexander Galazin [Fri, 24 Aug 2018 07:27:02 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/master

Change-Id: I9a83f25ba7ad9bf007cd9b6778893a6f90587533

5 years agoMerge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Alexander Galazin [Fri, 24 Aug 2018 07:26:58 +0000 (09:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2

Change-Id: Ib1bfbe439ce0b734de4328d9d9577bc0a3793288