Eric Werness [Tue, 20 Nov 2018 17:34:06 +0000 (09:34 -0800)]
Update generate scripts for python3
Components: Framework
Change-Id: Ia3db51e520ffbab7613f9948f23e6320b2815462
Eric Werness [Fri, 16 Nov 2018 21:50:40 +0000 (13:50 -0800)]
Support Python3 as well in gen_release_info.py
The CMake file version check can end up picking python3 in some cases -
making the Python code compatible with python3 seems easier than
adjusting the version check.
Components: Frameworks
Change-Id: Iab37090ab813dcb7839490225ca2a4bf2f721c12
Ricardo Garcia [Mon, 6 May 2019 11:10:12 +0000 (13:10 +0200)]
Fix constructor warnings when building with GCC 9
When building vk-gl-cts with GCC 9 the building process prints a lot of
warnings related to contructors and assignment operators. This prevents
scripts/check_build_sanity.py from completing successfully on those
systems. This commit fixes those warnings.
Components: Framework
VK-GL-CTS issue: 1765
Change-Id: Ibab73d084488079802116fff55a17636e976c0fc
Ari Suonpaa [Tue, 23 Apr 2019 11:57:47 +0000 (14:57 +0300)]
Make random number usage platform independent
Generating multiple random numbers in argument
list can happen in different order depending on
implementation. This change makes these happen
in the same order with all implementations.
Affects:
dEQP-VK.api.granularity.*
dEQP-VK.draw.basic_draw.*
dEQP-VK.protected_memory.*
dEQP-VK.glsl.builtin.function.common.*
dEQP-VK.glsl.builtin.function.pack_unpack.*
dEQP-VK.glsl.texture_gather.*
dEQP-VK.spirv_assembly.*
dEQP-GLES3*.functional.shaders.builtin_functions.common.*
Components: Vulkan, OpenGL, Framework
VK-GL-CTS issue: 1591
Change-Id: Iaaff9625fd331ed7184efd50b89fc835c701ac6f
Alexander Galazin [Thu, 9 May 2019 10:43:42 +0000 (12:43 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: I248dcc344da78dd9b6580067bdef03656372e077
Alexander Galazin [Thu, 9 May 2019 09:46:54 +0000 (11:46 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Icae001e33d6a01954a6461d38bc8226abb48775e
Alexander Galazin [Thu, 9 May 2019 09:15:26 +0000 (11:15 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I015156c0e368515b0cecc70775a82a5537baa341
Slawomir Cygan [Mon, 29 Apr 2019 11:45:02 +0000 (13:45 +0200)]
Fix regression in subgroups tests after merging
393912cd
This extends the additional verification to catch uninitialized memory from
commit
393912cd to tests added in 1.1.3, so after
393912cd.
This fixes regression that occured on master after
393912cd was merged.
Components: Vulkan
VK-GL-CTS Issue: 1757
Change-Id: Icb7fe91ee2839626d8ebc90ae2788f85b0e835b7
Affects: dEQP-VK.subgroups.basic.framebuffer.*tess*
Matthew Netsch [Thu, 25 Apr 2019 18:41:15 +0000 (14:41 -0400)]
Fixes linear support check for pipeline tests
Removes old workaround for certain formats
Components: Vulkan
VK-GL-CTS Issue: 1755
Affects:
dEQP-VK.pipeline.sampler.*
Change-Id: Ia35303f11132f84560f06c13c7a94e3f9be888db
Lionel Landwerlin [Thu, 21 Mar 2019 14:18:37 +0000 (14:18 +0000)]
Factor out copies of makeBufferCreateInfo
Components: Vulkan
Change-Id: I1a81b8fbc19faa41c367834e3233cf96cccbc05e
Mika Väinölä [Tue, 9 Apr 2019 13:28:45 +0000 (16:28 +0300)]
Fix Clang 8 and GCC 9 warnings
Rename some TYPE_LAST and STATE_LAST enums that produce variable
shadowing warnings with Clang 8. Reimplement tcu::Format::Hex methods
using stringstream and IO manipulators instead of format strings
and add a cast to deUint32 to fix warnings on GCC 9.
Component: Framework
VK-GL-CTS issue: 1631
Change-Id: Ide4b25c106810b725c5ed7caaaf676f02e81b368
Alexander Galazin [Wed, 8 May 2019 08:29:10 +0000 (10:29 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: I52931c808f715c4c790fe796128dd585ecf88bac
Alexander Galazin [Wed, 8 May 2019 08:29:08 +0000 (10:29 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: If2efadd4f002bb58bacd710fcd24476fba0397aa
Graeme Leese [Tue, 7 May 2019 12:41:46 +0000 (13:41 +0100)]
Simplify support checking and fix typos in messages
The code for checking format support was duplicated for source and
destination formats and there were several typos in the various error
messages.
Components: Vulkan
Affects: dEQP-VK.ycbcr.copy.*
Change-Id: I1cc02a5aa66f521e5a152f608f39456e24c4ccb8
Ilkka Saarelainen [Wed, 10 Apr 2019 12:43:49 +0000 (15:43 +0300)]
Merge common util functions, part 1
Many tests have their own util functions for creating commonly used
Vulkan objects.
This CL moves the following helper functions to the framework:
- makeImageView()
- makeBufferView()
- makeDescriptorSet()
Also some tests were using their own implementation of the following
helper functions:
- makeRenderPass()
- submitCommandsAndWait()
This CL changes those tests to use the existing functions from
the framework when possible.
Affects: dEQP-VK.*
Components: Vulkan, Framework
VK-GL-CTS issue: 1709
Change-Id: I4fdf1ea55f83f395d12d3c8a89bbe8d8d2333fa6
Jason Ekstrand [Sat, 14 Oct 2017 22:57:03 +0000 (15:57 -0700)]
vulkancts/README: Recommend -msse2 -mfpmath=sse for 32-bit x86 builds
Otherwise, GCC may produce code that doesn't follow the IEEE floating
point rules. This can result in spurious test failures due to precision
issues with the CTS. These issues won't be noticed with 64-bit builds
because GCC enables SSE floating-point math by default on x86_64.
Change-Id: Id0a60464d7607ec70b62e62c73558b8750b74849
Ricardo Garcia [Mon, 15 Apr 2019 08:40:34 +0000 (10:40 +0200)]
Check vkCmdFillBuffer with sizes not multiple of 4
Use vkCmdFillBuffer passing VK_WHOLE_SIZE as the size when the whole
buffer size is not a multiple of 4. The extra bytes at the end should
remain untouched by the fill operation, as per the spec.
New tests:
dEQP-VK.api.fill_and_update_buffer.*.fill_buffer_vk_whole_size_*
Components: Vulkan
VK-GL-CTS issue: 1156
Change-Id: Ie9ac7ccbf8ce42a835ef4e073feaa01c010ab4cb
Tim Van Patten [Tue, 9 Apr 2019 20:41:16 +0000 (14:41 -0600)]
Check for GLES 3.0 Context Before Using 3.0 Functionality
The additional testFramebufferColorEncoding() testing requires a GLES
3.0 context, but only a 2.0 context is requested. This change will
continue to execute those tests, but only after verifying a 3.0 context
was returned.
Affects:
dEQP-EGL.functional.wide_color.window_fp16_colorspace_p3_passthrough
dEQP-EGL.functional.wide_color.pbuffer_fp16_colorspace_p3_passthrough
dEQP-EGL.functional.wide_color.window_1010102_colorspace_p3_passthrough
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_p3_passthrough
dEQP-EGL.functional.wide_color.window_8888_colorspace_p3_passthrough
dEQP-EGL.functional.wide_color.pbuffer_8888_colorspace_p3_passthrough
dEQP-EGL.functional.wide_color.window_888_colorspace_p3_passthrough
dEQP-EGL.functional.wide_color.pbuffer_888_colorspace_p3_passthrough
Components: EGL
Bug: 1704
Google Bug:
124910588
Change-Id: Ifc81308c569923d4d777cd5c5329568b579f1ac1
Chris Forbes [Fri, 3 May 2019 20:53:14 +0000 (13:53 -0700)]
Check for depthBiasClamp feature before using it
VK-GL-CTS Issue: 1764
Affects: dEQP-VK.dynamic_state.rs_state.depth_bias_clamp
Change-Id: Iccd05a1eac2285125847a392c4065d36c88cb426
Chris Forbes [Wed, 1 May 2019 14:43:48 +0000 (07:43 -0700)]
Check for imageCubeArray support before using VK_IMAGE_VIEW_TYPE_CUBE_ARRAY
VK-GL-CTS Issue: 1761
Components: Vulkan
Affects: dEQP-VK.binding_model.shader_access.*cube_array*
Change-Id: I918227d1518c3d7f6cefd7931531aafb34fcf9f8
Alexander Galazin [Sun, 28 Apr 2019 14:59:54 +0000 (16:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: I501c99baa16c76da5f7f6fff53c8f2948b5a5107
Alexander Galazin [Sun, 28 Apr 2019 12:33:14 +0000 (14:33 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Ief71fa1e4d028988c1e5bc9c0d477787c8a1fcd6
Alexander Galazin [Sun, 28 Apr 2019 08:36:59 +0000 (10:36 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I71fc7f7b5ccaf55f0ad0ec40d4e0720bebbabb50
Graeme Leese [Tue, 9 Apr 2019 11:25:19 +0000 (12:25 +0100)]
Reduce expected precision of RGB10A2 filtering
The code in the YCbCr tests says that it was copied from the texture
explicit lod tests, but those tests give rgb10a2 a 'low' precision, not
'fp16'. Reduce the precision expected in the YCbCr tests.
Components: Vulkan
VK-GL-CTS Issue: 1731
Affects: dEQP-VK.ycbcr.*
dEQP-VK.protected_memory.interaction.ycbcr.*
Change-Id: Ib0ae233fc271ded2f9987fe448dcd351e509a0c4
(cherry picked from commit
5deebf4709ed3e2c3aaad3b8bb8703f236309b97)
Courtney Goeltzenleuchter [Thu, 4 Apr 2019 21:35:41 +0000 (15:35 -0600)]
check if getPlatformExtensionName is null
nativeDisplay.getPlatformExtensionName will be null if the
platform does not support platform extensions. Check for that
prior to turning it into a string.
Components: GL, ANGLE build
Affects: dEQP-GLES2.functional.rasterization.primitives.line*
VK-GL-CTS issue: 1722
Change-Id: Ic60c3ad8387009b00bcb3ecd74d2d5cd673dade8
Carl Ritson [Thu, 14 Mar 2019 16:25:30 +0000 (16:25 +0000)]
Fix memory initialisation in subgroups tests
Subgroup tests expand memory allocations to accommodate std140 layout
shaders; however, the extra memory is not initialised.
This changes initialisation to be based on the actually allocated
buffer size and adds additional verification to catch uninitialised
memory.
Affects:
dEQP-VK.subgroups.*
Components: Vulkan
VK-GL-CTS Issue: 1639
Change-Id: I0dfc0abb9bcbe63b5d1d5ad43e6fee99389fdfa2
Ari Suonpaa [Fri, 12 Apr 2019 09:41:16 +0000 (12:41 +0300)]
Test separate channels as input and output
Test using the same image as input and output but keep
read and write channels separate to avoid self dependency.
Tests both color and depth/stencil formats.
Added VkImage data initialization framework functions used
by the new tests to generate input data.
New tests:
dEQP-VK.renderpass*.separate_channels.*
Components: Vulkan, Framework
VK-GL-CTS issue: 1154
Change-Id: I4a6e880dd31117b35d2f96900636c6a25cbfd67d
Samuel Iglesias Gonsálvez [Fri, 5 Apr 2019 09:28:21 +0000 (11:28 +0200)]
Add tests for EXT_discard_rectangles
Added tests that check that the rendered image is correct for the the
combination of: the two different modes (inclusive, exclusive),
different number of rectangles (1, 2, 3, 4, 8, 16), dynamic discard
rectangles, scissor, dynamic scissor.
These tests don't check that the device groups work as expected.
New tests:
dEQP-VK.draw.discard_rectangles.*
Components: Vulkan
VK-GL-CTS issue: 1679
Change-Id: Idcfe2a9fc9113051fd72e51a0019e4247463cede
Graeme Leese [Tue, 9 Apr 2019 11:25:19 +0000 (12:25 +0100)]
Reduce expected precision of RGB10A2 filtering
The code in the YCbCr tests says that it was copied from the texture
explicit lod tests, but those tests give rgb10a2 a 'low' precision, not
'fp16'. Reduce the precision expected in the YCbCr tests.
Components: Vulkan
VK-GL-CTS Issue: 1731
Affects: dEQP-VK.ycbcr.*
dEQP-VK.protected_memory.interaction.ycbcr.*
Change-Id: Ib0ae233fc271ded2f9987fe448dcd351e509a0c4
Matthew Netsch [Wed, 24 Apr 2019 16:02:30 +0000 (12:02 -0400)]
Fixes pipeline tests to check for maxSamplerLodBias
Components: Vulkan
VK-GL-CTS Issue: 1750
Affects:
dEQP-VK.pipeline.sampler.*
Change-Id: I1ed594f0eb5cf8e249eda5eb31b114f1bfb93fd2
Tapani Pälli [Tue, 22 Jan 2019 12:00:23 +0000 (14:00 +0200)]
x11_egl: use correct cmake variable name for GLES1 include path
This commit reverts most of
7b4a66f99 that included a hack to search
for include directory next to the library path. This was invalid since
used variable name PKG_GLES1_INCLUDE_DIRS is false, correct name is
GLES1_INCLUDE_DIRS which is properly set by the PKG_CHECK_MODULES call.
This change has been succesfully tested on Fedora and Ubuntu distros by
setting up a custom PKG_CONFIG_PATH.
VK-GL-CTS issue: 1573
Change-Id: I158d816d28f5bbf30288f6226bd5c9e30cf85285
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Tapani Pälli [Tue, 22 Jan 2019 12:00:23 +0000 (14:00 +0200)]
x11_egl: use correct cmake variable name for GLES1 include path
This commit reverts most of
7b4a66f99 that included a hack to search
for include directory next to the library path. This was invalid since
used variable name PKG_GLES1_INCLUDE_DIRS is false, correct name is
GLES1_INCLUDE_DIRS which is properly set by the PKG_CHECK_MODULES call.
This change has been succesfully tested on Fedora and Ubuntu distros by
setting up a custom PKG_CONFIG_PATH.
VK-GL-CTS issue: 1573
Change-Id: I158d816d28f5bbf30288f6226bd5c9e30cf85285
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Alexander Galazin [Wed, 24 Apr 2019 12:50:12 +0000 (14:50 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: I0684866a941390b02452ed7215feaf289ed0d274
Alexander Galazin [Wed, 24 Apr 2019 05:59:25 +0000 (07:59 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I558e81a43c829769f170c4b26f3b290d88cf708e
Alexander Galazin [Tue, 23 Apr 2019 18:10:25 +0000 (20:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: If4d754edf8a5c942ebf51fcbb3a71d87bfbc7856
Alexander Galazin [Tue, 23 Apr 2019 17:13:22 +0000 (19:13 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.1 into vk-gl-cts/vulkan-cts-1.1.2
Change-Id: I578c423d59f3c21357dd6f448f68cee5b46a98d0
Alexander Galazin [Tue, 23 Apr 2019 16:47:53 +0000 (18:47 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.0 into vk-gl-cts/vulkan-cts-1.1.1
Change-Id: I4e639df46cf1f19a0bde8a061fa54d0bc1f7732d
Dan Sinclair [Mon, 15 Apr 2019 19:55:23 +0000 (15:55 -0400)]
Roll Amber.
This Cl rolls the Amber version to pickup the removal of
CopyBitsOfValueToBuffer which is triggering alignment errors on certain
platforms.
d26ee22 Unify buffer sizes. (#465)
dd5b5e6 Convert ProbeSSBO to use Format objects. (#464)
ee7662c Add doc/engines.md (#463)
d84f541 Convert BufferCommand to use Format. (#462)
e8302e1 Dawn engine: refactor (#455)
5299cf3 Move Format up into base Buffer class (#461)
847634a Use Format instead of DatumType where possible. (#460)
e968f5c AmberScript and README updates (#459)
d4e543b Add Buffer::GetFormat (#458)
ae06ff8 Simplify Format::GetBytesize; rename to SizeInBytes (#457)
b322b20 [vulkan] Allow setting vertex buffer with a data buffer (#450)
43248b2 [AmberScript] Add DERIVE_PIPELINE (#453)
5397303 Dawn engine: Adapt to latest Dawn API. (#454)
77b90e8 Update Dawn config file (#440)
6a39267 [vulkan] copy fb data onto device (#452)
7f72bbf [vulkan] Add a write framebuffer state; cleanup (#449)
a8acd2e Generate a Format from a DataBuffer. (#448)
da78976 [vulkan] TransferImage knows current layout and stage (#445)
1f834b8 [amberscript] Add REPEAT command (#443)
1806fc6 [amberscript] Fix BUFFER commands in examples (#447)
135cef4 Add EXPECT EQ_BUFFER command (#444)
c5afcf2 Add amber overview doc (#442)
3ba9e39 [vulkan] simplify image transition code. (#441)
VK-GL-CTS issue: 1735
Components: Framework
Affects: dEQP-VK.*
Change-Id: If13ab968d26aec30c7a5bf4ebde952e6947c00fa
(cherry picked from commit
532f56f72878c4b1ba4230debc90e0bafe51b4b5)
Boris Zanin [Thu, 11 Apr 2019 08:07:12 +0000 (10:07 +0200)]
Add float 16 calculation into FMA tests
Add one more calculation flavor into calculation
Float16 FMA tests.
Updates:
* dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic*.fma
* dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic*.fma*
Components: Vulkan
VK-GL-CTS issue: 1730
Change-Id: Ic3c378a75d23afcafb0f6ce7052351d70d4d30bc
(cherry picked from commit
67a010acd731667bcf067652d11ba494f0afff95)
Juan A. Suarez Romero [Mon, 15 Apr 2019 16:39:12 +0000 (16:39 +0000)]
Create YCbCr with PREDEFINED layout
This fixes validation errors due mismatch with the expected initial
layout.
Affects:
* dEQP-VK.ycbcr.conversion.*
Components: Vulkan
VK-GL-CTS issue: 1737
Change-Id: If30f5ebb73529850c6bbafcd8e42bed6143864c3
(cherry picked from commit
bcfe10d9aa5dbdb05296a5891e358b3581288845)
Chris Forbes [Mon, 15 Apr 2019 23:03:23 +0000 (16:03 -0700)]
Check for geometry shader support when testing adjacency topologies
Clipping tests would attempt to create pipelines using adjacency
topologies without checking for geometry shader support.
This seems to be a benign failure on most real implementations, but is a
VU violation.
Affects: dEQP-VK.clipping.clip_volume.*
VK-GL-CTS Issue: 1738
Change-Id: Iac6cfc6a669f2e533ce8ceaf4e7c2448b9fe4883
(cherry picked from commit
9c97d200e33e781ebb9f85df1195bcb84e013833)
ygole [Wed, 27 Mar 2019 11:38:37 +0000 (17:08 +0530)]
Add hasDisplay check after createWsiDisplay throws
Commit
b7efacd7b3 (Check if CTS has platform display for wsi-type) added
checks after createWsiDisplay failure to prevent reporting test failure
if native display for requested wsi-type isn't avaiable. This situation
can occur if vulkan driver supports multiple wsi extensions and only one
native display is available. Change did not fix all the places where
createWsiDisplay is called. The check is missing in file
vktImageMutableTests.cpp so fix it.
Affects: dEQP-VK.image.swapchain_mutable.*
Components: Vulkan, Framework
VK-GL-CTS issue: 1558
Change-Id: Iffc50a70ed48fb18c4d609c8d74b8e4615e4297d
(cherry picked from commit
984a7606ec93dfe90a17127357c7f0b0262bcd51)
Alexander Galazin [Thu, 11 Apr 2019 09:09:18 +0000 (11:09 +0200)]
Move to a single Vulkan mustpass
Components: Vulkan
VK-GL-CTS issue: 1719
Change-Id: I51f7930e4611ec979007702395d005d7ca3f425b
Toni Merilehti [Thu, 11 Apr 2019 10:18:14 +0000 (13:18 +0300)]
Add feature checks to spirv assembly tests
Adds missing checks for vertexPipelineStoresAndAtomics and
fragmentStoresAndAtomics core device features to spirv assembly
tests when required by the shaders.
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.*
Components: Vulkan
VK-GL-CTS issue: 1725
Change-Id: I33af3faac948913f2f5ac7a4d385c323b00e5444
(cherry picked from commit
c71c2e3a5afa19c68c0ad9a03d18c06d2997b2c3)
Toni Merilehti [Thu, 11 Apr 2019 10:18:14 +0000 (13:18 +0300)]
Add feature checks to spirv assembly tests
Adds missing checks for vertexPipelineStoresAndAtomics and
fragmentStoresAndAtomics core device features to spirv assembly
tests when required by the shaders.
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.*
Components: Vulkan
VK-GL-CTS issue: 1725
Change-Id: I33af3faac948913f2f5ac7a4d385c323b00e5444
Boris Zanin [Thu, 11 Apr 2019 08:07:12 +0000 (10:07 +0200)]
Add float 16 calculation into FMA tests
Add one more calculation flavor into calculation
Float16 FMA tests.
Updates:
* dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic*.fma
* dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic*.fma*
Components: Vulkan
VK-GL-CTS issue: 1730
Change-Id: Ic3c378a75d23afcafb0f6ce7052351d70d4d30bc
Juan A. Suarez Romero [Mon, 15 Apr 2019 16:39:12 +0000 (16:39 +0000)]
Create YCbCr with PREDEFINED layout
This fixes validation errors due mismatch with the expected initial
layout.
Affects:
* dEQP-VK.ycbcr.conversion.*
Components: Vulkan
VK-GL-CTS issue: 1737
Change-Id: If30f5ebb73529850c6bbafcd8e42bed6143864c3
Dan Sinclair [Mon, 15 Apr 2019 19:55:23 +0000 (15:55 -0400)]
Roll Amber.
This Cl rolls the Amber version to pickup the removal of
CopyBitsOfValueToBuffer which is triggering alignment errors on certain
platforms.
d26ee22 Unify buffer sizes. (#465)
dd5b5e6 Convert ProbeSSBO to use Format objects. (#464)
ee7662c Add doc/engines.md (#463)
d84f541 Convert BufferCommand to use Format. (#462)
e8302e1 Dawn engine: refactor (#455)
5299cf3 Move Format up into base Buffer class (#461)
847634a Use Format instead of DatumType where possible. (#460)
e968f5c AmberScript and README updates (#459)
d4e543b Add Buffer::GetFormat (#458)
ae06ff8 Simplify Format::GetBytesize; rename to SizeInBytes (#457)
b322b20 [vulkan] Allow setting vertex buffer with a data buffer (#450)
43248b2 [AmberScript] Add DERIVE_PIPELINE (#453)
5397303 Dawn engine: Adapt to latest Dawn API. (#454)
77b90e8 Update Dawn config file (#440)
6a39267 [vulkan] copy fb data onto device (#452)
7f72bbf [vulkan] Add a write framebuffer state; cleanup (#449)
a8acd2e Generate a Format from a DataBuffer. (#448)
da78976 [vulkan] TransferImage knows current layout and stage (#445)
1f834b8 [amberscript] Add REPEAT command (#443)
1806fc6 [amberscript] Fix BUFFER commands in examples (#447)
135cef4 Add EXPECT EQ_BUFFER command (#444)
c5afcf2 Add amber overview doc (#442)
3ba9e39 [vulkan] simplify image transition code. (#441)
VK-GL-CTS issue: 1735
Components: Framework
Affects: dEQP-VK.*
Change-Id: If13ab968d26aec30c7a5bf4ebde952e6947c00fa
ygole [Wed, 27 Mar 2019 11:38:37 +0000 (17:08 +0530)]
Add hasDisplay check after createWsiDisplay throws
Commit
b7efacd7b3 (Check if CTS has platform display for wsi-type) added
checks after createWsiDisplay failure to prevent reporting test failure
if native display for requested wsi-type isn't avaiable. This situation
can occur if vulkan driver supports multiple wsi extensions and only one
native display is available. Change did not fix all the places where
createWsiDisplay is called. The check is missing in file
vktImageMutableTests.cpp so fix it.
Affects: dEQP-VK.image.swapchain_mutable.*
Components: Vulkan, Framework
VK-GL-CTS issue: 1558
Change-Id: Iffc50a70ed48fb18c4d609c8d74b8e4615e4297d
Alexander Galazin [Fri, 22 Mar 2019 09:06:18 +0000 (10:06 +0100)]
Fix uninitialized variable reported by gcc 8.3
VK-GL-CTS issue: 1656
Components: Vulkan
Affects: dEQP-VK.sparse_resources.*
Change-Id: I298c795b05c0c204f04970da7a923f797c4478b8
(cherry picked from commit
1dadbfc46128054db7679bb662eba16b20a241c1)
Joan Orantos [Tue, 16 Apr 2019 13:42:20 +0000 (15:42 +0200)]
Fix element size for R16G16B16A16_UNORM.
The PlanarFormatDescription set for this format
was specifying 16 bytes instead of 8. This would
generate wrong input image on the test group
dEQP-VK.ycbcr.conversion.r16*
Components: Vulkan
Affects:
dEQP-VK.ycbcr.conversion.r16*
VK-GL-CTS issue: 1740
Change-Id: Ic364128febaa3b85b9ade767049e4f4f3f894357
Alexander Galazin [Tue, 16 Apr 2019 10:23:43 +0000 (12:23 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: I14c5efc4e388eabae58094cd3a842b847b7f1f23
Alexander Galazin [Tue, 16 Apr 2019 10:23:41 +0000 (12:23 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I9a6fa607958cf6864cec912aa0bfc6edf27224cf
Andres Gomez [Tue, 19 Feb 2019 00:57:03 +0000 (02:57 +0200)]
GL_ARB_enhanced_layouts: mind double types
Double precision types have specific restrictions and rules regarding
the use of the "component" layout qualifier. This change tests those
rules.
Additionally, since the new test is more generic and covers several
cases of the varying_exceeding_components test, simplified the latter.
Components: OpenGL
VK-GL-CTS issue: 725
Affects:
KHR-GL44.enhanced_layouts.varying_array_components
KHR-GL44.enhanced_layouts.varying_component_of_invalid_type
KHR-GL44.enhanced_layouts.varying_components
KHR-GL44.enhanced_layouts.varying_exceeding_components
KHR-GL44.enhanced_layouts.varying_invalid_value_component
Change-Id: Ie20a768b3002f82a1205db338b20ee28b58380f1
Matthew Netsch [Fri, 5 Apr 2019 20:19:29 +0000 (16:19 -0400)]
Fixed buffer memory type for protected test
Components: Vulkan
VK-GL-CTS issue: 1727
Affects:
dEQP-VK.protected_memory.*
Change-Id: I07c5a57591f37aff558e3a634faa45ab33b2f776
Chris Forbes [Mon, 15 Apr 2019 23:03:23 +0000 (16:03 -0700)]
Check for geometry shader support when testing adjacency topologies
Clipping tests would attempt to create pipelines using adjacency
topologies without checking for geometry shader support.
This seems to be a benign failure on most real implementations, but is a
VU violation.
Affects: dEQP-VK.clipping.clip_volume.*
VK-GL-CTS Issue: 1738
Change-Id: Iac6cfc6a669f2e533ce8ceaf4e7c2448b9fe4883
Nikita Bart [Thu, 28 Mar 2019 14:15:41 +0000 (15:15 +0100)]
Add tests for UPDATE_AFTER_BIND bindings
Bindings with VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT bit
were not tested in "descriptorset_random" tests due to interaction with
BUFFER_DYNAMIC descriptor types.
Components: Vulkan
New tests: dEQP-VK.binding_model.descriptorset_random.*.uab.*
VK-GL-CTS issue: 1708
Change-Id: I74e64e40f3bc7594216bcfc1c421a8bffcb717d3
Alexander Galazin [Fri, 12 Apr 2019 12:18:51 +0000 (14:18 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.5 into vk-gl-cts/master
Change-Id: I467c3060f325677fc16b7812e3af1beaae27fc1e
Jeff Bolz [Fri, 12 Oct 2018 19:28:17 +0000 (14:28 -0500)]
VK_EXT_memory_budget and VK_EXT_memory_priority
For VK_EXT_memory_budget, this is a simple query and sanity check
of the values in the new structure. There's not a whole lot about
this extension that can really be tested, since it is intentionally
very implementation-dependent. But this may be useful to implementers.
For VK_EXT_memory_priority, add variants of the memory.binding tests
that vary the priority. There's nothing really functional to test
here except that things still work when a priority is set.
Components: Vulkan
New Tests:
dEQP-VK.api.info.device.memory_budget
dEQP-VK.memory.binding.priority*
VK-GL-CTS issue: 1688
VK-GL-CTS issue: 1689
Change-Id: I376d2513f772051ae86eb7e9baa22eee68e3d39d
Alexander Galazin [Fri, 12 Apr 2019 08:57:25 +0000 (10:57 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Change-Id: I8631d0dfb60efb33613a60cf65f13ce7884b38e1
Alexander Galazin [Fri, 12 Apr 2019 07:20:26 +0000 (09:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: I64a440d0d38a6bcb10c6c88fec81c7811b4e4975
Alexander Galazin [Fri, 5 Apr 2019 06:28:14 +0000 (08:28 +0200)]
Allow C99, C++11
Also fix issues reported by C++11.
Affects:
* dEQP-VK.*
* dEQP-EGL.*
* dEQP-GL*.*
Components: Framework, Vulkan, OpenGL
VK-GL-CTS issue: 1723
VK-GL-CTS issue: 984
Change-Id: I85d41fb5a06a6dadfd86455308e30f68c03749b1
Boris Zanin [Wed, 20 Mar 2019 18:03:29 +0000 (19:03 +0100)]
Add Transform Feedback tests triangle-strip-with-adjacency
Add tests to validate proper order of output in a transform feedback
buffer for VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY
primitive type.
Add tests:
* dEQP-VK.transform_feedback.simple.triangle_strip_with_adjacency_*
Components: vulkan
VK-GL-CTS issue: 1587
Change-Id: I895d8e9127182a966d15060116b1041d92f7e59e
(cherry picked from commit
37dce5c88827b927c824dfe50ca0ccb5faa3b9f1)
Boris Zanin [Wed, 13 Feb 2019 18:31:25 +0000 (19:31 +0100)]
Add Transform Feedback tests for builtin variables
Tests driver ability to output builtin variables into XFB buffer.
Add tests:
* dEQP-VK.transform_feedback.simple.xfb_*
Components: vulkan
VK-GL-CTS issue: 1350
Change-Id: I8f18cbfcf0895510a07f092634727764b929cc3b
(cherry picked from commit
2943705658104b349e7cfc9f039fb1b26c5a793e)
Boris Zanin [Mon, 17 Sep 2018 13:11:46 +0000 (15:11 +0200)]
Add Transform Feedback tests
Add tests:
* dEQP-VK.transform_feedback.simple.basic*
* dEQP-VK.transform_feedback.simple.resume*
* dEQP-VK.transform_feedback.simple.streams_*
* dEQP-VK.transform_feedback.simple.streams_pointsize_*
* dEQP-VK.transform_feedback.simple.streams_clipdistance_*
* dEQP-VK.transform_feedback.simple.streams_culldistance_*
* dEQP-VK.transform_feedback.simple.multistreams_*
* dEQP-VK.transform_feedback.simple.draw_indirect_*
* dEQP-VK.transform_feedback.simple.backward_dependency
* dEQP-VK.transform_feedback.simple.query_*
* dEQP-VK.transform_feedback.fuzz.*
Components: vulkan
VK-GL-CTS issue: 1350
Change-Id: If0b7a47f95f554dd43db77a6d005ebeb44c27294
(cherry picked from commit
a0cfd09544ed9cba4abb4d71ede7ba224baea0a3)
Drew Davenport [Wed, 6 Mar 2019 22:27:24 +0000 (07:27 +0900)]
dEQP-GLES31.functional.ssbo.layout.random.*: Add check for GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS
Commit
237916d03377a469e30dd36087738b069f83a19a
(gles31:es31fSSBOLayoutTests limit m_maxBlocks and m_maxBlockMembers
for low ram device) disturbs the random number generator for this set
of tests.
This CL adds additional check to mark a test case as unsupported when
applicable.
Bug:
125999156
Test: dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers#45
Change-Id: I82f4ff846d9ac1389b51687f330ce8233d4856b7
(cherry picked from commit
6859e6c3488a5c757557b42c3774508baeacf3d0)
James Glanville [Tue, 12 Feb 2019 14:47:41 +0000 (14:47 +0000)]
dEQP-GLES31.functional.ssbo.layout.random.*: Add check for
GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS
Commit
237916d03377a469e30dd36087738b069f83a19a
(gles31:es31fSSBOLayoutTests limit m_maxBlocks and m_maxBlockMembers
for low ram device) disturbs the random number generator for this set
of tests.
This causes:
dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.45
to require implementation support for 9 SSBO binding points, more
than the spec requires.
Fixed by adding check for GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS and
marking this test as unsupported
Bug: b/
125134085
Change-Id: I17dc2063675ace06bc7e7763cff8bd46bd397b8c
(cherry picked from commit
feb932cf5c3f5d9115c86073693d859667a81361)
xinglong.zhu [Fri, 4 Jan 2019 08:55:20 +0000 (16:55 +0800)]
gles31:es31fSSBOLayoutTests limit m_maxBlocks and m_maxBlockMembers for low ram device
Memory requirement for cts CtsDeqpTestCases
dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer#5
reduced from 230MB to 36MB
Issue:
121364689
Test: run cts -m CtsDeqpTestCases -t dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer#5
Change-Id: I2a66263f041265e8697e4b270132b9889486ce4f
(cherry picked from commit
237916d03377a469e30dd36087738b069f83a19a)
Alexander Galazin [Thu, 11 Apr 2019 13:51:07 +0000 (15:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I39a8a2632e2dbc8f2cd7165b8ce614287de79e66
Alexander Galazin [Thu, 11 Apr 2019 12:46:34 +0000 (14:46 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I22ee52a20ef76af09b9e9ae5c4f7e8ee7073025c
Ricardo Garcia [Mon, 1 Apr 2019 10:57:34 +0000 (12:57 +0200)]
Add VK_EXT_pci_bus_info tests
Add test to verify values returned as the physical device PCI bus info
properties make sense and are not invalid.
Affected tests:
dEQP-VK.api.info.get_physical_device_properties2.properties
Components: Vulkan
VK-GL-CTS issue: 1690
Change-Id: I737d1be7f0727db8a45de6a4286fa00e305157d5
Samuel Iglesias Gonsálvez [Fri, 5 Apr 2019 14:40:30 +0000 (16:40 +0200)]
Missing format checks for vertex attribute and color attachments in input_ouput tests
Input_output tests were not checking that the vertex attribute formats
were supported by the physical device. Added a similar check for the color
attachment.
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.*input_output*
Components: Vulkan
VK-GL-CTS issue: 1726
Change-Id: I2987deeafc8d3cc119730993fcb30fb191be062c
Samuel Iglesias Gonsálvez [Fri, 5 Apr 2019 14:40:30 +0000 (16:40 +0200)]
Missing format checks for vertex attribute and color attachments in input_ouput tests
Input_output tests were not checking that the vertex attribute formats
were supported by the physical device. Added a similar check for the color
attachment.
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.*input_output*
Components: Vulkan
VK-GL-CTS issue: 1726
Change-Id: I2987deeafc8d3cc119730993fcb30fb191be062c
Samuel Iglesias Gonsálvez [Thu, 11 Apr 2019 07:49:01 +0000 (09:49 +0200)]
Fix malformed assets, use DE_FATAL
Convert all malformed asserts like DE_ASSERT("...") to DE_FATAL.
Components: Vulkan
VK-GL-CTS issue: 1294
Change-Id: Ieedef557849371473bbec86841f9373749bd3b66
Michal Jakubek [Mon, 21 Jan 2019 10:48:54 +0000 (10:48 +0000)]
Auto-generate DeviceFeatures class
Adds:
* vkDeviceFeatures.cpp
* vkDeviceFaatures.hpp
* vkDeviceFeatures.inl
The first two files are a declaration and an implementation
of vk::DeviceFeatures class respectively.
vkDeviceFeatures.inl file is an auto-generated file
while gen_framework.py is processing. Content of inl
file constitutes a closure of vk::DeviceFeatures and
it is utiized by class implementation only.
Affects: dEQP-VK*
Components: Vulkan, Framework
VK-GL-CTS issue: 1487
Change-Id: Ic9a086cad28ad82aca59e6656fa726f96ef0c62d
Kristian H. Kristensen [Thu, 14 Feb 2019 22:36:40 +0000 (14:36 -0800)]
Fix surfaceless target
Change-Id: Iade7c63d6b17ffb11924191ddd1f54bfc808de4c
Components: Framework
Mika Väinölä [Wed, 3 Oct 2018 13:03:46 +0000 (16:03 +0300)]
Suppress Clang 7 self-assignment warnings
Clang 7 warns on two intentional self-assignments. According to the
release notes "the warning can be suppressed by adding *& to the
right-hand side or casting it to the appropriate reference type."
Component: Framework
VK-GL-CTS issue: 1401
Change-Id: I3145b1965d46f617eb10ff8a60d038ce9bbb5cbf
(cherry picked from commit
3aa55b5b9bd903f279e234304a2affd409b18e8d)
Alexander Galazin [Wed, 3 Apr 2019 08:01:42 +0000 (10:01 +0200)]
Notice of withdrawal of Vulkan CTS 1.1.1.x
Components: Vulkan
Change-Id: I025b8f99656956d4e88e7c7185ec9dda3eddb7f5
Piers Daniell [Tue, 9 Apr 2019 17:20:09 +0000 (11:20 -0600)]
Fix 1.1.5 mustpass files
Due to a copy+paste error in the build_mustpass.py script the
1.1.5 mustpass files were using the wrong configuration.
Components: Vulkan
Change-Id: I0a793e441475584e3422567b5677f1ef8d4d067a
Toni Merilehti [Thu, 28 Mar 2019 07:35:32 +0000 (09:35 +0200)]
Add helper function for creating Amber test cases
This helper function returns an AmberTestCase* if the required Amber
file is present, otherwise it will throw an internal error. This CL
also utilizes the helper on current Amber tests.
Affects:
dEQP-VK.amber-example.clear
dEQP-VK.graphicsfuzz.*
dEQP-VK.rasterization.provoking_vertex.*
dEQP-VK.spirv_assembly.instruction.compute.signed_int_compare.*
Components: Vulkan
VK-GL-CTS issue: 1668
Change-Id: Iae250c3bc1ecc1d7b022e3b351f77deb03ec3ac4
Alexander Galazin [Fri, 5 Apr 2019 12:08:54 +0000 (14:08 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: Ibed5ee188a8f7bdeb4f07e729a7dc76408528d33
Alexander Galazin [Fri, 5 Apr 2019 11:00:13 +0000 (13:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Iea26f0e9f9c0d8b69d99fa4b0763269f420858df
Alexander Galazin [Fri, 5 Apr 2019 10:58:45 +0000 (12:58 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I1e1913b4571e7a001879b3a0a597eafc0f48d828
Nikita Bart [Wed, 27 Mar 2019 13:13:00 +0000 (14:13 +0100)]
Handle BUFFER_DYNAMIC and UPDATE_AFTER_BIND interaction
"descriptorset_random" tests were violating the spec's requirement that
bindings with VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT bit
cannot be used with BUFFER_DYNAMIC descriptor types in one set.
Testing of UPDATE_AFTER_BIND bindings is disabled
in order to conform to the requirement.
Fix validation of inline UBO with variable descriptor count
When used with variable descriptor count inline UBO's were read
and written out of allocated size, which is set in
VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.descriptorCount
Components: Vulkan
Affects: dEQP-VK.binding_model.descriptorset_random.*
VK-GL-CTS issue: 1708
Change-Id: I9e97b701897961aedf8a746b72a1070ccd3b04e7
Ari Suonpaa [Mon, 25 Mar 2019 07:57:21 +0000 (09:57 +0200)]
Add tests for provoking vertex
Only some of the primitives were tested for correct provoking
vertex functionality, and lines required strict rasterization
feature. These new tests cover all primitive types with no
extra feature requirements.
New tests:
dEQP-VK.rasterization.provoking_vertex.*
Components: Vulkan
VK-GL-CTS issue: 1655
Change-Id: I1bdd1249b3b7f991137ec1d5d1984d9206e7b64f
Alexander Galazin [Thu, 4 Apr 2019 19:04:28 +0000 (21:04 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: I8c138909bd4e4d0f5ea21132ddfef2fabb3d6c03
Alexander Galazin [Thu, 4 Apr 2019 18:52:34 +0000 (20:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: Iae6020003b47aa1903dfc1f9917383de6a33fb57
Alexander Galazin [Thu, 4 Apr 2019 18:52:02 +0000 (14:52 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3" into vulkan-cts-1.1.3
Alexander Galazin [Wed, 3 Apr 2019 16:23:33 +0000 (18:23 +0200)]
Blacklist 1.0.2.x versions
1.0.2.x is withdrawn. Recent drivers shouldn't advertise these versions.
Components: Vulkan
Affects: dEQP-VK.api.driver_properties.properties
Change-Id: I5e7417d0561381dd0365edef9f17609cc5f2a5aa
Alexander Galazin [Thu, 4 Apr 2019 18:22:37 +0000 (20:22 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.2 into vk-gl-cts/vulkan-cts-1.1.3
Change-Id: I353dac50e06609d2783125bf22aee21f27c9939a
Anthony Pesch [Tue, 26 Mar 2019 16:24:17 +0000 (12:24 -0400)]
Fix buffer RAW hazards in MultiQueue synchronization tests
The MultiQueue tests emit barriers between command buffers for two reasons:
1. To express the data dependencies between different pipeline stages.
2. To transfer ownership of the resource between queue families.
The exclusive sharing mode tests need both of these barriers, while the
concurrent mode tests only need to describe the data dependency.
Previously, a barrier was only emitted for the exclusive tests, causing
the concurrent tests to not have a barrier expressing the data dependencies
between the pipeline stages. Now the data dependencies are described for
both the exlusive and concurrent tests, while the ownership transfer is
only performed for exclusive tests.
Affects: dEQP-VK.synchronization.op.multi_queue.*.write_*_read_*.buffer_*
Components: Vulkan
VK-GL-CTS issue: 1650
Change-Id: Ic3bc83a7dcab8686754aea5267afeb10090038d0
(cherry picked from commit
93dc8a343c7ea67a2c8ffb694b45ff44703fbe6f)
Anthony Pesch [Tue, 26 Mar 2019 16:24:17 +0000 (12:24 -0400)]
Fix buffer RAW hazards in MultiQueue synchronization tests
The MultiQueue tests emit barriers between command buffers for two reasons:
1. To express the data dependencies between different pipeline stages.
2. To transfer ownership of the resource between queue families.
The exclusive sharing mode tests need both of these barriers, while the
concurrent mode tests only need to describe the data dependency.
Previously, a barrier was only emitted for the exclusive tests, causing
the concurrent tests to not have a barrier expressing the data dependencies
between the pipeline stages. Now the data dependencies are described for
both the exlusive and concurrent tests, while the ownership transfer is
only performed for exclusive tests.
Affects: dEQP-VK.synchronization.op.multi_queue.*.write_*_read_*.buffer_*
Components: Vulkan
VK-GL-CTS issue: 1650
Change-Id: Ic3bc83a7dcab8686754aea5267afeb10090038d0
David Neto [Thu, 28 Mar 2019 21:32:41 +0000 (17:32 -0400)]
vktAmberTestCase::parse second argument is a string
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.compute.signed_int_compare.*
VK-GL-CTS issue: 1702
Change-Id: I64f6bcf60904647b6e0a473941313ad09142ae3d
Mika Väinölä [Tue, 12 Mar 2019 12:59:29 +0000 (14:59 +0200)]
Test multiple interpolations in a shader stage
Add tests for rendering simultaneously into multiple attachments using
different interpolation decorations. Verify result by rendering with
only one interpolation and attachment at a time. Check that each result
matches only with the reference frame using the same interpolation
decoration, with the exception of smooth and centroid without
multisampling.
New tests:
dEQP-VK.draw.multiple_interpolation.*
Components: Vulkan
VK-GL-CTS issue: 1110
Change-Id: I55ca7fad937b29e81512b0ee100ca8e811b7cf73
Boris Zanin [Wed, 3 Apr 2019 10:14:26 +0000 (12:14 +0200)]
Fix damage binary length field in shadercacheSave
Hash cache collision does not mean that binary
would be of same length.
Function shadercacheSave does not account it and
overwrites original binary length with cached
binary length.
Components: Framework
VK-GL-CTS issue: 1717
Change-Id: Iaabce787725c584b9735e959b572ca7667addde4
(cherry picked from commit
7871b6a8e263e1fddefbdbfbf1ca19e657f384ec)
Ari Suonpaa [Tue, 29 Jan 2019 11:14:57 +0000 (13:14 +0200)]
Use nonsymmetric dimensions for attachment clear tests
Attachment clear tests were all using a size of 256x256.
Clear rects were calculated from width and height, which
didn't cover a case where coordinate axis would be mixed
up. The image dimensions were changed to 200x180 to fix
this and to also test non-power-of-two images. The clear
rectangles were also offset to avoid having them
symmetrical when mirroring x or y axis.
Affects:
dEQP-VK.api.image_clearing.core.*
Components: Vulkan
VK-GL-CTS issue: 1550
Change-Id: I84d28ee69f87c72a5d49592fa939e47d6a701671
Boris Zanin [Wed, 3 Apr 2019 10:14:26 +0000 (12:14 +0200)]
Fix damage binary length field in shadercacheSave
Hash cache collision does not mean that binary
would be of same length.
Function shadercacheSave does not account it and
overwrites original binary length with cached
binary length.
Components: Framework
VK-GL-CTS issue: 1717
Change-Id: Iaabce787725c584b9735e959b572ca7667addde4
Alexander Galazin [Thu, 4 Apr 2019 09:06:52 +0000 (11:06 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/master
Change-Id: I8b1dcfaafb773837fcd42b1b7273518da7047532
Alexander Galazin [Thu, 4 Apr 2019 09:05:26 +0000 (11:05 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.3 into vk-gl-cts/vulkan-cts-1.1.4
Change-Id: I0944cd90d64d01363cdbf8ce6b1007987bf7857c
Alexander Galazin [Tue, 2 Apr 2019 13:30:31 +0000 (15:30 +0200)]
Update Amber
Components: Framework
Change-Id: Ic93584c4f88a3bc2dfd62c24436de71e70213577