Dominik Witczak [Thu, 17 Sep 2020 07:27:35 +0000 (09:27 +0200)]
Add tests verifying the impl can trace as many rays in a single dispatch as reported.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.maxrtinvocations_*
Changed tests:
dEQP-VK.ray_tracing_pipeline.misc.NO_DUPLICATE_ANY_HIT_*
Components: Vulkan
VK-GL-CTS issue: 2481
Change-Id: Ib66b022e2cd09ef806ad87232050e1c248d8358
Dominik Witczak [Thu, 10 Sep 2020 14:04:59 +0000 (16:04 +0200)]
Re-introduce AS stress tests which have been accidentally removed while I was away.
NOTE: These are NOT new tests, so this change can be considered as safe to merge, as soon
as Jenkins confirm it builds correctly.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.AS_stresstest_*
Components: Vulkan
VK-GL-CTS issue: 2444
Change-Id: I0dfd652302f69900a82a88fe17aed9244394f37f
Dominik Witczak [Wed, 16 Sep 2020 16:21:00 +0000 (18:21 +0200)]
New tests verifying ray payloads work as expected.
The new tests fill ray payload with data in rgen shader stage,
and dump input ray payload data seen in ahit/chit/miss shader stages
into storage buffer, later verified by CPU.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.raypayloadin_*
Components: Vulkan
VK-GL-CTS issue: 2548
Change-Id: I6f7bb03781e0fda8163b1df7bdaadfe9914f678f
Dominik Witczak [Thu, 10 Sep 2020 13:02:43 +0000 (15:02 +0200)]
Extend existing RT ray query tests to include gl_RayQueryCommittedIntersectionNoneEXT
New tests:
dEQP-VK.ray_query.builtin.getintersectiontypeCandidate.*
dEQP-VK.ray_query.builtin.getintersectiontypeCommitted.*
Components: Vulkan
VK-GL-CTS issue: 2549
Change-Id: I97cbfd596b7eaea4767a6c93a1c5f953719757ec
Dominik Witczak [Thu, 10 Sep 2020 11:06:20 +0000 (13:06 +0200)]
Add tests that 1) recursively invoke callable shaders 2) use dynamic/default stack sizes
New tests:
dEQP-VK.ray_tracing_pipeline.misc.callableshaderstress_*
Components: Vulkan
VK-GL-CTS issue: 2486, 2487
Change-Id: If5aec26fb616e1bbae8999b4e97bc206c7871a63
Dominik Witczak [Thu, 10 Sep 2020 11:36:54 +0000 (13:36 +0200)]
New RT tests which verify >1 simultaneous ray queries and rayQueryTerminate() work as per spec.
New tests:
dEQP-VK.ray_query.builtin.rayqueryterminate.*
Components: Vulkan
VK-GL-CTS issue: 2474, 2478
Change-Id: I122559838676891fa9ed67615ff9e184aa0d6a89
Dominik Witczak [Tue, 18 Aug 2020 16:22:26 +0000 (18:22 +0200)]
Add tests verifying that setting unused cull mask bits does not affect test outcome.
New tests:
dEQP-VK.dEQP-VK.ray_tracing_pipeline.misc.cullmask_*_extrabits
Components: Vulkan
VK-GL-CTS issue: 2477
Change-Id: I3184ef1abcbf0d2aaec4b059ea7a0cfc00007b1b
Dominik Witczak [Wed, 19 Aug 2020 07:43:11 +0000 (09:43 +0200)]
Verify extraneous bits of SBT offset & miss index parametets are ignored as per spec.
New tests:
dEQP-VK.ray_tracing_pipeline.shader_binding_table.*extrabits
Components: Vulkan
VK-GL-CTS issue: 2477
Change-Id: I2d4512ba416ed45e9384e1c9a7be5476f1d2b074
Neslisah [Mon, 31 Aug 2020 21:40:25 +0000 (17:40 -0400)]
Address GPU Hang due to 65536 rayQuery inquieries at a single invocation
at TE/TC shaders.
Changed Tests:
* dEQP-VK.ray_query.watertightness.nomiss.tesc.triangles
* dEQP-VK.ray_query.watertightness.nomiss.tese.triangles
Components: Vulkan
VK-GL-CTS issue: 2570
Change-Id: I0d8dff02dd235a093fee646085619b18f94576d3
amhagan [Mon, 31 Aug 2020 19:43:08 +0000 (15:43 -0400)]
Misc test group exceeds maxMemoryAllocationCount
Free the Acceleration Structures after each test completes in
the misc group. Currently the AS allocations aren't deAllocated
between tests and the dEQP-VK.ray_tracing_pipeline.misc.mixedPrimTL
test is exceeding the maxMemoryAllocationCount.
Changed tests:
* dEQP-VK.ray_tracing_pipeline.misc.*
Components: Vulkan
VK-GL-CTS issue: 2569
Change-Id: I74a09e0b3abfdfe66f595d04d155f90006795cd8
Ricardo Garcia [Thu, 13 Aug 2020 09:22:04 +0000 (11:22 +0200)]
Test empty acceleration structure corner cases
Test tracing rays against geometry created empty through different means
results in no hits:
* Inactive triangle geometry (NaN in the first component).
* Inactive instances (null handles).
* geometryCount zero when building bottom acceleration structures.
* primitiveCount zero when building bottom acceleration structures.
* primitiveCount zero when building top acceleration structures.
These cases are allowed by the spec.
New tests:
dEQP-VK.ray_*.acceleration_structures.empty.*
Components: Vulkan
VK-GL-CTS issue: 2531
Change-Id: Ibadaa2c7c25c9f1f87e333b99bf92d35ec3363df
Dominik Witczak [Tue, 11 Aug 2020 13:27:16 +0000 (15:27 +0200)]
Add tests verifying the reported maximum ray hit attr size is actually supported.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.maxrayhitattributesize_*
Changed tests:
dEQP-VK.ray_tracing_pipeline.misc.NO_DUPLICATE_ANY_HIT_*
Components: Vulkan
VK-GL-CTS issue: 2483
Change-Id: I36df61375321ebf80a018ca6b1a7fac43503b601
Ricardo Garcia [Fri, 7 Aug 2020 06:13:59 +0000 (08:13 +0200)]
Test flags related to triangle culling in AS instances
Use triangle culling flags when tracing rays and usign ray queries,
combined with triangle culling AS instance flags, to verify the instance
flags have the desired effect.
New tests:
dEQP-VK.ray_*.acceleration_structures.instance_triangle_culling.*
Components: Vulkan
VK-GL-CTS issue: 2471
Change-Id: I692d7d9bd9507b4caaf981306a5490e2edbe0a41
Dominik Witczak [Wed, 19 Aug 2020 08:40:12 +0000 (10:40 +0200)]
Make sure only relevant SBT record stride bits are used, as per GLSL ext spec.
New tests:
dEQP-VK.ray_tracing_pipeline.shader_binding_table.*extraSBTRecordStrideBits
Components: Vulkan
VK-GL-CTS issue: 2477
Change-Id: I657fb17a61439c954ac91e2ed753867149c495df
Dominik Witczak [Fri, 21 Aug 2020 12:03:23 +0000 (14:03 +0200)]
Address validation errors reported by validation layers with RT support.
Changed tests:
* dEQP-VK.ray_tracing_pipeline.misc.*
* dEQP-VK.ray_tracing_pipeline.callable_shader.*
* dEQP-VK.ray_tracing_pipeline.capture_replay.*
* dEQP-VK.ray_tracing_pipeline.shader_binding_table.*
* dEQP-VK.ray_tracing_pipeline.traversal_control.*
* dEQP-VK.ray_tracing_pipeline.indirect.*
* dEQP-VK.ray_tracing_pipeline.watertightness.*
* dEQP-VK.ray_tracing_pipeline.memguarantee.*
* dEQP-VK.ray_query.builtin.*
* dEQP-VK.ray_query.ray_flags.*
* dEQP-VK.ray_query.traversal_control.*
* dEQP-VK.ray_query.watertightness.*
Components: Vulkan
VK-GL-CTS issue: 2444
Change-Id: I41d047dcfddb41f4fe96017a5e82aa0b4e1470d6
Dominik Witczak [Tue, 18 Aug 2020 15:21:22 +0000 (17:21 +0200)]
Extend existing RT pipeline library tests to use DHO support if available.
New tests:
dEQP-VK.ray_tracing_pipeline.pipeline_library.configurations.multithreaded_compilation_dho.*
Components: Vulkan
VK-GL-CTS issue: 2491
Change-Id: I2eec49d3424b22f4fcace2ba6495bb33dc44ccdd
Ricardo Garcia [Thu, 6 Aug 2020 07:57:15 +0000 (09:57 +0200)]
Test creating ASs using the generic type
Extend acceleration structure creation tests with different flags to
also include variants in which either the top, bottom or both types of
structures are created with generic types.
New tests:
dEQP-VK.ray_*.acceleration_structures.flags.*_bottomgeneric
dEQP-VK.ray_*.acceleration_structures.flags.*_topgeneric
dEQP-VK.ray_*.acceleration_structures.flags.*_bothgeneric
Components: Vulkan
VK-GL-CTS issue: 2463
Change-Id: I3dcf7666ca6240a8a573029afd3ee2971297bd3c
Dominik Witczak [Thu, 20 Aug 2020 13:33:11 +0000 (15:33 +0200)]
Add tests that trace rays to more than one AS in a single invocation
New tests:
dEQP-VK.ray_tracing_pipeline.misc.AS_stresstest_*
Changed tests:
dEQP-VK.ray_tracing_pipeline.misc.NO_DUPLICATE_ANY_HIT_*
Components: Vulkan
VK-GL-CTS issue: 2485
Change-Id: I5301135a29919c042e94c053f81ebc7efb26ed9a
Ricardo Garcia [Fri, 14 Aug 2020 07:41:41 +0000 (09:41 +0200)]
Test spec constants in RT shading stages
Test spec constants can be used correctly in any of the new ray tracing
shader stages in a ray tracing pipeline.
New tests:
dEQP-VK.ray_tracing_pipeline.spec_constants.*
Components: Vulkan
VK-GL-CTS issue: 2544
Change-Id: Ic719e51c19c6a70a72c6111839cefa1423ba9d12
Ricardo Garcia [Wed, 5 Aug 2020 12:31:59 +0000 (14:31 +0200)]
Use nontrivial AABB strides when building ASs
This test modifies basic acceleration structure building tests to add
variants in which nontrivial strides are used when building acceleration
structures using AABBs.
Note basic acceleration structure building tests have variants that use
triangles instead of AABBs, so these tests overlap slightly with vertex
format tests, which also try vertex padding.
Renamed tests:
Old: dEQP-VK.ray_*.acceleration_structures.flags.*
New: dEQP-VK.ray_*.acceleration_structures.flags.*.nopadding.*
New tests:
dEQP-VK.ray_*.acceleration_structures.flags.*.padded.*
Components: Vulkan
VK-GL-CTS issue: 2469
Change-Id: I67b48cd37022f854d6579fe63fc9999afedc5b09
Dominik Witczak [Tue, 18 Aug 2020 08:28:35 +0000 (10:28 +0200)]
Extend existing RT cull ray flags tests to also use rayQueryGetRayFlagsEXT ()
Changed tests:
dEQP-VK.ray_query.ray_flags.*
Components: Vulkan
VK-GL-CTS issue: 2549
Change-Id: I28b9979f192a0eb9b37e1567b438d1a1a0e7a60a
Dominik Witczak [Mon, 17 Aug 2020 12:37:13 +0000 (14:37 +0200)]
New test for TLAS built of BLAS with varying primitive types.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.mixedPrimTL
Changed tests:
dEQP-VK.ray_tracing_pipeline.misc.NO_DUPLICATE_ANY_HIT_*
Components: Vulkan
VK-GL-CTS issue: 2464
Change-Id: Iffd2ea21c9e7de7eb3c864991d439009c9b82fd7
Alexander Galazin [Thu, 13 Aug 2020 14:18:20 +0000 (16:18 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vk_khr_ray_tracing
Change-Id: I04ac30f82a16f1a35007c4d3e0441405f137d42e
Ricardo Garcia [Wed, 12 Aug 2020 11:24:17 +0000 (13:24 +0200)]
Test using AS as function arguments
This commit adds a new test group for both ray tracing pipelines and ray
queries that use SPIR-V shaders to test acceleration structures can be
passed as function arguments both in the form of pointers and bare
types.
New tests:
dEQP-VK.ray_*.acceleration_structures.function_argument.*
VK-GL-CTS issue: 2538
Components: Vulkan
Change-Id: Iff5febe679a9d68d7de8e52c0f7323a1347f3acc
Ricardo Garcia [Wed, 5 Aug 2020 15:55:56 +0000 (17:55 +0200)]
Test vkCmdTraceRays* with zero launch size
vkCmdTraceRays* commands were not being tested using a launch size of
zero. This commit modifies the basic vkCmdTraceRaysIndirectKHR tests
adding new variants for that case.
In addition, new variants of these tests have been added, using the
direct version of the ray tracing command. Hence, TraceRaysIndirectTests
have been renamed to TraceRaysTests to indicate they now perform basic
checks for all three possibilities (direct, indirect setting values on
the GPU and indirect setting values on the CPU). The test group has been
renamed accordingly.
Renamed tests:
Old: dEQP-VK.ray_tracing_pipeline.trace_rays_indirect.*
New: dEQP-VK.ray_tracing_pipeline.trace_rays_cmds.indirect*
New tests:
dEQP-VK.ray_tracing_pipeline.trace_rays_cmds.indirect*.0_0_0
dEQP-VK.ray_tracing_pipeline.trace_rays_cmds.indirect*.0_1_1
dEQP-VK.ray_tracing_pipeline.trace_rays_cmds.indirect*.1_0_1
dEQP-VK.ray_tracing_pipeline.trace_rays_cmds.indirect*.1_1_0
dEQP-VK.ray_tracing_pipeline.trace_rays_cmds.direct.*
Components: Vulkan
VK-GL-CTS issue: 2526
Change-Id: I2d8f1a35f48992daffb75f4b9f43f92b8bfa8ee4
Dominik Witczak [Fri, 24 Jul 2020 07:50:31 +0000 (09:50 +0200)]
Add missing test coverage for a number of ray query built-in funcs
New tests:
dEQP-VK.ray_query.builtin.getraytmin.*
dEQP-VK.ray_query.builtin.getworldrayorigin.*
dEQP-VK.ray_query.builtin.getworldraydirection.*
dEQP-VK.ray_query.builtin.getintersectioncandidateaabbopaque.*
dEQP-VK.ray_query.builtin.getintersectionfrontfaceCandidate.*
dEQP-VK.ray_query.builtin.getintersectionfrontfaceCommitted.*
dEQP-VK.ray_query.builtin.getintersectiongeometryindexCandidate.*
dEQP-VK.ray_query.builtin.getintersectiongeometryindexCommitted.*
dEQP-VK.ray_query.builtin.getintersectionbarycentricsCandidate.*
dEQP-VK.ray_query.builtin.getintersectionbarycentricsCommitted.*
dEQP-VK.ray_query.builtin.getintersectioninstanceshaderbindingtablerecordoffsetCandidate.*
dEQP-VK.ray_query.builtin.getintersectioninstanceshaderbindingtablerecordoffsetCommitted.*
Components: Vulkan
VK-GL-CTS issue: 2444
Change-Id: If553b86e005c4860834dd63368d1b80e92d2fdc5
Ricardo Garcia [Thu, 6 Aug 2020 12:19:07 +0000 (14:19 +0200)]
Avoid expecting single zero in some RT 1_1_1 tests
Adding one to the expected result could make the test fail if
implementations do nothing.
Affected tests:
dEQP-VK.ray_tracing_pipeline.builtin.launchidext.*
dEQP-VK.ray_tracing_pipeline.builtin.launchsizeext.*
Components: Vulkan
VK-GL-CTS issue: 2520
Change-Id: Ibaab2d26ba11d47116aaae8a3452cee96604fd1a
Dominik Witczak [Fri, 7 Aug 2020 07:37:09 +0000 (09:37 +0200)]
Add new tests verifying cull-mask works as per spec.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.cullmask_AABB
dEQP-VK.ray_tracing_pipeline.misc.cullmask_tri
Components: Vulkan
VK-GL-CTS issue: 2470
Change-Id: I0dd5a5f9b86b8ad6a9de5ea00b51d98c2c81eb3c
Dae Kim [Fri, 7 Aug 2020 12:26:56 +0000 (13:26 +0100)]
Miscelaneous fixes for ray tracing utils
* sType and pNext of VkFormatProperties2 were uninitialised in
checkAccelerationStructureVertexBufferFormat. To avoid this issue
VkFormatProperties2 was replaced with VkFormatProperties, initialised
by the utility function getPhysicalDeviceFormatProperties.
* dataSize in vkWriteAcceleratorStructuresPropertiesKHR must be greater
than or equal to accelerationStructureCount*stride.
Affects:
dEQP-VK.ray_tracing_pipeline.*
dEQP-VK.ray_query.*
Components: Vulkan
VK-GL-CTS issue: 2530
Change-Id: I73fda69d2c892ae6be78b9f87bebcb0302459ecb
Ricardo Garcia [Thu, 30 Jul 2020 08:11:58 +0000 (10:11 +0200)]
Try alternative DS formats in extended dynamic state tests
Try both D24_UNORM_S8_UINT and D32_SFLOAT_S8_UINT due to depth/stencil
support only being mandatory for either one.
Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*
VK-GL-CTS issue: 2507
Components: Vulkan
Change-Id: I48c203c9cef22c77513d8f472d16963e66471322
Ricardo Garcia [Tue, 4 Aug 2020 14:53:39 +0000 (16:53 +0200)]
Use nontrivial vertex strides when building ASs
Renamed tests:
Old: dEQP-VK.ray_*.acceleration_structures.format.*
New: dEQP-VK.ray_*.acceleration_structures.format.*.nopadding.*
New tests:
dEQP-VK.ray_*.acceleration_structures.format.*.padded.*
Components: Vulkan
VK-GL-CTS issue: 2468
Change-Id: I665ab921d4b83266be60e0279896ebdcd3cef5e8
Piers Daniell [Mon, 10 Aug 2020 21:08:20 +0000 (15:08 -0600)]
Update Vulkan headers to VK_KHR_ray_tracing v11
This update to the ray tracing API removes a lot of
aliasing in the XML between the KHR and NV extensions.
It should not affect clients of the API other than
the version of VK_KHR_acceleration_structure is now
11 rather than 10.
Affects tests:
dEQP-VK.ray_tracing_pipeline.*
dEQP-VK.ray_query.*
Change-Id: I8dd4db20f7e6b795bef006a104da598e6f55fb6a
Components: Vulkan, Framework
Piotr Byszewski [Mon, 15 Jun 2020 07:59:59 +0000 (09:59 +0200)]
Revert workaround for SNORM linear filtering
CL776 for issue 229 introduced changes that relaxed precision for
SNORM formats verification. This change reverts that since
the new waiver mechanism can now be used to disable tests for
specific device id.
VK-GL-CTS issue: 229
Components: Vulkan
Affects:
dEQP-VK.pipeline.sampler.view_type*format*_snorm*_filter.linear
Change-Id: I593b077a3e9e4e65e0773923e61cc5ef558d6d35
Ricardo Garcia [Fri, 17 Jul 2020 08:44:11 +0000 (10:44 +0200)]
More extended dynamic state variants
This commits adds new extended dynamic state variants for some command
sequences that were not tested initially. In particular:
1. Binding a dynamic state pipeline with wrong dynamic values followed
by a static state one with good values before drawing.
2. Binding static pipeline, drawing, binding dynamic one, drawing.
3. Binding dynamic pipeline, drawing, binding static one, drawing.
New tests:
dEQP-VK.pipeline.extended_dynamic_state.before_good_static.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_dynamic.*
dEQP-VK.pipeline.extended_dynamic_state.two_draws_static.*
Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*
Components: Framework, Vulkan
VK-GL-CTS issue: 2459
Change-Id: I5d75854e2417b1ecc291b4ecf2108dab6c09dec2
Pawel Ksiezopolski [Thu, 4 Jun 2020 14:20:21 +0000 (16:20 +0200)]
Add tests for VK_EXT_full_screen_exclusive extension
New tests:
dEQP-VK.wsi.*.full_screen_exclusive.*
Components: Vulkan
VK-GL-CTS issue: 1685
Change-Id: Ife5394dcb2f207eedd8ac55da6a06d1fb31202f8
Alexander Galazin [Thu, 6 Aug 2020 16:03:17 +0000 (12:03 -0400)]
Merge "Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master"
Karolina Palka [Tue, 14 Jul 2020 11:16:42 +0000 (13:16 +0200)]
Add tests for VK_EXT_global_priority
New tests:
dEQP-VK.api.device_init.create_device_global_priority
Components: Vulkan
VK-GL-CTS issue: 1686
Change-Id: I06bd3f24580009b5c038144e98aa4525c803a8e9
Alexander Galazin [Thu, 6 Aug 2020 13:03:48 +0000 (15:03 +0200)]
Merge vk-gl-cts/opengl-cts-4.6.0 into vk-gl-cts/master
Change-Id: Ib15fc404b544f741f4279f63188f8fea26a5526d
Alexander Galazin [Thu, 6 Aug 2020 13:00:02 +0000 (09:00 -0400)]
Merge "Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master"
Ricardo Garcia [Fri, 17 Jul 2020 09:29:42 +0000 (11:29 +0200)]
Check per-sample copy results in multisample copy tests
This commit adds an intermediate verification step in multisample copy
tests to make sure multisample copy operations are correct on a
per-sample basis.
Affected tests:
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_copy_before_resolving.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image.*
dEQP-VK.api.copy_and_blit.core.resolve_image.whole_array_image_one_region.*
Components: Vulkan
VK-GL-CTS issue: 2448
Change-Id: I140ec0e9d6f34ca9954aa1e519e2e5dd384f264f
Alexander Galazin [Thu, 6 Aug 2020 11:30:32 +0000 (13:30 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: Ie9007d2b00108f8ed1dabf99830a7cb7011198c3
Toni Salmivalli [Thu, 16 Jul 2020 10:34:06 +0000 (13:34 +0300)]
Add a batch of GraphicsFuzz tests
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-injected-conditional-true
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-true-conditional-simple-loop
dEQP-VK.graphicsfuzz.stable-colorgrid-modulo-vec3-values-from-matrix
Change-Id: I1ce7de9fcd4dc9afb414d99230316e22b3191371
Alexander Galazin [Thu, 6 Aug 2020 10:20:26 +0000 (12:20 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I9b3cd47707fa2f7d56cc3fc1037c3fb556c20f90
Alexander Galazin [Thu, 6 Aug 2020 08:16:08 +0000 (10:16 +0200)]
Update KC CTS
Components: Framework
Change-Id: Ib90a1476659063d4475cd88c8ec8fbf755d042db
Alexander Galazin [Thu, 6 Aug 2020 08:11:00 +0000 (10:11 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: I7f2c0916bffde736bf0e47a306249e0f78a47193
Boris Zanin [Wed, 3 Jun 2020 11:04:27 +0000 (13:04 +0200)]
Ray Tracing Complex Control Flow Tests (part 1)
Implements shader calls in complex control-flow.
Add tests:
* dEQP-VK.ray_tracing_pipeline.complexcontrolflow.*
Components: Vulkan
VK-GL-CTS issue: 2388
Change-Id: Id42fbac6fd72c1402d995306cbb988e363f854e9
Dave Airlie [Mon, 1 Jun 2020 21:32:17 +0000 (07:32 +1000)]
Fix pixel pack/unpack in nearest edge tests
With certain fbconfigs and width/height combos, this would
corrupt memory due to overwriting too many bytes by 1.
Components: OpenGL
VK-GL-CTS Issue: 2496
Affects: KHR-GL46.nearest_edge.offset_*
Change-Id: I2b31c8791337555b0bb154cea1f676f0daf43c7e
Dave Airlie [Fri, 24 Jul 2020 00:44:54 +0000 (10:44 +1000)]
fix 1d depth component 16 sizing in layout locations tests.
VK-GL-CTS Issue: 2497
Components: OpenGL
Affects:
KHR-GL45.layout_location.*
KHR-GLES31.shaders.layout_location.*
Change-Id: I47534a0c5b66fadc847e8aeca4c5600cdb7fef8c
Dave Airlie [Thu, 23 Jul 2020 04:14:18 +0000 (14:14 +1000)]
Fix more expected errors for some DSA functions
In commit
03c16305943cf98bbe1d55aaca7666d796c1398c
Piers fixed most of these but he missed two.
Affects:
Components: OpenGL
VK-GL-CTS Issue: 2275
KHR-GL46.direct_state_access.textures_parameter_setup_errors
Change-Id: Ia469aef4c7ad65a63ef6bc2f659c135776efdc2c
Karol Herbst [Mon, 27 Apr 2020 11:07:17 +0000 (13:07 +0200)]
glspirv: don't cause aborted test runs.
These test also need checks in their deinit, and one missing init function.
Components: OpenGL
VK-GL-CTS Issue: 2498
Affects: KHR-GL45.gl_spirv.spirv_glsl_to_spirv*
Change-Id: I374c0980f68daf418c15b03625e12d4e78271076
Dave Airlie [Fri, 10 Apr 2020 01:24:12 +0000 (11:24 +1000)]
Fix pipeline statistics test
The test calls glDrawRangeElements (mode=10, start=0, end=1, count=4, type=5125, indices=0x40)
But the index data is 0, 2, 1, 3
But a LINE adjacent primitive would use indices 2, 1 to make the line, now if the end == 1,
I don't think the behaviour for the first vertex is defined. If it gets clamped to 1,
you end up with a line 1,1 which our culling throws away as an empty line,
and we never run a fragment shader.
Now I think this is a bug in the test, in PipelineStatisticsQueryTestFunctionalBase::initVBO
m_vbo_n_indices = sizeof(raw_index_data_size) / sizeof(unsigned int);
VK-GL-CTS Issue: 2501
Components: OpenGL
Affects: KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations
Change-Id: Ie4ce573521ec7e1f169b9ec8ce6e76f41a0ce6f7
Ricardo Garcia [Wed, 29 Jul 2020 17:48:07 +0000 (19:48 +0200)]
Test additional AS vertex formats
This commit tries some additional non-mandatory vertex formats for
acceleration structure building:
* VK_FORMAT_R8G8_SNORM
* VK_FORMAT_R8G8B8_SNORM
* VK_FORMAT_R8G8B8A8_SNORM
* VK_FORMAT_R16G16B16_SNORM
* VK_FORMAT_R16G16B16_SFLOAT
* VK_FORMAT_R32G32B32A32_SFLOAT
* VK_FORMAT_R64G64_SFLOAT
* VK_FORMAT_R64G64B64_SFLOAT
* VK_FORMAT_R64G64B64A64_SFLOAT
New tests:
dEQP-VK.ray_*.acceleration_structures.format.*r8g8_snorm*
dEQP-VK.ray_*.acceleration_structures.format.*r8g8b8_snorm*
dEQP-VK.ray_*.acceleration_structures.format.*r8g8b8a8_snorm*
dEQP-VK.ray_*.acceleration_structures.format.*r16g16b16_snorm*
dEQP-VK.ray_*.acceleration_structures.format.*r16g16b16_sfloat*
dEQP-VK.ray_*.acceleration_structures.format.*r32g32b32a32_sfloat*
dEQP-VK.ray_*.acceleration_structures.format.*r64g64_sfloat*
dEQP-VK.ray_*.acceleration_structures.format.*r64g64b64_sfloat*
dEQP-VK.ray_*.acceleration_structures.format.*r64g64b64a64_sfloat*
Components: Vulkan
VK-GL-CTS issue: 2467
Change-Id: I3533758d14994309b5c8b0b6340db9d7e73dec1a
Dominik Witczak [Tue, 28 Jul 2020 15:44:10 +0000 (17:44 +0200)]
Add missing tests for NO_DUPLICATE_ANY_HIT flag used against AABBs and triangles.
New tests:
dEQP-VK.ray_tracing_pipeline.misc.NO_DUPLICATE_ANY_HIT_*
Components: Vulkan
VK-GL-CTS issue: 2472
Change-Id: I2e1d0860e0c0132c23012dd6853f39da2f6e95d2
Paul Thomson [Thu, 30 Jul 2020 17:11:05 +0000 (18:11 +0100)]
Convert GraphicsFuzz vkscript to AmberScript
Also re-disassembled some SPIR-V shaders so that IDs are numbers instead
of names. Corrected some comments. Changed some tests to check ALL
pixels colors where this was possible.
Components: Vulkan
Affected tests:
dEQP-VK.graphicsfuzz.*
Change-Id: Iea2e7d852cf2b02886af84e986d180614ae543ff
Matthew Netsch [Wed, 29 Jul 2020 22:12:52 +0000 (18:12 -0400)]
Fixes capability checks in subgroup tests
Components: Vulkan
VK-GL-CTS Issue: 2517
Affects:
dEQP-VK.subgroups.vote.*
dEQP-VK.subgroups.vote.frag_helper.*
Change-Id: I49832e7fe34eddbc655ca4d5d7e155d311685c8a
Matthew Netsch [Wed, 29 Jul 2020 22:03:46 +0000 (18:03 -0400)]
Splits protected memory test shaders
Components: Vulkan
VK-GL-CTS Issue: 2516
Affects:
dEQP-VK.protected_memory.stack.stacksize_*
Change-Id: I5ac52229cd59e9b4b92914a60b0ffa37cdff70c7
Toni Salmivalli [Fri, 17 Jul 2020 10:28:50 +0000 (13:28 +0300)]
dEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.stable-rects-vec4-clamp-conditional-min-mix
Change-Id: I1c8c0ff590c7cbb2ab55c9d682c6d643556c5483
Lionel Landwerlin [Sun, 19 Jul 2020 19:13:18 +0000 (22:13 +0300)]
Test imported signaled sync fd
New tests:
dEQP-VK.api.external.fence.sync_fd.import_signaled_temporary
Components: Vulkan
Change-Id: Ifb79338443d09596494c30d3d1527f79ac39e1b4
Daniel Koch [Thu, 30 Jul 2020 04:21:45 +0000 (00:21 -0400)]
Update glslang and deps for latest rebase
Component: Framework
Change-Id: I07e7b75b4f6e8b61f27fdabec7314126b079167e
Alexander Galazin [Wed, 5 Aug 2020 09:38:14 +0000 (11:38 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: I331485a1817e81f9b1c0d2a9c025e07b8c436216
Alexander Galazin [Wed, 5 Aug 2020 08:10:42 +0000 (10:10 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: If6ab8dd1d8164a6977a8af611ac20283f89fb86c
Jaakko Konttinen [Thu, 30 Jul 2020 22:02:32 +0000 (18:02 -0400)]
Fix null shader module in raytracing tests
The dEQP-VK.ray_tracing_pipeline.build.gpu_cpu.* tests use a shader module
multiple times in two different hit groups. The variable is in Move
container, so the first call to addShader() moves the module handle to
the pipeline object and replaces the variable's value with a null
handle. A subsequent call to addShader() then adds the null handle
as a shader stage module for another hit group.
I fixed it by just moving some code around to allow a second version of
addShader() that accepts a shared pointer instead.
Affects:
dEQP-VK.ray_tracing_pipeline.build.gpu_cpu.*
dEQP-VK.ray_tracing_pipeline.build.gpu_cpuht.*
Components: Vulkan
Change-Id: Ic2a4998e79b23cd43aaa1f6f267f60469de8f83a
Ricardo Garcia [Tue, 28 Jul 2020 14:58:29 +0000 (16:58 +0200)]
Check acceleration structure vertex format support
At least one implementation is not including the format feature bit for
mandatory vertex formats as required by the spec. Check the format
feature bit is supported for those:
VK_FORMAT_FEATURE_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR
Affected tests:
dEQP-VK.ray_*.acceleration_structures.*
Components: Vulkan
VK-GL-CTS issue: 2467
Change-Id: Id90cf31ffb1e86a93c43330b9447f0d54c9e33d3
Daniel Koch [Tue, 21 Jul 2020 15:42:35 +0000 (11:42 -0400)]
re-enable ObjectToWorld3x4EXT and WorldToObject3x4EXT built-in tests
VK-GL-CTS Issue #2451
Update to glslang version which is fixed and re-enable tests
Component: Vulkan
Affects:
dEQP-VK.ray_tracing_pipeline.builtin.*3x4ext.*
Change-Id: I59c57dd06513a30c0ad782b462c1f0c59fa95d50
Alexander Galazin [Mon, 20 Jul 2020 15:00:35 +0000 (17:00 +0200)]
Restore dual source blending tests
Components: Vulkan
Change-Id: Ic727ae43d7ddc5b296d20ad5762047e815299023
Pawel Ksiezopolski [Thu, 14 May 2020 17:59:53 +0000 (19:59 +0200)]
Add tests for all ray flags in VK_KHR_ray_query
Tests verify behaviour of rayQuery* shader functions
taking different sets of ray flags as input parameters.
New tests:
dEQP-VK.ray_query.ray_flags.*
Components: Vulkan
VK-GL-CTS issue: 2318
Change-Id: Iec34cd87ab773346f0cbbcc80c0442ca8d1038b2
Pawel Ksiezopolski [Tue, 28 Jan 2020 14:36:44 +0000 (15:36 +0100)]
Add tests for capturing/replaying data in ray tracing
Tests verify whether the implementation supports saving
and reusing shader group handles and acceleration structures,
e.g. for trace capture and replay.
New tests:
dEQP-VK.ray_tracing_pipeline.capture_replay.*
Components: Vulkan
VK-GL-CTS issue: 2139
Change-Id: Id44c454560bb56210dda2572d948dff499d457a2
Alexander Galazin [Mon, 3 Aug 2020 14:28:25 +0000 (16:28 +0200)]
Update Vulkan headers
Components: Vulkan
Change-Id: I05af7697bce1cbd0d6e89ead8db2f552c77d0768
Paul Thomson [Wed, 29 Jul 2020 15:18:30 +0000 (16:18 +0100)]
Delete excluded graphicsfuzz test
This test was excluded, but we should just delete it.
Components: Vulkan
VK-GL-CTS Issue: 2457
Affects:
dEQP-VK.graphicsfuzz.return-mat2x3-value-from-func
Change-Id: Ibd026a9a8138c9de0cc2fd119399cc4935f655bc
Zoltowski, Wojciech [Fri, 3 Jul 2020 07:45:14 +0000 (09:45 +0200)]
Throw an error on missing cmake in build config
This raises the error instead on falling back to using cmake
from PATH (which is not in PATH, as already checked)
Components: Framework
VK-GL-CTS Issue: 2442
Change-Id: Id85b9097dffb7c8a69794ff4cfd5ad677cc73b10
Charles Johnston [Wed, 22 Jul 2020 16:54:13 +0000 (12:54 -0400)]
Fix for dEQP-VK.subgroups.*_requiredsubgroupsize
The tests in the group dEQP-VK.subgroups.*_requiredsubgroupsize do
not check if requiredSubgroupSizeStages from the structure
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT contain the
shader stage the tests are using.
Affected tests:
dEQP-VK.subgroups.*_requiredsubgroupsize
Components: Vulkan
VK-GL-CTS issue: 2494
Change-Id: I2a932248698658a75364b9adc907f5454ff1d969
Iago Toral Quiroga [Mon, 27 Jul 2020 08:07:22 +0000 (10:07 +0200)]
Fix shaderCullDistance limit checks
The maxCullDistances limit is related to the
shaderCullDistance feature, not shaderClipDistance.
VK-GL-CTS issue: 2504
Components: Vulkan
Affects: dEQP-VK.info.device_properties
Change-Id: I705c430912b1c5e162b96f57af7a7ddbec82d973
Ricardo Garcia [Thu, 16 Jul 2020 07:38:40 +0000 (09:38 +0200)]
Test mipmaps with linear tiling
This commit adds a new set of tests to check the basic aspects of
working with mimaps in linearly-tiled images. The tests fill image contents
using vkCmdCopyBufferToImage and check image access with
vkGetImageSubresourceLayout from the host.
New tests:
dEQP-VK.image.subresource_layout.*
Components: Vulkan
VK-GL-CTS issue: 2445
Change-Id: Idfb994a9038d6c1f6aa88d336cfaa79939129ca8
Ricardo Garcia [Tue, 30 Jun 2020 07:25:12 +0000 (09:25 +0200)]
Enable random descriptor writes for storage buffers
This commit activates random writes for storage buffers in the
descriptor set random tests.
Affected tests:
dEQP-VK.binding_model.descriptorset_random.*sbolimitlow*
dEQP-VK.binding_model.descriptorset_random.*sbolimithigh*
Components: Vulkan
VK-GL-CTS issue: 1973
Change-Id: Ia840d4fc57a695fb1e3bc7aa628cafa71e42badd
Alexander Galazin [Thu, 30 Jul 2020 07:27:32 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/master
Change-Id: Ic2ff8372d3b281eafdf710845bf74a1019ce504b
Alexander Galazin [Thu, 30 Jul 2020 07:27:30 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: Ib6ad16a84861396d4216b00bdbdf55fcd82fbd77
Alexander Galazin [Thu, 30 Jul 2020 07:27:28 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: I85270b15bd84ce01ee927c5bd4687a4d2196e1fe
Alexander Galazin [Thu, 30 Jul 2020 07:27:27 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.2.0 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: Ife743420baa1f4998a8d0f1b9ee32dd93a5a74f4
Alexander Galazin [Thu, 30 Jul 2020 07:27:27 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.6 into vk-gl-cts/vulkan-cts-1.2.1
Change-Id: I7bac3dcb8580348fe7aa1238145c55640a3f75da
Alexander Galazin [Thu, 30 Jul 2020 07:27:25 +0000 (09:27 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
Change-Id: Ic03b0ca5deecc32b574df399b12314d16150574f
Ricardo Garcia [Fri, 24 Jul 2020 19:01:33 +0000 (21:01 +0200)]
1D and 3D image copy and blitting tests
This commit adds new tests to check image copy and blitting operations
work on 1D and 3D color images.
In order to minimize the number of tests being added, the new 1D and 3D
test groups only use copy and blitting operations with the same source
and destination image format. Cross-format tests are still present in
the 2D variants.
These new tests revealed problems in the way the Z coordinate is handled
in blitting operations in several implementations.
These implementations were also wrongly passing 1D and 3D depth/stencil
copy and blitting tests due to the source image depth value not
depending on the Z coordinate.
For this reason, this commit also modifies the way gradients are
generated for 3D images to make all color, depth and stencil channels
depend on the 3 coordinate values. Due to the gradient-filling operation
being used in many other tests, this change has been made by introducing
a new function, tcu::fillWithComponentGradients2, instead of replacing
the existing implementation. Other tests using the old
tcu::fillWithComponentGradients function should be incrementally changed
to use the new function if possible due to the improved coverage.
In addition, test variants for separate depth/stencil layouts that were
only being applied to 3D depth/stencil images are now also applied to 1D
and 2D images.
New tests:
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.1d.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.3d.*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.1d.*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.3d.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.depth_stencil.1d.*_separate_layouts*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.depth_stencil.2d.*_separate_layouts*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.depth_stencil.1d.*_separate_layouts*
dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.depth_stencil.2d.*_separate_layouts*
Renamed tests:
Old: dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.*
New: dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.2d.*
Old: dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.*
New: dEQP-VK.api.copy_and_blit.*.blit_image.all_formats.color.2d.*
Affected tests:
dEQP-VK.api.copy_and_blit.*
Components: Framework, Vulkan
VK-GL-CTS issue: 2391
Change-Id: Ica59c3522234cfa81774b5ac7befaa1727cc4401
Alexander Galazin [Wed, 29 Jul 2020 10:41:15 +0000 (12:41 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.1.6
Change-Id: I9257feb431f2edf54f39f0912df10c115115f75a
Alexander Galazin [Wed, 29 Jul 2020 09:39:53 +0000 (11:39 +0200)]
Merge vk-gl-cts/vulkan-cts-1.1.4 into vk-gl-cts/vulkan-cts-1.1.5
Change-Id: I9a0205ade4419a8e0260ac487fa3e443e93609cc
Alexander Galazin [Wed, 29 Jul 2020 09:38:44 +0000 (11:38 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
Change-Id: Ie39cc52a2a8d69ce90223aae6678374d575242ee
James Glanville [Thu, 2 Jul 2020 16:02:25 +0000 (17:02 +0100)]
Stop 10bit formats requiring GL_SRGB encoding
The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.
Components: EGL
VK-GL-CTS issue: 2288
Affects:
dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb
Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b
Ruiling Song [Wed, 22 Jul 2020 09:42:41 +0000 (17:42 +0800)]
Disable a test that access uninitialized variable
The test case expect clamp(uninitialized_variable, 1, 1) returning 1.
But accessing the uninitialized variable will get undefined value,
and the undefined value may be further propagated. Then some compiler
may just optimize such case into undef.
Components: Vulkan
VK-GL-CTS Issue: 2457
Affects:
dEQP-VK.graphicsfuzz.return-mat2x3-value-from-func
Change-Id: Iedfe91fdf0ebda89bb62db6144e1161f47eb5898
Paul Thomson [Mon, 20 Jul 2020 15:00:08 +0000 (16:00 +0100)]
Update Amber to fix regression
Affects:
dEQP-VK.glsl.combined_operations.*
dEQP-VK.compute.basic.write_ssbo_array
dEQP-VK.draw.output_location.array.*
dEQP-VK.graphicsfuzz.*
dEQP-VK.pipeline.vertex_only.position_to_ssbo
dEQP-VK.rasterization.provoking_vertex.*
dEQP-VK.rasterization.line_continuity.*
dEQP-VK.spirv_assembly.*
dEQP-VK.texture.conversion.*
dEQP-VK.texture.multisample.*
dEQP-VK.texture.subgroup_lod.*
dEQP-VK.texture.texel_buffer.*
Components: Vulkan
VK-GL-CTS issue: 2443
Change-Id: I3c6ec1eb0ee8695468c54f95c210cc81b50a4f1a
Dominik Witczak [Tue, 28 Jul 2020 07:09:30 +0000 (09:09 +0200)]
Improve watertightness tests.
New tests:
dEQP-VK.ray_tracing_pipeline.watertightness.closedFan.*
dEQP-VK.ray_tracing_pipeline.watertightness.closedFan2.*
Components: Vulkan
VK-GL-CTS issue: 2472
Change-Id: I507adaf4b8b01b9c2dbba5b143ea453502b32035
Alexander Galazin [Sat, 25 Jul 2020 13:38:27 +0000 (15:38 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vk_khr_ray_tracing
Change-Id: I0e739b586558c95423717ad78829283e6b29d161
Ricardo Garcia [Mon, 20 Jul 2020 16:48:17 +0000 (18:48 +0200)]
Separate types and cases in random descriptor set tests
Several descriptor types are now allowed to have test combinations with
no descriptors of that type when using dynamic indexing. This enables us
to check dynamic indexing features only when the amount of descriptors
for the given type is nonzero. For example, if dynamic indexing is
available for uniform buffers but not texel buffers in a given
implementation, dynamic indexing tests can now run for combinations in
which the amount of texel buffers is zero.
Storage images, previously only used for storing test results, are now
part of the combinations too and independent from storage texel buffers.
This commit also introduces some checks to make sure the number of test
combinations and the resulting shader size remain reasonable.
In addition, this commit prepares the random descriptor set tests to
include write checks in the future for the following descriptor types:
* VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
* VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
* VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
* VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
The plan is to pseudorandomly choose around half the checks to be read
checks and the other half to be write checks.
Affected tests:
dEQP-VK.binding_model.descriptorset_random.*
Components: Vulkan
VK-GL-CTS issue: 1973
Change-Id: I43708bf7a4e630c2299ccf6215ed7a78294e9ba0
Michal Pawlowski [Fri, 10 Jul 2020 11:03:30 +0000 (13:03 +0200)]
Support for VkPhysicalDeviceVulkan1{1,2}Properties in framework
Use VkPhysicalDeviceVulkan11Properties and
VkPhysicalDeviceVulkan12Properties in DefaultDevice chain.
Components: Framework
VK-GL-CTS issue: 2425
Change-Id: I0858509ccd33e394249d1355ae9c87d0e6735898
Affects: dEQP-VK.*
Yiwei Zhang [Mon, 13 Jul 2020 21:21:53 +0000 (14:21 -0700)]
Let requireDeviceFunctionality support Android AHB extension
Components: Vulkan
VK-GL-CTS Issue: 2455
Change-Id: I9d7c741cbbb1fbf30ece9aa03f8a9496c70273cc
Lionel Landwerlin [Mon, 6 Jul 2020 15:26:41 +0000 (18:26 +0300)]
Add timeline semaphore polling tests
New Tests:
dEQP-VK.synchronization.timeline_semaphore.wait.poll_*
Components: Vulkan
Change-Id: I29c54ae536ec75a4147036497886f1403d7f0de6
Ari Suonpaa [Mon, 25 May 2020 10:56:55 +0000 (13:56 +0300)]
Test 3D image blit with differing depth
The existing 3D image blit tests were always
using the same depth for the source and the
destination. These new tests cover nearest
and linear filtering for the z axis.
VK-GL-CTS Issue: 2263
New tests:
dEQP-VK.api.copy_and_blit.*.blit_image.*_3d*
Components: Vulkan
Change-Id: I5141466e5f3d15c7a55777344db7725cd81dd1eb
Dave Airlie [Thu, 23 Jul 2020 23:51:44 +0000 (09:51 +1000)]
use correct delete function for arrays
These triggered ASAN errors.
Components: OpenGL
VK-GL-CTS Issue: 2495
Affects:
KHR-GL45.direct_state_access.framebuffers_draw_read_buffers_errors
KHR-GL45.gpu_shader_fp64.fp64.varyings
Change-Id: I5b2420f6c0a6a0ca7b18b579bd7a2639c4a0ce55
James Glanville [Thu, 2 Jul 2020 16:02:25 +0000 (17:02 +0100)]
Stop 10bit formats requiring GL_SRGB encoding
The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.
Components: EGL
VK-GL-CTS issue: 2288
Affects:
dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb
Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b
James Glanville [Thu, 2 Jul 2020 16:02:25 +0000 (17:02 +0100)]
Stop 10bit formats requiring GL_SRGB encoding
The EGL_KHR_gl_colorspace spec does not require formats that
are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR.
Components: EGL
VK-GL-CTS issue: 2288
Affects:
dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb
dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb
Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b
Alexander Galazin [Thu, 23 Jul 2020 07:34:28 +0000 (09:34 +0200)]
Update the date in the notice of withdrawal
Components: Vulkan
Change-Id: If107f544462e363594b19433ba682b6d543fbba1
Alexander Galazin [Thu, 23 Jul 2020 06:44:55 +0000 (08:44 +0200)]
Notice of withdrawal of Vulkan CTS 1.1.5.x
Components: Vulkan
Change-Id: Ia01f9b9877fc699e4cadbb7dde6099560b082c1d
Ricardo Garcia [Wed, 15 Jul 2020 13:22:33 +0000 (15:22 +0200)]
Allow Bresenham for single-sample non-strict lines
Bresenham rasterization is allowed by Vulkan when using single-sample
non-strict lines but the current test verification function only checks
that possibility when the line width is 1.0.
Affected tests:
dEQP-VK.rasterization.interpolation.*line*
dEQP-VK.rasterization.flatshading.*line*
Components: Framework, Vulkan
VK-GL-CTS issue: 2437
Change-Id: I98a8a393fa387989faa40325629bfbf0b1f0567b