Alexander Galazin [Mon, 28 Jun 2021 09:06:20 +0000 (11:06 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: Ie5d0cb8afc3633ffca1b8ab8fbd712bc9819a23c
Alexander Galazin [Mon, 21 Jun 2021 11:25:34 +0000 (13:25 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: I8c55cf4b0e5ecca25207143501372d8ea43b8d66
Ricardo Garcia [Mon, 7 Jun 2021 08:23:16 +0000 (10:23 +0200)]
Check shader image atomic mandatory features
Make sure implementations expose shaderImage*Atomics if
sparseImage*Atomics is supported.
Affected tests:
dEQP-VK.info.device_mandatory_features
Components: Vulkan
VK-GL-CTS issue: 2957
Change-Id: I7d07f807d5afddf9979f862d455029d23fa6c904
Antto Mäkinen [Mon, 7 Jun 2021 14:45:27 +0000 (17:45 +0300)]
Add a batch of GraphicsFuzz coverage tests
This commit adds a batch of GraphicsFuzz coverage tests.
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.cov-clamp-vector-component-condition-using-matrix
dEQP-VK.graphicsfuzz.cov-color-output-undefined-in-unexecuted-branch
dEQP-VK.graphicsfuzz.cov-empty-loop-minus-one-modulo-variable-one
dEQP-VK.graphicsfuzz.cov-float-array-init-pow
dEQP-VK.graphicsfuzz.cov-fract-asin-undefined-never-used
dEQP-VK.graphicsfuzz.cov-function-fragcoord-condition-always-return
dEQP-VK.graphicsfuzz.cov-global-loop-counter-squared-comparison
dEQP-VK.graphicsfuzz.cov-isnan-asinh-clamp-always-zero
dEQP-VK.graphicsfuzz.cov-loop-dfdx-constant-divide
dEQP-VK.graphicsfuzz.cov-loop-integer-half-minus-one
dEQP-VK.graphicsfuzz.cov-min-intbitstofloat-undefined-never-used
dEQP-VK.graphicsfuzz.cov-pow-identical-value-sqrt
dEQP-VK.graphicsfuzz.cov-pow-undefined-result-condition-with-always-true
dEQP-VK.graphicsfuzz.cov-struct-float-array-mix-uniform-vectors
dEQP-VK.graphicsfuzz.cov-switch-fallthrough-variable-from-first-case
Change-Id: I239e7263068ddb6216f97c447e733cc2857fecfd
Samuel Iglesias Gonsálvez [Wed, 2 Jun 2021 13:18:44 +0000 (15:18 +0200)]
Add timestamp query test variants with availability bit
There was missing vkCmdCopyQueryPoolResults() and
vkGetQueryPoolResults() variants with availability bit flag.
Components: Vulkan
VK-GL-CTS issue: 2950
Added tests:
dEQP-VK.pipeline.timestamp.*with_availability_bit
Modified tests:
dEQP-VK.pipeline.timestamp.*
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Change-Id: I7e6fbb9d6e6f3b4b8c7ae1559a9bd7b23120d241
Alexander Galazin [Wed, 16 Jun 2021 09:38:56 +0000 (11:38 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/master
Change-Id: I5c61c18e70c4065effbf14c1e74b6f5b4b45c358
Alexander Galazin [Wed, 16 Jun 2021 08:16:56 +0000 (10:16 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/vulkan-cts-1.2.6
Change-Id: I2e92c964d1df15e5abfc47567f8a914892fc7cd9
Alexander Galazin [Wed, 16 Jun 2021 07:43:06 +0000 (09:43 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/vulkan-cts-1.2.5
Change-Id: I01d6cedef0b807be928ba68d3aab64fd3d045d8d
Antto Mäkinen [Fri, 26 Feb 2021 10:10:57 +0000 (12:10 +0200)]
Add a GraphicsFuzz test
Adds a GraphicsFuzz test which has been separated by request.
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.spv-stable-pillars-volatile-nontemporal-store
Change-Id: I506e7460f4fc472638a168a30c572d159f46a3c7
Antto Mäkinen [Fri, 23 Apr 2021 14:40:30 +0000 (17:40 +0300)]
Add a batch of GraphicsFuzz coverage tests
This commit adds a batch of GraphicsFuzz coverage tests.
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.cov-array-copies-loops-with-limiters
dEQP-VK.graphicsfuzz.cov-bitfieldreverse-loop-limit-underflow
dEQP-VK.graphicsfuzz.cov-condition-loop-index-bitwise-not
dEQP-VK.graphicsfuzz.cov-descending-loop-min-max-always-zero
dEQP-VK.graphicsfuzz.cov-global-loop-bound-true-logical-or
dEQP-VK.graphicsfuzz.cov-global-loop-counter-multiply-one-minus
dEQP-VK.graphicsfuzz.cov-loop-condition-double-negate
dEQP-VK.graphicsfuzz.cov-loop-increment-matrix-element-break-after-first-iteration
dEQP-VK.graphicsfuzz.cov-loop-logical-xor
dEQP-VK.graphicsfuzz.cov-nested-functions-accumulate-global-matrix
dEQP-VK.graphicsfuzz.cov-nested-loop-undefined-smoothstep-never-executed
dEQP-VK.graphicsfuzz.cov-one-minus-clamp-always-one-cast-to-int
Change-Id: Ic3a4703622da470b4551fb5d5836c146897ec7bc
Ricardo Garcia [Wed, 9 Jun 2021 11:28:55 +0000 (13:28 +0200)]
Fix dEQP-VK.info.device_extensions not working
The test is using the list of extension dependencies for instances
instead of devices, so it's actually not checking anything in most
cases.
Affected tests:
dEQP-VK.info.device_extensions
Components: Vulkan
VK-GL-CTS issue: 2959
Change-Id: I8ee2ea10f98e1dd45590edc2b5cc8e0c3e21890b
Ricardo Garcia [Wed, 9 Jun 2021 10:11:56 +0000 (12:11 +0200)]
SPIR-V 1.4 test fixes
This commit fixes a couple of SPIR-V 1.4 tests that had inconsistent
requirements in the Amber script and in the CTS side. In one case we're
dropping the requirement from Amber and in the other one we're adding
the requirement to CTS.
Affected tests:
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrnotequal.variable_pointers_vars_wg_not_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.hlsl_functionality1.member_decorate_string
Components: Vulkan
VK-GL-CTS issue: 2958
Change-Id: If1e58bc028ce3756623a241bb259024ef077c815
Ricardo Garcia [Tue, 8 Jun 2021 10:16:39 +0000 (12:16 +0200)]
Skip unsupported allocations in invariance test
dEQP-VK.api.invariance.random is a test that performs a high number of
memory allocations (1000 as of this commit). Some of them may throw a
not supported exception that wasn't being caught and would result in the
whole test being marked as unsupported.
This change catches the exception and only returns "not supported" if
none of the allocations were supported. Otherwise, it runs all possible
allocations and checks results for the supported ones.
Affected tests:
dEQP-VK.api.invariance.random
Components: Vulkan
VK-GL-CTS issue: 2110
Change-Id: I92163c42e33671291dd9fc0c753dc43b4a058796
Alexander Galazin [Wed, 16 Jun 2021 06:52:23 +0000 (08:52 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I89ac6a1c9b0b7d908be65033c47371f60cc880cb
Slawomir Cygan [Wed, 19 May 2021 15:18:48 +0000 (17:18 +0200)]
Do not exceed heap size when allocating memory
It is invalid to make larger allocations than heap size.
Components: Vulkan
VK-GL-CTS Issue: 2927
Change-Id: I738356254d95a152a2bb89d711eb6b3f047b405c
Affects: dEQP-VK.memory.mapping
Jeff Bolz [Mon, 1 Jun 2020 17:23:26 +0000 (12:23 -0500)]
Subgroup and workgroup reconvergence tests.
These tests run shaders with randomly-generated control
flow and use subgroup operations to check whether subgroups
reconverge when control flow merges. The non-experimental
tests exercise the
VK_KHR_shader_subgroup_uniform_control_flow extension,
and the experimental tests go further and exercise maximal
reconvergence (and also increase the number of tests).
New Tests: dEQP-VK.reconvergence.*
New Tests: dEQP-VK-experimental.reconvergence.*
Component: Vulkan
Change-Id: I83136ad1aca6daece4a612a58d93aa175a2c5184
(cherry picked from commit
09f8fc2e7ecbbf97a2a30eeb4c6ce2c4e0ecb160)
Alan Baker [Tue, 2 Jun 2020 19:49:54 +0000 (15:49 -0400)]
Tests for VK_KHR_shader_subgroup_uniform_control_flow
* Updates Amber a version that supports VK_EXT_subgroup_size_control
* Change Amber testcases to use the asm option's SPIR-V version for
glslang compiles
Components: Vulkan
VK-GL-CTS Issue: 2395
New tests: dEQP-VK.subgroups.subgroup_uniform_control_flow.*
Change-Id: I4140385d6326d6b99e259fcd77e807f33b778031
(cherry picked from commit
74f61853ec0a94aeed6fa9443beeeb2c67b99070)
Alexander Galazin [Tue, 15 Jun 2021 15:35:42 +0000 (17:35 +0200)]
Update glslang, SPIR-V Tools and headers
Components: Framework
Change-Id: I71f4cf039e865f45086596beb7cd192c2d02fd53
Antto Mäkinen [Thu, 25 Feb 2021 13:44:28 +0000 (15:44 +0200)]
Shared memory layout tests
Vulkan leaves it to implementations to determine the layout of shared memory.
This test ensures that the fields in the shared memory won't end up
overlapping each other.
This commit also does a minor clean up for the framework core and adds
util functions for comparing types which are common for this and the SSBO tests.
VK-GL-CTS issue: 2372
New Tests:
dEQP-VK.memory_model.shared.*
Components: Vulkan
Change-Id: I4ac0a03f91a5ce699fe03f3c43943fb8eac88850
Slawomir Cygan [Tue, 11 May 2021 14:53:20 +0000 (16:53 +0200)]
Optimize the AS build tests to not use host uncached memory
Use userspace host memory for scratch buffer (instead mapped device memory)
and try using HOST_CACHED memory (if supported) for the accelleration structure.
Components: Vulkan
VK-GL-CTS Issue: 2922
Affects:
dEQP-VK.ray_tracing_pipeline.build.*
dEQP-VK.ray_tracing_pipeline.*
Change-Id: I7592c3f93f2e10766cd1276f37ca51924e1cc16f
Sławomir Cygan [Fri, 4 Jun 2021 15:49:38 +0000 (17:49 +0200)]
Add missing cull flags when counting intersections of rays with triangle-based cubes
Add a cull flags, so each convex geometry is counted once, instead of twice.
Components: Vulkan
VK-GL-CTS Issue: 2890
Affects:
dEQP-VK.ray_tracing_pipeline.misc.*stress*
dEQP-VK.ray_tracing_pipeline.misc.cullmask*
dEQP-VK.ray_tracing_pipeline.misc.mixedPrimTL
Change-Id: Ie2e74149be8bb710c7ae3afb77f5854dca247aca
Slawomir Cygan [Fri, 4 Jun 2021 15:45:39 +0000 (15:45 +0000)]
Revert "Move the hit counting from any hit to closest hit shader stage"
The problem with this test was in cull flags, rather than counting
in 'any hit' shader stage.
This reverts commit
2f33c7beac25308ef85a1856032d7a5936197f83.
VK-GL-CTS Issue: 2890
Change-Id: I066fac55a80ff4f4a93748425517785df8777d06
Affects: dEQP-VK.ray_tracing_pipeline.misc.*stress*
Samuel Iglesias Gonsálvez [Wed, 26 May 2021 11:22:09 +0000 (13:22 +0200)]
Add VK_FORMAT_B10G11R11_UFLOAT_PACK32 vertex input tests
Added tests:
dEQP-VK.pipeline.vertex_input.*.*as_b10g11r11_ufloat_pack32*
Components: Vulkan
VK-GL-CTS issue: 2946
Change-Id: Ibb0d97819d96548cacfca3e8eca966ecb7774e99
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Ricardo Garcia [Thu, 13 May 2021 10:20:45 +0000 (12:20 +0200)]
Test null fragment shading rate attachment pointers
The new variants check passing a null fragment shading rate attachment
pointer has the same effect as not specifying a fragment shading rate
attachment info pointer at all.
New tests:
dEQP-VK.fragment_shading_rate.*.noattachmentptr.*
Components: Vulkan
VK-GL-CTS issue: 2904
Change-Id: If593170f5a0295772a0bab1ea4378a06c2a7864c
Samuel Iglesias Gonsálvez [Wed, 2 Jun 2021 14:41:30 +0000 (16:41 +0200)]
Check resource limits properly
The tests were not checking the resource limits per stage when
creating the shaders, which could create potential issues on
some drivers. Specially the random generated tests.
Affected tests:
dEQP-VK.ssbo.layout.*
Components: Vulkan
VK-GL-CTS issue: 2953
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Change-Id: I7509dce38b849a0dd26f9e47d7f74e637930d897
Ricardo Garcia [Wed, 2 Jun 2021 11:34:48 +0000 (13:34 +0200)]
Capture early errors on instance creation
This commit makes CTS pass a VkDebugReportCallbackCreateInfoEXT
structure in the pNext chain of VkInstanceCreateInfo when creating the
default and other custom instances if validation is enabled from the
command line.
To achieve this, the DebugReportRecorder class has been uncoupled from
the instance and it's no longer responsible of owning the debug report
callback object (VkDebugReportCallbackEXT) that can be created using an
instance. That responsibility now falls into the default device or
custom instance wrapping objects.
This makes it possible to use the DebugReportRecorder in a
VkDebugReportCallbackCreateInfoEXT structure chained when creating
instances before they actually exist, and errors reported during the
instance creation process are handled by the recorder together with
other errors like validation errors.
In addition, the enumerate_devices_alloc_leak test has been modified to
use a custom instance (so it has validation enabled if requested) and
the API tooling info tests have been changed to use the custom instance
creation wrapper function createCustomInstanceFromContext().
Custom instance creation has been improved to detect the lack of
installed validation layers in order to avoid crashes.
Due to these changes affecting the default device and how validation is
enabled when requested, all tests are marked as affected.
Affected tests:
dEQP-VK.*
Components: Vulkan
VK-GL-CTS issue: 2952
Change-Id: I27b78e3cb101142416477ee2460283f917f58a4e
Ilkka Saarelainen [Wed, 24 Feb 2021 08:13:15 +0000 (10:13 +0200)]
Add depth execution mode tests
This CL adds tests for DepthLess, DepthGreater and DepthUnchanged
execution modes.
New tests:
dEQP-VK.spirv_assembly.instruction.graphics.execution_mode.*
Components: Vulkan
VK-GL-CTS issue: 2735
Change-Id: Ib17d8f04b1cd254b85dfad2c779cb84b5e9fde9d
Alexander Galazin [Thu, 10 Jun 2021 08:17:45 +0000 (10:17 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/master
Change-Id: I5de40715011c884f0da041ed927dd418549e7685
Alexander Galazin [Thu, 10 Jun 2021 07:34:25 +0000 (09:34 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7
Change-Id: Ib0f4c996967d629009113c3d17b543fc9218def0
Ricardo Garcia [Wed, 9 Jun 2021 07:42:57 +0000 (09:42 +0200)]
Test instance matrix update after command recording
This commit modifies ray query and ray tracing direction length tests so
the instance transform matrix in the top level acceleration structure is
sometimes updated after the AS build commands have been recorded in the
command buffer.
Affected tests:
dEQP-VK.ray_tracing_pipeline.direction_length.*
dEQP-VK.ray_tracing_pipeline.inside_aabbs.*
dEQP-VK.ray_query.direction_length.*
dEQP-VK.ray_query.inside_aabbs.*
Components: Vulkan
VK-GL-CTS issue: 2881
Change-Id: I9051783443e3775e20ccaa0eab32c5bc2f21d165
Ricardo Garcia [Fri, 21 May 2021 16:29:05 +0000 (18:29 +0200)]
Test null miss shader group handles work
New test that creates a miss shader binding table filled with zeros and
checks everything works as expected.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.null_miss
Components: Vulkan
VK-GL-CTS issue: 2929
Change-Id: Iead899ff0e6371a77d102901c8a8cc7583de49c8
Ricardo Garcia [Tue, 25 May 2021 13:59:33 +0000 (15:59 +0200)]
Test tracing rays from inside AABBs
Test tracing rays from inside AABBs with different Tmin and Tmax values,
origins and directions to verify they always generate a hit due to the
ray origin being located inside the AABB.
New tests:
dEQP-VK.ray_query.inside_aabbs.*
dEQP-VK.ray_tracing_pipeline.inside_aabbs.*
Components: Vulkan
VK-GL-CTS issue: 2928
Change-Id: I6b0a7c3a3bbe68cd2bc3b670c6dabcfa4374d473
Samuel Iglesias Gonsálvez [Tue, 1 Jun 2021 10:46:49 +0000 (12:46 +0200)]
Fix wait semaphore count value
Components: Vulkan
VK-GL-CTS issue: 2949
Fixes:
a47665a6e "Generalize synchronization tests"
Affected tests:
dEQP-VK.synchronization.op.single_queue.binary_semaphore.*
Change-Id: I14bb0d79b67e444b20683a766b769ce3a94a3222
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Marcin Kantoch [Tue, 1 Jun 2021 09:02:50 +0000 (11:02 +0200)]
Fix internal error for fragment stage in RT tests
Previous CL added missing vertex pipeline stores check,
but forgot to do a passthough for fragment stage, which
is causing an internal error.
Affected tests:
dEQP-VK.ray_query.watertightness.*.frag.*
dEQP-VK.ray_query.builtin.*.frag.*
dEQP-VK.ray_query.advanced.*.frag.*
dEQP-VK.binding_model.descriptor_update.acceleration_structure.ray_query.*frag*
Components: Vulkan
VK-GL-CTS issue: 2948
Change-Id: Id8b7a6c13bf8acda3b0fd58e2afd3f61709ed295
Alexander Galazin [Wed, 26 May 2021 07:26:56 +0000 (09:26 +0200)]
Add GL_ARB_separate_shader_objects requirement
Components: OpenGL
Affects: KHR*.shader_subroutine.subroutines_with_separate_shader_objects
VK-GL-CTS public issue: 271
Change-Id: I021776f105ec2ddf310deaf21827e5ce151784af
Alexander Galazin [Wed, 26 May 2021 07:15:00 +0000 (09:15 +0200)]
Raise glsl version to 420 for compute shaders
Components: OpenGL
Affects:
KHR*.pipeline_statistics_query_tests_ARB.*
KHR*.cull_distance.*
KHR*.texture_gather.*
VK-GL-CTS public issue: 257
Change-Id: Ic777e7a821cbab9e6b71e266591352aea2fdd81d
Alexander Galazin [Wed, 26 May 2021 07:20:59 +0000 (09:20 +0200)]
Raise glsl version to 410 core for shaders with GL_ARB_shader_atomic_counters
Components: OpenGL
Affects: KHR*.shader_subroutine.*
VK-GL-CTS public issue: 270
Change-Id: Ifed270991a1b18fb88514d6f0b96f0802498fb56
Alexander Galazin [Tue, 25 May 2021 09:51:18 +0000 (11:51 +0200)]
Remove shaders.switch from the Khronos mustpasses
Components: OpenGL
VK-GL-CTS issue: 2540
Affects: KHR*.shaders.switch.*
Change-Id: I41867656e67adc5077527a6d78791b06cee52c2f
Yiwei Zhang [Wed, 10 Mar 2021 21:58:44 +0000 (21:58 +0000)]
Add a test for VK_EXT_global_priority_query
Components: Vulkan
VK-GL-CTS Issue: 2840
New tests: dEQP-VK.api.device_init.create_device_global_priority_query
Change-Id: I5245711e6db62f5fac06c146e868dfa4e88ab918
(cherry picked from commit
9c2b7bd961ac5f0394011930be9a4b58be37f217)
Alexander Galazin [Mon, 7 Jun 2021 07:02:53 +0000 (09:02 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: I357b284202a389ca269891938630e95edab57124
Ilkka Saarelainen [Mon, 31 May 2021 12:10:38 +0000 (15:10 +0300)]
Fix validation errors in ASTC decode mode tests
The tests were trying to compare the raw contents of each ASTC
block contents between the tested and reference images via UINT and
SINT image views, but the type of the image view must be compatible
with the image format.
This CL changes the test to compare individual sampled texel
values instead of raw ASTC texel block values. The generated
images now contain valid ASTC blocks instead of random values.
Affects:
dEQP-VK.image.astc_decode_mode.*
Components: Vulkan
VK-GL-CTS issue: 2820
Change-Id: I38113725692f754c5de4393b5fad5d333cf99533
Alexander Galazin [Thu, 3 Jun 2021 11:57:54 +0000 (13:57 +0200)]
Allow Vulkan CTS 1.2.6.2
Affects: dEQP-VK.api.driver_properties.properties
Components: Vulkan
Change-Id: Ie6657c70c6a1c51911361570977dd2fb205bd6c1
Alexander Galazin [Thu, 3 Jun 2021 18:02:42 +0000 (20:02 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/master
Change-Id: I070c88e5936fddc054050484c28fd892c6fb8a3a
Alexander Galazin [Thu, 3 Jun 2021 15:15:02 +0000 (17:15 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/vulkan-cts-1.2.6
Change-Id: Id8117502d12cca36e3a414da3df7b8a3bb661cf5
Jari Komppa [Tue, 18 May 2021 12:25:07 +0000 (15:25 +0300)]
Static code analysis fix for bounding box test
After closer analysis turns out the mistake in the code
was using xmin twice; changed to use xmin and xmax.
Affects:
dEQP-GLES31.functional.primitive_bounding_box.call_order.*
Change-Id: I307126c3558e4b8700d3ed808e24c7d85bcb50dc
Components: OpenGL
Jari Komppa [Tue, 11 May 2021 06:52:45 +0000 (09:52 +0300)]
Add timer query handle reuse test for opengl es
This change adds base class for disjoint_timer_query tests
as well as test for handle reuse which was ported from the
GL4+ version.
New test: KHR-GLESEXT.disjoint_timer_query.handle_reuse
Components: OpenGL
VK-GL-CTS issue: 2911
Change-Id: I44421813a5de510e52fb6e1109fb2863856351c6
Boris Zanin [Thu, 27 May 2021 13:36:30 +0000 (15:36 +0200)]
Invalid VkPipelineRasterizationLineStateCreateInfoEXT chained
Some tests get the structure empty (and implementations most
likely ignore it), other tests get the structure with fields
inadequate to the test.
Update tests:
* dEQP-VK.rasterization.*
Components: Vulkan
VK-GL-CTS issue: 2942
Change-Id: Ie485ad55266a53e64c74eab3db31a51d781c9d57
Mika Väinölä [Tue, 25 May 2021 07:21:53 +0000 (10:21 +0300)]
Fix vertex count calculation in XFB query tests
The primitive to vertex count calculation for
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY was
`(primCount + 4u) * 2u` when it should be `primCount * 2u + 4u`.
This change affects the bufferSize parameter passed to the tests.
The vertex count returned by this function is part of the test name
so the affected test cases are also renamed.
Affects:
dEQP-VK.transform_feedback.simple.query*
dEQP-VK.transform_feedback.simple.host_query_reset*
Components: Vulkan
VK-GL-CTS issue: 2934
Change-Id: I59e95a3240c6c45f8caf0dd4dc5b61c593059304
Piers Daniell [Mon, 17 May 2021 19:04:21 +0000 (13:04 -0600)]
Set the recursion depth for chit and miss cases
In the new dEQP-VK.binding_model.descriptor_update.acceleration_structure.ray_tracing.*
group of tests the "chit" and "miss" variants the shaders
generate additional rays, which means their recursion depth needs to be
greater than 1. In both cases "2" covers it.
Affects:
dEQP-VK.binding_model.descriptor_update.acceleration_structure.*
Components: Vulkan
VK-GL-CTS issue: 2924
Change-Id: I7acb1eda10f0ad6c7f2754deaa8451c317b4841b
Samuel Iglesias Gonsálvez [Wed, 19 May 2021 11:25:48 +0000 (13:25 +0200)]
Add depth-stencil tests that do vkCmdCopyImage() with both image aspects
Added tests:
dEQP-VK.api.copy_and_blit.*_depth_stencil_aspects*
Components: Vulkan
VK-GL-CTS issue: 2926
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Change-Id: I9673674035d7a3fbd1947819305ea9dcb8dede6a
marz [Thu, 22 Apr 2021 07:44:52 +0000 (09:44 +0200)]
Test for fragment shading rate in FragCoord.zw
Expansion of cases in pixel consistency test with varying shading rate
applied using zw fragment coordinates.
VK-GL-CTS issue: 2850
Components: Vulkan
Affects:
dEQP-VK.fragment_shading_rate.pixel_consistency.*
Change-Id: I8ba67a603a8b8b3b53f85207b5adae3bbc9ba51b
Samuel Iglesias Gonsálvez [Fri, 21 May 2021 08:30:32 +0000 (10:30 +0200)]
Add tests for vkCmdCopyQueryPoolResults and pipeline statistics
Added tests:
dEQP-VK.query_pool.statistics_query.*cmdcopyquerypoolresults*
Modified tests:
dEQP-VK.query_pool.statistics_query.multiple_queries.*
Renamed tests:
dEQP-VK.query_pool.statistics_query.*dstoffset* to
dEQP-VK.query_pool.statistics_query.*dstoffset_cmdcopyquerypoolresults*
Components: Vulkan
VK-GL-CTS issue: 2656
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Change-Id: I9cb6f4671f772834ca43f24a342323a42266c581
Alexander Galazin [Wed, 2 Jun 2021 07:40:04 +0000 (09:40 +0200)]
Update glslang, SPIR-V Tools/Headers
Components: Framework
Change-Id: I88d7d3fb789c667261db76b143979cb7e7a87f30
Yiwei Zhang [Fri, 28 May 2021 06:47:29 +0000 (06:47 +0000)]
Check return code for vkGetAndroidHardwareBufferPropertiesANDROID
Components: Vulkan
VK-GL-CTS Issue: 2944
Affects: dEQP-VK.api.external.memory.android_hardware_buffer.*
Change-Id: I2da2fe29ae34bd78c3bf2d4e37b002ef58828c12
Vihanakangas [Wed, 3 Feb 2021 10:07:19 +0000 (12:07 +0200)]
Add script for comparing dEQP SwiftShader runs
This submit adds a new script to vk-gl-cts/scripts that checks
for differences/regression in two different deqp-vk runs using regres and SwiftShader.
The script outputs a log of found differences from
the two different runs.
Change-Id: I9bfcc74e581c939a7b541fb7bb2a7141f0b9aeed
Alexander Galazin [Mon, 31 May 2021 07:24:28 +0000 (09:24 +0200)]
Merge vk-gl-cts/github-master into vk-gl-cts/master
Change-Id: Ia2f1289fc2d08e1238e0278067d1cf884e1b8287
Alexander Galazin [Mon, 31 May 2021 07:23:56 +0000 (09:23 +0200)]
Merge pull request #258 from asimiklit/fix/arrayed-tests
Disable explicit location tests for `arrayed` block members
Alexander Galazin [Sat, 29 May 2021 08:00:26 +0000 (10:00 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/master
Change-Id: I7627d6a95d9d8fccff9da037851bd3f11eddc7b5
Alexander Galazin [Fri, 28 May 2021 14:51:16 +0000 (16:51 +0200)]
Update OpenGL mustpass
Components: OpenGL
Change-Id: I0ecc800bfa213c4567354afc5c5cc7c0b96dd00b
Ricardo Garcia [Fri, 28 May 2021 11:53:56 +0000 (13:53 +0200)]
Fix several issues in swapchain tests
This commit fixes the following issues found in the swapchain tests:
- The initial image layout in some render passes did not match the
actual image layout when starting the render pass.
- image_swapchain_create_info tests were using VK_KHR_bind_memory2
functions without activating the extension on the device or making
sure it was core in the used Vulkan API version.
- Many devices were being created with the wrong instance, using the
context instance instead of the custom instance created for the tests.
- Several tests using VK_SHARING_MODE_CONCURRENT did not check for the
availability of two queues or were always using one, which is invalid.
- VkDeviceGroupSwapchainCreateInfoKHR had a wrong sType.
- Swapchain resize tests were calling vkBeginCommandBuffer() on active
command buffers without waiting for them to complete execution.
- Typos and other minor issues.
Affected tests:
dEQP-VK.wsi.*.swapchain.*
Components: Vulkan
VK-GL-CTS issue: 2941
Change-Id: I54d5f46cbcb76617260439a59bf3aef4028309bb
Alexander Galazin [Thu, 13 May 2021 08:56:22 +0000 (10:56 +0200)]
Add AOSP tests to the GL4.5 mustpass
Components: OpenGL
Change-Id: I947a22b7e1f74f343e3b9eed2866a122756ef260
Alexander Galazin [Fri, 28 May 2021 08:37:34 +0000 (10:37 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/vulkan-cts-1.2.6
Change-Id: Ia66e6fb7a5444ffd1f1a5f14ef456c5129e0fd8f
Paul Thomson [Tue, 18 May 2021 10:54:54 +0000 (11:54 +0100)]
Fix surfaceless platform for Android
Fix Vulkan library path on Android and fix config selection when
glu::RenderConfig::DONT_CARE is used.
Affected tests:
dEQP-VK.*
Components: Framework
Change-Id: I8809dd691e144223991a693aa9b90c03cd829a63
Ricardo Garcia [Thu, 13 May 2021 11:50:34 +0000 (13:50 +0200)]
Check supportedAlpha is never zero
According to the spec, the value of supportedAlpha must contain at least
one valid VkDisplayPlaneAlphaFlagBitsKHR bit.
Affected tests:
dEQP-VK.wsi.display.get_display_plane_capabilities
Components: Vulkan
VK-GL-CTS issue: 2718
Change-Id: I4bdba857c8571d38a41bf8d69b10acc2bb5065ee
Samuel Iglesias Gonsálvez [Mon, 17 May 2021 08:04:01 +0000 (10:04 +0200)]
Do not clamp ambiguous snorms values on vkCmdCopy*() functions
As per Vulkan WG agreed, these functions perform a bit-for-bit copy
of the values, even if the result is unrepresentable.
Reverts:
* "Fixes sparse resource SNORM tests"
->
00e745999e771df2a604bf24d85594a69ad441fe
* "copies_and_blitting: fix ambiguous signed normalized 1.0 value"
->
bce4ec47056a0473ccce9cf7951023da80c3b745
Affects:
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.*.r32_sfloat.a8b8g8r8_snorm_pack32*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.*.r32_sfloat.r8g8b8a8_snorm.*
dEQP-VK.sparse_resources.image_sparse_binding.*snorm*
dEQP-VK.sparse_resources.mipmap_sparse_residency.*snorm*
VK-GL-CTS issue: 2917
Componentes: Vulkan
Change-Id: I5878379aa78e68ac7452a83c1a64abf01c9472c8
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Juha Heiskanen [Tue, 11 May 2021 13:02:55 +0000 (16:02 +0300)]
Add writing to invalid multisample indices tests
In these new tests, we check that writes to invalid sample indices are
correctly discarded.
Components: Vulkan
VK-GL-CTS Issue: 2310
New tests:
dEQP-VK.texture.multisample.invalid_sample_index.*
Change-Id: I1feb6f8d44c6cdc526eb5b3ab1d045cd3a181b17
Alexey Knyazev [Mon, 10 May 2021 12:16:20 +0000 (16:16 +0400)]
Add GL_EXT_texture_sRGB_RG8 support
Affects:
dEQP-GLES3.functional.texture.format.sized.*.srgb_rg8*
dEQP-GLES3.functional.texture.filtering.*.formats.srgb_rg8*
dEQP-GLES31.functional.texture.filtering.cube_array.formats.srg8*
dEQP-GLES31.functional.texture.format.sized.cube_array.srgb_rg8*
dEQP-GLES31.functional.srgb_texture_decode.skip_decode.srg8.*
Components: OpenGL, AOSP
Change-Id: I5194f06dbfedc375ade3e8b4fc2e84aa65868df1
Antto Mäkinen [Mon, 12 Apr 2021 11:26:09 +0000 (14:26 +0300)]
Add a batch of GraphicsFuzz coverage tests
This commit adds a batch of GraphicsFuzz coverage tests.
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.cov-cast-float-to-int-and-back
dEQP-VK.graphicsfuzz.cov-clamp-vector-element-ceil-negative
dEQP-VK.graphicsfuzz.cov-clear-yz-inside-condition
dEQP-VK.graphicsfuzz.cov-conditional-discard-inside-loop
dEQP-VK.graphicsfuzz.cov-continue-break-discard-return-in-loop
dEQP-VK.graphicsfuzz.cov-cosh-clamped-to-one
dEQP-VK.graphicsfuzz.cov-double-if-true-in-loop
dEQP-VK.graphicsfuzz.cov-for-loop-min-increment-array-element
dEQP-VK.graphicsfuzz.cov-if-true-discard-in-do-while-never-reached
dEQP-VK.graphicsfuzz.cov-increment-float-in-loop-abs
dEQP-VK.graphicsfuzz.cov-increment-vector-component-with-matrix-copy
dEQP-VK.graphicsfuzz.cov-matching-conditions-break
dEQP-VK.graphicsfuzz.cov-matching-if-always-true-inside-loop
dEQP-VK.graphicsfuzz.cov-rcp-negative-int
dEQP-VK.graphicsfuzz.cov-return-after-first-iteration
Change-Id: I0dd986b855b4ce4c14fe653cfb069f1d038f6cdc
Sunny Sun [Thu, 27 May 2021 07:44:36 +0000 (15:44 +0800)]
Add a glMemoryBarrier between buffer write and read
The tests' behavior is like this:
1. Use transform feedback to write to one buffer
2. Set this buffer to texture, and then to image
3. glDispatchCompute -> use ImageLoad to read from the image
We have to add a glMemoryBarrier between step 1 and 3.
Affects:
KHR-GLES3*.core.texture_buffer.texture_buffer_operations_transform_feedback
Components: OpenGL
VK-GL-CTS issue: 2936
Change-Id: If711469a6cbf4ae1df6851e4006d937760e37ca7
Vihanakangas [Fri, 7 May 2021 14:33:38 +0000 (17:33 +0300)]
Add permutations of different cases on existing test
A test for copying a partial image with npot dimensions,
differing format from source to destination and clearing
of image was previously added. This commit adds different variations
of said test.
New tests:
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_pot_diff_format_clear
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_npot_diff_format_noclear
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_pot_diff_format_noclear
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_npot_same_format_clear
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_pot_same_format_clear
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_npot_same_format_noclear
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_pot_same_format_noclear
Affects:
dEQP-VK.api.copy_and_blit.copy_commands2.image_to_image.simple_tests.partial_image_npot_diff_format_clear
Components: Vulkan
VK-GL-CTS issue: 2683
Change-Id: Ib82339d66e451e34a633e45f50ed8981db21731a
Samuel Iglesias Gonsálvez [Wed, 5 May 2021 10:35:49 +0000 (12:35 +0200)]
Add multiple statistics query tests
Add tests for different query operations:
* Multiple statistics query flags enabled but only input assembly
vertices and primitives together with vertex or fragment shader
invocations.
* Partial queries.
* Add tests with/without wait flag.
* Getting query values with vkCmdCopyQueryPoolResults() and
vkGetQueryPoolResults()
- Usage of dstOffset in vkCmdCopyQueryPoolResults().
Components: vulkan, framework
VK-GL-CTS issue: 2909
Added tests:
dEQP-VK.query_pool.statistics_query.multiple_queries.*
Change-Id: I2dd5412e20268c7997a870dd33a1f3c0a1779600
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Ricardo Garcia [Tue, 20 Apr 2021 07:05:03 +0000 (09:05 +0200)]
Use arrays of pointers with non-identity matrices
Ray tracing tests were lacking coverage for using non-identity matrices
while instanceData.arrayOfPointers is set to true. This commit modifies
ray direction tests, notable for using non-identity matrices, so every
other case uses arrays of pointers for both instance data and the
ppGeometries build geometry info structure when creating the top level
acceleration structure.
Affected tests:
dEQP-VK.ray_tracing_pipeline.direction_length.*
dEQP-VK.ray_query.direction_length.*
Components: Vulkan
VK-GL-CTS issue: 2881
Change-Id: I6464673a3d62f2b77ae3ad428de09d30be123ea7
Mikko Tiusanen [Thu, 22 Apr 2021 09:06:45 +0000 (12:06 +0300)]
Remove empty subtest
Removed subtest function definitions and empty (always passing,
test not run) implementation for integer_constant_expression.
Affects:
KHR-GLES31.core.layout_binding.sampler2D_layout_binding_texture_FragmentShader
Components: OpenGL, OpenGL ES
VK-GL-CTS issue: 2232
Change-Id: I42fa99f09895d00adeb25123e26c4dbaefeb498f
Mikko Tiusanen [Mon, 10 May 2021 07:32:09 +0000 (10:32 +0300)]
Lower vector constructor test shader version
Changed shaders in GLSL vector constructor tests
to require version tag matching the OpenGL 3.0
specification.
Affects:
KHR-GL30.shaders30.glsl_constructors.*
Components: OpenGL
VK-GL-CTS issue: 2892
Change-Id: I2fdff3de489bfa20115270e542104d06aeb65b0f
Mikko Tiusanen [Tue, 16 Mar 2021 08:16:05 +0000 (10:16 +0200)]
Test framebuffer completeness when layered rendering
Added OpenGL ES tests for rendering to layered (cube map) framebuffer.
VK-GL-CTS issue: 2801
Components: OpenGL
Change-Id: I1cede4806af33520612b7335d553df7da119520e
Alexander Galazin [Wed, 26 May 2021 10:40:11 +0000 (12:40 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/master
Change-Id: Ie5c97143a71df2572ed345e6bddf2937e81e4573
Alexander Galazin [Wed, 26 May 2021 10:03:17 +0000 (12:03 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/vulkan-cts-1.2.6
Change-Id: I693041c49bff85c924472119584f938c958ea7eb
Slawomir Cygan [Wed, 19 May 2021 16:04:58 +0000 (18:04 +0200)]
Allow false positive hits from build-in AABBs intersector
This extends the fix from
7ff1f9cd to 'mixed' tests, which
also use AABBs.
This change allows the test to execute any hit shader,
in case of AABB geometry is used and the ray falsely 'intersects'
it.
This is needed, as the test does not calculate the proper
intersection in 'intersection' stage - it uses a shader that always
reports TRUE. Hence the test relies on build-in AABB
intersector, which may report false positives according to the
specification.
VK-GL-CTS Issue: 2848
Components: Vulkan
Affects: dEQP-VK.ray_tracing_pipeline.build.*mix*
Change-Id: Ia962992df866b68f84714dcb6429a1a90499d9b6
Alexander Galazin [Wed, 26 May 2021 09:15:08 +0000 (11:15 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/vulkan-cts-1.2.5
Change-Id: I5a38303ad269d39786584512a105e0e4b636eca1
Alexander Galazin [Wed, 26 May 2021 08:45:36 +0000 (10:45 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I2182f671aa88657e150c9d987713b93920377b23
Alexander Galazin [Wed, 26 May 2021 07:43:38 +0000 (09:43 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I6a05c3d94da3f1f6397b029997d6d43db2439548
Alexander Galazin [Wed, 26 May 2021 07:01:29 +0000 (09:01 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: Ib9e1ec8639e95a5bda7c361e1db102b5f4f94194
Matthew Netsch [Fri, 26 Feb 2021 19:51:41 +0000 (11:51 -0800)]
Fixes ycbcr copy tests using NaNs
Removes NaNs from the source images
Components: Vulkan
VK-GL-CTS issue: 2772
Affects:
dEQP-VK.ycbcr.copy.*
Change-Id: I52d279633e081ecce0ef93681c4d199296de6107
Alexander Galazin [Fri, 21 May 2021 15:29:56 +0000 (17:29 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.6 into vk-gl-cts/master
Change-Id: I8f74d90e51fc450a85239f6c65fcc792e8e370b6
Alexander Galazin [Fri, 21 May 2021 13:36:11 +0000 (15:36 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/vulkan-cts-1.2.6
Change-Id: If63af4526f72fc1f214b60c4c9d891718bf2b440
Alexander Galazin [Fri, 21 May 2021 12:12:54 +0000 (14:12 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/vulkan-cts-1.2.5
Change-Id: I768331416f61a0a76c6bff504e0fedd545080f22
Alexander Galazin [Fri, 21 May 2021 11:34:48 +0000 (13:34 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I9ac48fcdfe6e253139ccde50371b9dbfa31ce437
Alexander Galazin [Fri, 21 May 2021 10:05:50 +0000 (12:05 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I9a085c6867ee119951a839b0d5eecb7fcf351029
Alexander Galazin [Fri, 21 May 2021 09:18:08 +0000 (11:18 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: I575ea750c7a89ec9f8306537a4bc3f7fbb64a619
fred jin [Fri, 2 Apr 2021 07:39:07 +0000 (15:39 +0800)]
Fix precision issue in ShaderMatrixTest
According to the Spec, the compiler is free to promote computation
precisions, and such promotion depends on the specific shader
content or compiler.
When tests use the lowp or mediump precision in the shaders, It
can't confirm the final computation precision. Now the precision
of the shader inputs is highp, if the real computing precision in
GPU HW is lowp or mediump. It can easily get the comparison failure.
So it's better to adjust the precision of the inputs as the expected
precision in the specific tests.
Affects:
dEQP-GLES3.functional.shaders.matrix.*
Components: OpenGL
VK-GL-CTS issue: 2863
Change-Id: I30af699da12bf88596e7046922b2f1f00d5d3f06
Boris Zanin [Sun, 16 May 2021 18:04:30 +0000 (20:04 +0200)]
Remove unused check
This check is useless here. Remove it.
Also a year later there was a specification issue #1222 "Should
requiresDedicatedAllocation imply requiresDedicatedAllocation?"
That clarified this question and specification now contains
following paragraph totally invalidating this check:
When the implementation sets requiresDedicatedAllocation to VK_TRUE,
it must also set prefersDedicatedAllocation to VK_TRUE.
Update tests:
* dEQP-VK.memory.requirements.dedicated_allocation.buffer.*
* dEQP-VK.memory.requirements.dedicated_allocation.image.*
Components: Vulkan
VK-GL-CTS issue: 391
VK-GL-CTS public issue: 267
Change-Id: I557d3c0fac752ec2f42db7e6dcd78787a0c69a26
Antto Mäkinen [Fri, 23 Apr 2021 11:32:43 +0000 (14:32 +0300)]
Add a batch of GraphicsFuzz coverage tests
This commit adds a batch of GraphicsFuzz coverage tests.
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.cov-atan-trunc-vec4
dEQP-VK.graphicsfuzz.cov-bitwise-inverse-uniform-condition
dEQP-VK.graphicsfuzz.cov-clamp-loop-limit-increment-float-array
dEQP-VK.graphicsfuzz.cov-clamp-lower-limit-from-always-false
dEQP-VK.graphicsfuzz.cov-function-vec2-never-discard
dEQP-VK.graphicsfuzz.cov-global-loop-counter-float-accumulate-matrix
dEQP-VK.graphicsfuzz.cov-int-div-round-to-zero
dEQP-VK.graphicsfuzz.cov-loop-abs-multiply-offset
dEQP-VK.graphicsfuzz.cov-loop-increment-or-divide-by-loop-index
dEQP-VK.graphicsfuzz.cov-matrix-double-transpose
dEQP-VK.graphicsfuzz.cov-nested-loops-global-loop-counter-do-while-accumulate-float
dEQP-VK.graphicsfuzz.cov-set-output-color-function-call-nested-loop
dEQP-VK.graphicsfuzz.cov-texel-double-negation
dEQP-VK.graphicsfuzz.cov-unused-matrix-copy-inside-loop
dEQP-VK.graphicsfuzz.cov-vector-illegal-index-never-executed
Change-Id: I26425024458bb5e080647194e90a87cc7e8512d8
Alexander Galazin [Thu, 20 May 2021 06:51:53 +0000 (08:51 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/master
Change-Id: I37c6ded86ee2b7242e2146185b7683147fcdf234
Mika Väinölä [Thu, 29 Oct 2020 12:06:09 +0000 (14:06 +0200)]
Add XFB tests for VK_EXT_provoking_vertex
Test that the positions of provoking vertices are preserved in
transform feedback when transformFeedbackPreservesProvokingVertex
is advertised.
New tests:
dEQP-VK.rasterization.provoking_vertex.transform_feedback.*
Affects:
dEQP-VK.rasterization.provoking_vertex.*
Components: Vulkan
VK-GL-CTS issue: 2615
Change-Id: Id9cc1884487d204f1993aab0c8a0f618f32eb7c4
(cherry picked from commit
16663f3d6416027a00decc9810a4cfbd1d0457eb)
Mika Väinölä [Thu, 12 Dec 2019 11:12:16 +0000 (13:12 +0200)]
Add tests for VK_EXT_provoking_vertex
Replace VkScript-based provoking vertex tests with one file that tests
both the default Vulkan provoking vertex convention and different
provoking vertex modes provided by VK_EXT_provoking_vertex.
New tests:
dEQP-VK.rasterization.provoking_vertex.default.*
dEQP-VK.rasterization.provoking_vertex.first.*
dEQP-VK.rasterization.provoking_vertex.last.*
dEQP-VK.rasterization.provoking_vertex.per_pipeline.*
Affects:
dEQP-VK.rasterization.provoking_vertex.*
Components: Vulkan
VK-GL-CTS issue: 2092
Change-Id: I472c8c15ca1c0ad51a2dcc16ef9fa3d5f6ba5fa7
(cherry picked from commit
2d23e0e1a180c4dc8b5bcde8a4713527b7ef50b9)
Jari Komppa [Tue, 27 Apr 2021 12:27:51 +0000 (15:27 +0300)]
Static code analysis fixes for GL cts
This change contains multiple static code analysis fixes,
including uninitialized member variables, initialization
order and buffer overruns.
In theory these changes shouldn't change the tests, but
due to the nature of the changes, some behavior changes
may occur.
Due to the large number of files changed, the affects
mask is over-wide.
Affects:
dEQP-GL*
KHR-*
Change-Id: I57518c38fca9775691f02edfc0cbeee28294bc1e
Components: Framework, OpenGL
Ari Suonpaa [Fri, 23 Apr 2021 12:44:35 +0000 (15:44 +0300)]
Add tests for multidimensional atomic counter array
VK-GL-CTS Issue: 1916
New tests:
KHR-GLES31.core.shader_atomic_counters.advanced-usage-multidim-array*
Components: OpenGL ES
Change-Id: Ic3013a5be424238afca0f20e16ef94d3076acfdb
Slawomir Cygan [Thu, 13 May 2021 12:00:14 +0000 (12:00 +0000)]
Revert "Remove too long ray_tracing.build tests"
This reverts commit
6e14c25f5d049cb0dadebdd8a48392721b8a4d0b.
This reinstates long ray_tracing.build tests
VK-GL-CTS Issue: 2896
Components: Vulkan
Change-Id: I1b0ecaa3eeb63f5ca82d7bffe790979e21d08b7c
Affects: dEQP-VK.ray_tracing_pipeline.build.*
Ricardo Garcia [Wed, 12 May 2021 14:53:19 +0000 (16:53 +0200)]
Add missing vertex pipeline stores check with ray queries
Several tests related to ray queries were performing image stores from
vertex pipeline shader stages without checking support for vertex
pipeline stores and atomics support.
Affected tests:
dEQP-VK.ray_query.watertightness.*.vert.*
dEQP-VK.ray_query.watertightness.*.tesc.*
dEQP-VK.ray_query.watertightness.*.tese.*
dEQP-VK.ray_query.watertightness.*.geom.*
dEQP-VK.ray_query.builtin.*.vert.*
dEQP-VK.ray_query.builtin.*.tesc.*
dEQP-VK.ray_query.builtin.*.tese.*
dEQP-VK.ray_query.builtin.*.geom.*
dEQP-VK.ray_query.advanced.*.vert.*
dEQP-VK.ray_query.advanced.*.tesc.*
dEQP-VK.ray_query.advanced.*.tese.*
dEQP-VK.ray_query.advanced.*.geom.*
dEQP-VK.binding_model.descriptor_update.acceleration_structure.ray_query.*vert*
dEQP-VK.binding_model.descriptor_update.acceleration_structure.ray_query.*tesc*
dEQP-VK.binding_model.descriptor_update.acceleration_structure.ray_query.*tese*
dEQP-VK.binding_model.descriptor_update.acceleration_structure.ray_query.*geom*
Components: Vulkan
VK-GL-CTS issue: 2907
Change-Id: I1d13c227bb52dfad393c9b52681083598bff2f80
Samuel Iglesias Gonsálvez [Thu, 29 Apr 2021 08:37:42 +0000 (10:37 +0200)]
Add vkCmdCopyQueryPoolResults() tests with dstOffset != 0
Components: Vulkan
VK-GL-CTS issue: 2909
Added tests:
dEQP-VK.query_pool.*dstoffset*
Change-Id: Ib8b7173a58f370f0f7bb48a5d6a7de07621be096