Alexander Galazin [Tue, 16 Feb 2021 08:12:31 +0000 (09:12 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
Change-Id: I9eebea6901649f3a7fc2372fe431535e7ede4625
Caio Marcelo de Oliveira Filho [Fri, 29 Jan 2021 04:33:37 +0000 (20:33 -0800)]
Fix buffer size in manual zeroing Workgroup aliased memory
The buffer A needs to be large enough to fit the largest case when
using the smallest type, which is an array of uint8_t to cover an
array of 4 struct {dvec4, dvec4}. Update the buffer size to properly
cover the entire array.
Component: Vulkan
VK-GL-CTS Issue: 2524
Affected tests:
- dEQP-VK.compute.workgroup_memory_explicit_layout.zero.*
Change-Id: I098b037314fb87fbe03769a0a4fe79edcf46143e
Caio Marcelo de Oliveira Filho [Fri, 29 Jan 2021 04:27:51 +0000 (20:27 -0800)]
Fix missing check for Float64 in manual zeroing Workgroup aliased memory
Test was relying on useType() helper, but it was not filling
needsFloat64 properly. The other tests using the helper are not
affected.
Component: Vulkan
VK-GL-CTS Issue: 2524
Affected tests:
- dEQP-VK.compute.workgroup_memory_explicit_layout.zero.*
Change-Id: I87f718988da5091860c98cbe0708d4d4c1d72b9d
Caio Marcelo de Oliveira Filho [Wed, 13 Jan 2021 22:14:33 +0000 (14:14 -0800)]
Add VK_KHR_workgroup_memory_explicit_layout OpCopyMemory tests
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.copy_memory.*
Change-Id: I78287969904b67df21cf4f8f56935961a22cd6eb
Caio Marcelo de Oliveira Filho [Sat, 5 Dec 2020 05:08:57 +0000 (20:08 -0900)]
Add VK_KHR_workgroup_memory_explicit_layout maximum size tests
Dynamic generation of shaders based on properties reported by devices
is not allowed in the CTS, and in this case we can't use a
specialization constant as the array size. So the test have a few
variants with common maximum values.
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.size.*
Change-Id: Ic960d22277b0a7bff428eae99e1f3107d9b4c85e
Caio Marcelo de Oliveira Filho [Thu, 3 Dec 2020 05:14:34 +0000 (20:14 -0900)]
Add VK_KHR_workgroup_memory_explicit_layout padding tests
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.padding.*
Change-Id: I81d46940a785913faddb5e78dae986e2de9f73ee
Caio Marcelo de Oliveira Filho [Tue, 1 Dec 2020 22:07:37 +0000 (13:07 -0900)]
Add VK_KHR_workgroup_memory_explicit_layout zeroing aliased block tests
Components: Vulkan, Framework
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.zero.*
Change-Id: I935ddc9f2a8d79e0c454a70f07e1f355d1236fc9
Caio Marcelo de Oliveira Filho [Tue, 4 Aug 2020 04:34:34 +0000 (21:34 -0700)]
Add VK_KHR_workgroup_memory_explicit_layout type aliasing tests
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.alias.*
Change-Id: I17ebda4ca8fd750aa5e64f750220c91f8c789dbc
Caio Marcelo de Oliveira Filho [Thu, 4 Feb 2021 19:28:32 +0000 (11:28 -0800)]
Add new ShaderBuildOption to enable Workgroup scalar offsets
This need to be explicitly set in the SPIR-V validator and it is
independent of the use of scalar offsets in other storage classes.
Equivalent to --workgroup-scalar-block-layout option in spirv-val.
Components: Vulkan
Affects: dEQP-VK.*
Change-Id: I903d4c700a08d7b03ccbd3f82274379c6bd6455e
(cherry picked from commit
147bbb57041f6e243966e18d67887eac3baf9b4f)
Alan Baker [Wed, 10 Jun 2020 19:07:24 +0000 (15:07 -0400)]
VK_KHR_zero_initialize_workgroup_memory tests
* New tests for VK_KHR_zero_initialize_workgroup_memory tests
Component: Vulkan
VK-GL-CTS Issue: 2415
New Tests: dEQP-VK.compute.zero_initialize_workgroup_memory.*
Change-Id: If775749596cedb1a5d4937d084d5e191c2707152
(cherry picked from commit
2b917b4caa105f4c7fd69a95ab9ea72a9d140068)
Joshua Ashton [Wed, 15 Jul 2020 03:44:27 +0000 (04:44 +0100)]
Add tests for VK_EXT_4444_formats
Components: Vulkan
New tests:
dEQP-VK.*.a4b4g4r4*
dEQP-VK.*.a4r4g4b4*
Change-Id: I5d597a718246e4bc0af3c6acee1c0d3d0787997b
Joshua Ashton [Wed, 15 Jul 2020 03:34:34 +0000 (04:34 +0100)]
Add support for ABGR texture formats
Needed for VK_EXT_4444_formats
Components: Vulkan Framework
Affects: *
Change-Id: I1f4a4e555d69da3d14df2ce34ad46526cb570911
Alexander Galazin [Wed, 3 Feb 2021 14:13:17 +0000 (15:13 +0100)]
Update glslang
Components: Framework
Change-Id: Icc780bd3e4ebe3448db0a917920b4be91c3696de
(cherry picked from commit
5ea40881588ca29706ffae7f5eb52374cd615e19)
Piotr Byszewski [Wed, 27 Jan 2021 13:40:25 +0000 (14:40 +0100)]
Fix memory scope in OpControlBarrier tests
Workgroup Memory Scope is not allowed in TessellationControl
execution model (VUID-StandaloneSpirv-None-04639). This change
replaces Workgroup memory scope with Invocation scope.
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.barrier.*
Change-Id: Icf2e950a68528f1959a2fefd86dffdde97e150c5
(cherry picked from commit
e2d8f37eae4ae9a798690ac677b1e865438d76a9)
Caio Marcelo de Oliveira Filho [Wed, 13 Jan 2021 22:14:33 +0000 (14:14 -0800)]
Add VK_KHR_workgroup_memory_explicit_layout OpCopyMemory tests
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.copy_memory.*
Change-Id: I78287969904b67df21cf4f8f56935961a22cd6eb
Caio Marcelo de Oliveira Filho [Sat, 5 Dec 2020 05:08:57 +0000 (20:08 -0900)]
Add VK_KHR_workgroup_memory_explicit_layout maximum size tests
Dynamic generation of shaders based on properties reported by devices
is not allowed in the CTS, and in this case we can't use a
specialization constant as the array size. So the test have a few
variants with common maximum values.
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.size.*
Change-Id: Ic960d22277b0a7bff428eae99e1f3107d9b4c85e
Caio Marcelo de Oliveira Filho [Thu, 3 Dec 2020 05:14:34 +0000 (20:14 -0900)]
Add VK_KHR_workgroup_memory_explicit_layout padding tests
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.padding.*
Change-Id: I81d46940a785913faddb5e78dae986e2de9f73ee
Caio Marcelo de Oliveira Filho [Tue, 1 Dec 2020 22:07:37 +0000 (13:07 -0900)]
Add VK_KHR_workgroup_memory_explicit_layout zeroing aliased block tests
Components: Vulkan, Framework
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.zero.*
Change-Id: I935ddc9f2a8d79e0c454a70f07e1f355d1236fc9
Alexander Galazin [Thu, 4 Feb 2021 11:13:21 +0000 (12:13 +0100)]
Update Vulkan headers
Components: Vulkan
Change-Id: I602e747504df841f7100b1638a0011bb10a6a4ca
(cherry picked from commit
53245fa58703ebbbd59ac06dffdb0c3052308d36)
Caio Marcelo de Oliveira Filho [Tue, 4 Aug 2020 04:34:34 +0000 (21:34 -0700)]
Add VK_KHR_workgroup_memory_explicit_layout type aliasing tests
Component: Vulkan
VK-GL-CTS Issue: 2524
New Tests: dEQP-VK.compute.workgroup_memory_explicit_layout.alias.*
Change-Id: I17ebda4ca8fd750aa5e64f750220c91f8c789dbc
Caio Marcelo de Oliveira Filho [Thu, 4 Feb 2021 19:28:32 +0000 (11:28 -0800)]
Add new ShaderBuildOption to enable Workgroup scalar offsets
This need to be explicitly set in the SPIR-V validator and it is
independent of the use of scalar offsets in other storage classes.
Equivalent to --workgroup-scalar-block-layout option in spirv-val.
Components: Vulkan
Affects: dEQP-VK.*
Change-Id: I903d4c700a08d7b03ccbd3f82274379c6bd6455e
Slawomir Cygan [Thu, 28 Jan 2021 15:06:30 +0000 (16:06 +0100)]
Allow geometry shader to reorder vertices in dEQP-VK.ray_query.acceleration_structures test
This fixes the geometry shader used in the test to allow gl_in[] to start from
arbitrary vertex from the triangle primitive.
According to spec:
"""
24.1. Geometry Shader Input Primitives
...
Vertices may be in a different absolute order to that specified by the topology,
but must adhere to the specified winding order.
"""
The test does some ray query computation in geometry shader, using elements
of gl_in[] as inputs, and storing the outputs in consecutive pixels of storage image.
The test than verifies the image contents using some predefined vertex order.
As gl_in is not queranteed to follow this order, vertex index from vertex shader is now
used to calculate starting index, from which gl_in is iterated.
Components: Vulkan
VK-GL-CTS Issue: 2764
Change-Id: I1b6b8df3166d40132747a7315366c427e32b0007
Affects: dEQP-VK.ray_query.acceleration_structures.*.geometry_shader.*
Slawomir Cygan [Thu, 28 Jan 2021 14:17:58 +0000 (15:17 +0100)]
Ensure there is a committed ray intersection before calling rayQueryGetIntersectionInstanceIdEXT(..., true)
The test uses rayQueryGetIntersectionInstanceIdEXT(, true) (what corresponds
to OpRayQueryGetIntersectionInstanceIdKHR with Intersection ==OpRayQueryCommittedTypeKHR)
without actually checking if there is any committed intersection.
The SPV_KHR_ray_query spec requires that there should be a current committed intersection:
"""
Intersection is RayQueryCommittedIntersectionKHR, there must be a current committed intersection
(see OpRayQueryCommittedTypeKHR).
"""
This change fixes that by sorrounding the rayQueryGetIntersectionInstanceIdEXT call with
the check if the curent intersection is not 'None'
Components: Vulkan
VK-GL-CTS Issue: 2762
Affects: dEQP-VK.ray_query.procedural_geometry.*
Change-Id: Ic77e2e67995775b90042ada54cdfd6b627283066
Alexander Galazin [Fri, 12 Feb 2021 11:30:41 +0000 (12:30 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/vulkan-cts-1.2.5
Change-Id: Ib86e71eaf31e327f0f2ebc1951dd3d155f9c5fa6
michal_jakubek [Fri, 8 Jan 2021 09:59:44 +0000 (10:59 +0100)]
Tests for image OpImageWrite on mismatched vector sizes
New tests:
dEQP-VK.image.mismatched_write_op.mismatched_vector_sizes.*
Components: Vulkan
VK-GL-CTS issue: 2412
Change-Id: I1a6a965f603a7d7a145286ac4c17a788484b7ba9
Ricardo Garcia [Mon, 1 Feb 2021 10:36:02 +0000 (11:36 +0100)]
Mix dynamic state with compute and transfer
These tests verify setting dynamic states does not interfere or cause
issues with compute and transfer commands recorded in the same command
buffer.
New tests:
dEQP-VK.dynamic_state.compute_transfer.*
Components: Vulkan
VK-GL-CTS issue: 2740
Change-Id: I5ca470778ed2695b09ccc9edd39b0b583bf9bd6f
Ricardo Garcia [Fri, 29 Jan 2021 10:34:30 +0000 (11:34 +0100)]
Test not writing to the Position built-in
New set of tests to check nothing breaks if a vertex processing shader
stage does not write to the position built-in.
New tests:
dEQP-VK.pipeline.no_position.*
Components: Vulkan
VK-GL-CTS issue: 2664
Change-Id: If2bb6d704937d5bbf828f253fd5094990fc432b5
Vihanakangas [Fri, 13 Nov 2020 10:27:24 +0000 (12:27 +0200)]
Add coverage for depth bias
dEQP-VK didn't have coverage for depth bias testing.
This change verifies that the bias is calculated correctly
with floating-point depth format and integer depth formats.
The amber files copyrights under line_continuity have also been updated.
Updated amber commit id in fetch_sources.py.
New tests:
dEQP-VK.rasterization.depth_bias.*
Components: Vulkan
VK-GL-CTS issue: 2606
Change-Id: I82bdffef879f372e03602cd091e1675258c137ea
Charles Johnston [Thu, 28 Jan 2021 13:48:26 +0000 (08:48 -0500)]
Fix size calculation for compressed 3D textures
Affected tests:
dEQP-VK.texture.compressed_3D.*
Components: vulkan
VK-GL-CTS issue: 2761
Change-Id: I2d062233a5bb3611bc9c24697da198a4710dc0e1
Jeff Bolz [Thu, 21 Jan 2021 22:20:41 +0000 (16:20 -0600)]
Test FragCoord with per-sample input variable
Tests this spec language for a pipeline that doesn't use
sampleShadingEnable, but does use gl_SampleID to enable sample
shading:
'When Sample Shading is enabled, the x and y components of FragCoord
reflect the location of one of the samples corresponding to the
shader invocation.'
Component: Vulkan
Affects: dEQP-VK.glsl.builtin_var.fragcoord_msaa.*
Change-Id: Ia5d423b6310b956f721cfd9f9d069b97a8fa3319
Ilkka Saarelainen [Mon, 25 Jan 2021 09:01:44 +0000 (11:01 +0200)]
Add new samplerless descriptor tests
Some implementations seem to have issues with samplerless
texelFetch function when the image is bound using set 1.
This CL adds new test variants of samplerless descriptor
update tests that use descriptor set 1 instead of 0.
Also fixes 'VUID-VkDescriptorSetLayoutBinding-descriptorType-01510'
validation errors in following test:
dEQP-VK.binding_model.descriptor_update.samplerless.input_attachment_*
New tests:
dEQP-VK.binding_model.descriptor_update.samplerless.*_set_1
Affects:
dEQP-VK.binding_model.descriptor_update.samplerless.*
Components: Vulkan
VK-GL-CTS issue: 2750
Change-Id: Ia4a2124253b555111257e4241708332707676629
Toni Salmivalli [Thu, 26 Nov 2020 13:30:02 +0000 (15:30 +0200)]
Add a batch of GraphicsFuzz tests
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.do-while-if-return
dEQP-VK.graphicsfuzz.flag-always-false-if
dEQP-VK.graphicsfuzz.stable-binarysearch-tree-false-if-discard-loop
dEQP-VK.graphicsfuzz.stable-binarysearch-tree-nested-if-and-conditional
dEQP-VK.graphicsfuzz.stable-collatz-push-constant-with-nested-min-max
dEQP-VK.graphicsfuzz.stable-mergesort-reversed-for-loop
dEQP-VK.graphicsfuzz.stable-triangle-array-nested-loop
dEQP-VK.graphicsfuzz.stable-triangle-nested-for-loop-and-true-if
dEQP-VK.graphicsfuzz.vec2-modf
Change-Id: Ifb56713b08c8cb0351733929c20f5b18a3f6c68e
Pawel Ksiezopolski [Mon, 8 Feb 2021 15:56:35 +0000 (16:56 +0100)]
Rename all *KHR enums and structs to core
Rename all *KHR enums and structs to its core counterparts in Vulkan framework.
Components:
Framework Vulkan
Change-Id: If02aef421648addf9e5d4a6e81b36549e0aba7df
(cherry picked from commit
f4b473ed1d54634df4833e4decdb96ee178f5323)
Alexander Galazin [Fri, 5 Feb 2021 09:40:00 +0000 (10:40 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
Change-Id: I33232d0cd1b781f6d8fe4398d32d85da7c4820cb
David Neto [Wed, 13 Jan 2021 19:02:26 +0000 (14:02 -0500)]
Update README for GL/glx.h dependency on Linux
(cherry picked from commit
4260ae4481ab13888606eb8e1ebdeb3391691a57)
Change-Id: I77edfe92d9687d92748004be948e456ed8c8d613
Alexander Galazin [Fri, 5 Feb 2021 07:54:58 +0000 (08:54 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/master
Change-Id: Ib2537e0bef1cefd38400f761486efb5f84b9c3e6
Alexander Galazin [Thu, 21 Jan 2021 10:16:07 +0000 (11:16 +0100)]
Remove GLES-only tests from the GL 4.5 package
Removed tests:
dEQP-GL45.functional.default_vertex_array_object.*
dEQP-GL45.functional.android_extension_pack.*
Components: AOSP
Change-Id: I9d62b404803ab734f1e672534d98dee38e24ae43
Alexander Galazin [Thu, 21 Jan 2021 09:37:51 +0000 (10:37 +0100)]
Support GL 4.5 in the Separate shader tests
Affects:
dEQP-GLES31.functional.separate_shader.*
dEQP-GL45.functional.separate_shader.*
Components: AOSP
Change-Id: I8e46a4730162ffd4c7b385dd44435fa2a8bab2e5
Alan Baker [Wed, 10 Jun 2020 19:07:24 +0000 (15:07 -0400)]
VK_KHR_zero_initialize_workgroup_memory tests
* New tests for VK_KHR_zero_initialize_workgroup_memory tests
Component: Vulkan
VK-GL-CTS Issue: 2415
New Tests: dEQP-VK.compute.zero_initialize_workgroup_memory.*
Change-Id: If775749596cedb1a5d4937d084d5e191c2707152
Alexander Galazin [Thu, 4 Feb 2021 11:13:21 +0000 (12:13 +0100)]
Update Vulkan headers
Components: Vulkan
Change-Id: I602e747504df841f7100b1638a0011bb10a6a4ca
Alexander Galazin [Wed, 3 Feb 2021 14:13:17 +0000 (15:13 +0100)]
Update glslang
Components: Framework
Change-Id: Icc780bd3e4ebe3448db0a917920b4be91c3696de
Ari Suonpaa [Tue, 26 Jan 2021 09:30:04 +0000 (11:30 +0200)]
Change gradient generator for pipeline image tests
Pipeline image tests were initializing images with a
gradient generator which used a single image dimension
per channel (i.e. red channel depending only on x).
This was problematic when testing formats that were not
using all the channels. For example layer tests were
still passing for R16 formats even when sampling was
forced to always use layer 0 because the layer index
was encoded in a missing blue channel.
There was another gradient generator available that
encoded all coordinates into each channel solving
this problem.
VK-GL-CTS Issue: 2525
Affects:
dEQP-VK.pipeline.image.*
Components: Vulkan
Change-Id: Ie5ff0ddc5c373577952a4240bd10e10b9f25507b
Graeme Leese [Fri, 8 Jan 2021 12:48:00 +0000 (12:48 +0000)]
Add tests for multisample texture size
textureSize was not being tested for multisample, sampled images so add
some simple tests. These are copied from the single-sample textureSize
tests and will try out a few different size textures for each supported
sample count.
Components: Vulkan
VK-GL-CTS issue: 2730
New tests: dEQP-VK.glsl.texture_functions.query.texturesizems.*
Change-Id: I26a9d0310b8acc79acc59879a1ef8f6143ca463a
Piotr Byszewski [Wed, 27 Jan 2021 13:40:25 +0000 (14:40 +0100)]
Fix memory scope in OpControlBarrier tests
Workgroup Memory Scope is not allowed in TessellationControl
execution model (VUID-StandaloneSpirv-None-04639). This change
replaces Workgroup memory scope with Invocation scope.
Components: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.barrier.*
Change-Id: Icf2e950a68528f1959a2fefd86dffdde97e150c5
Marcin Kańtoch [Tue, 11 Aug 2020 13:43:15 +0000 (15:43 +0200)]
VK_KHR_fragment_shading_rate pixel consistency
Pixel selection consistency tests
New tests:
dEQP-VK.fragment_shading_rate.pixel_consistency*
Components: Vulkan
VK-GL-CTS Issue: 2397
Change-Id: I3a1b10da7ef3a0897d78c9352c5373f6d4e5fae0
Bas Nieuwenhuizen [Mon, 1 Feb 2021 19:05:03 +0000 (20:05 +0100)]
Set correct access flags for buffer copy synchronization.
Since the copy depends on the result of the blit, we should make
the results visible to the copy with VK_ACCESS_TRANSFER_WRITE_BIT.
Components: Vulkan
Affects: dEQP-VK.drm_format_modifiers.export_import.*
Change-Id: I8a9a94657203472ca8842db0cc164c71c087a48c
liruoyu [Tue, 3 Nov 2020 08:31:17 +0000 (16:31 +0800)]
Adjust texture data and threshold
Affects:
dEQP-GLES3.functional.texture.wrap.*
dEQP-GLES2.functional.texture.wrap.*
Components: OpenGL
VK-GL-CTS issue: 2589
Root cause:
We treat all variable which have relaxed precision decoration as half precision value.
1. When run in repeat&linear mode, sampling texture edge will get an
unexpect result.
2. When run in nearest mode, threshold is 2/256, but texture gradient is
2/255. so, if target texel's deviation more then 1, will get a fail
result.
Solution:
1. Adjust texture data, make the difference between two adjacent texel under 2/256
in per-channel.
2. Adjust threshold to 2/255 in RGBA_8888 mode, adjust threshold to (1 + 256/16) in RGBA_4444 mode.
3. Adjust texture data, make the texture gradient like a pyramid in
repeat mode.
Change-Id: I2382d36bdeb227e81d0d0b8f76f61d26a00f0fcd
Ricardo Garcia [Fri, 22 Jan 2021 15:40:00 +0000 (16:40 +0100)]
Fix validation in mismatched format tests
This commit fixes several issues:
* The sparse image was being created before checking if that was
possible.
* The image was not correctly transferred to the general layout before
being used.
* Avoid creating a color image view for depth and depth/stencil images.
Affected tests:
dEQP-VK.image.mismatched_formats.*
Components: Vulkan
VK-GL-CTS issue: 2751
Change-Id: Ia5496c77f2b6275afdf381238751fc9c0e4bcb20
Vihanakangas [Wed, 16 Sep 2020 10:58:39 +0000 (13:58 +0300)]
Test descriptor set layout binding ordering
This change verifies that when vkCreateDescriptorSetLayout()
specifies binding number N+M before binding N,
for dynamic buffers, the offsets are applied correctly.
The second part of this change tests that if dstBinding has fewer than
descriptorCount array elements remaining starting from dstArrayElement,
then the remainder will be used to update the subsequent binding.
New tests:
dEQP-VK.api.descriptor_set.descriptor_set_layout_binding.update_subsequent_binding
dEQP-VK.api.descriptor_set.descriptor_set_layout_binding.layout_binding_order
Components: Vulkan
VK-GL-CTS issue: 2334
Change-Id: I447e51e62f224e3a50b018266915a1bbaba7fb5e
Ari Suonpaa [Mon, 18 Jan 2021 11:31:54 +0000 (13:31 +0200)]
Add descriptor update stress test
A new test is added where descriptor writes are randomly
generated between draw calls.
VK-GL-CTS Issue: 2728
New tests: dEQP-VK.binding_model.descriptor_update.random.uniform_buffer
Components: Vulkan
Change-Id: I1f7e1b13d111d62890b030093d9795a86975afaa
Antto Mäkinen [Tue, 19 Jan 2021 11:13:41 +0000 (13:13 +0200)]
Coverage tests for undefined values
A batch of tests from GraphicsFuzz that achieve extra coverage
on various targets, and that specifically invoke operations that
can produce undefined results, but don't lead to undefined behavior.
In each case, the outcome of the test does not depend on the result
of an undefined value.
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.cov-apfloat-mix-nan
dEQP-VK.graphicsfuzz.cov-apfloat-mod-zero
dEQP-VK.graphicsfuzz.cov-apfloat-sinh-negative-log2
dEQP-VK.graphicsfuzz.cov-asin-undefined-smoothstep
dEQP-VK.graphicsfuzz.cov-bitfieldExtract-undefined
dEQP-VK.graphicsfuzz.cov-bitfieldinsert-undefined
dEQP-VK.graphicsfuzz.cov-bitfieldreverse-left-shift-findmsb
dEQP-VK.graphicsfuzz.cov-const-folding-pow-large-exp
dEQP-VK.graphicsfuzz.cov-dag-combiner-clamp-undefined-access-array
dEQP-VK.graphicsfuzz.cov-fract-smoothstep-undefined
dEQP-VK.graphicsfuzz.cov-fragcoord-clamp-array-access
dEQP-VK.graphicsfuzz.cov-ldexp-undefined-mat-vec-multiply
dEQP-VK.graphicsfuzz.cov-pow-undefined
dEQP-VK.graphicsfuzz.cov-sinh-ldexp
dEQP-VK.graphicsfuzz.cov-undefined-inversesqrt-reflect
dEQP-VK.graphicsfuzz.cov-x86-isel-lowering-determinant-exp-acos
Change-Id: Iec0a643fd19806b52c77bd570a52b7ce849cd2bb
Ricardo Garcia [Fri, 4 Dec 2020 13:12:48 +0000 (14:12 +0100)]
Test attributes beyond static vertex stride
Add some new tests that use dynamic vertex strides and vertex attributes
that start beyond the original static stride specified in the binding.
New tests:
dEQP-VK.pipeline.extended_dynamic_state.*large_stride*
Affected tests:
dEQP-VK.pipeline.extended_dynamic_state.*
Components: Vulkan
VK-GL-CTS issue: 2686
Change-Id: I81bd2dd6a10b8072aa535fa41a1b864c8d26e954
Alexander Galazin [Thu, 28 Jan 2021 19:40:35 +0000 (20:40 +0100)]
Allow Vulkan CTS 1.2.5.1
Components: Vulkan
Affects: dEQP-VK.api.driver_properties.properties
Change-Id: I7ca8bb2937e1e601f58fe5a7220138a1a06a2ca5
Marcin Kańtoch [Thu, 14 Jan 2021 18:11:49 +0000 (19:11 +0100)]
Fixed dEQP-VK.wsi.*.full_screen_exclusive.* tests
Full list of fixes described in the issue.
Components: Vulkan
VK-GL-CTS issue: 2746
Affects:
dEQP-VK.wsi.*.full_screen_exclusive.*
Change-Id: I787fb775a1b3a88c6308d1ab8a7f37d11fa9a049
Graeme Leese [Thu, 21 Jan 2021 13:55:22 +0000 (13:55 +0000)]
Check for astc_sliced_3d extension in negative API tests
The ASTC sliced_3d extension allows support of 3D ASTC textures using 2D
blocks (interpreted as XxYx1 blocks of the 3D texture). That makes
passing the 2D ASTC format enums with a texture target of TEXTURE_3D
legal, so update the negative API tests to allow that case.
Components: OpenGL
VK-GL-CTS issue: 2741
Affects: dEQP-GLES3.functional.negative_api.texture.compressedteximage3d_invalid_astc_target
dEQP-GLES3.functional.negative_api.texture.texstorage3d_invalid_astc_target
Change-Id: Ifd3c54d2819d11c3e771ad4a98682e266c27da41
(cherry picked from commit
6c72e55e2343f0b448c0707d0ae6b51f2baa3e61)
Thomas Spurden [Wed, 16 Dec 2020 12:26:52 +0000 (12:26 +0000)]
Add --force option to fetch_sources.py
This passes --force to git fetch and checkout.
Change-Id: I56a7ccafefb2eaac69d2253516308daa8e8808cf
(cherry picked from commit
2feac9e222d15c94adf3d39e61878e489a0f0aea)
Graeme Leese [Thu, 21 Jan 2021 13:55:22 +0000 (13:55 +0000)]
Check for astc_sliced_3d extension in negative API tests
The ASTC sliced_3d extension allows support of 3D ASTC textures using 2D
blocks (interpreted as XxYx1 blocks of the 3D texture). That makes
passing the 2D ASTC format enums with a texture target of TEXTURE_3D
legal, so update the negative API tests to allow that case.
Components: OpenGL
VK-GL-CTS issue: 2741
Affects: dEQP-GLES3.functional.negative_api.texture.compressedteximage3d_invalid_astc_target
dEQP-GLES3.functional.negative_api.texture.texstorage3d_invalid_astc_target
Change-Id: Ifd3c54d2819d11c3e771ad4a98682e266c27da41
Alexander Galazin [Thu, 28 Jan 2021 17:23:22 +0000 (18:23 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7
Change-Id: I788189cd68e7eb8d41b1e9f110102e5b611b0a62
Ricardo Garcia [Fri, 22 Jan 2021 10:39:45 +0000 (11:39 +0100)]
Disable dithering in nearest edge test cases
This commits disables dithering in the nearest edge test cases so the
tests can correctly work with less than 8 bits per pixel.
Affected tests:
KHR-GL*.nearest_edge.*
Components: OpenGL
VK-GL-CTS issue: 2748
Change-Id: I906d7973be1a77e598135b3ed0dde5d671ba0ba7
(cherry picked from commit
671dbeb2ca8d3793f06fb9fe7838e0f02951141c)
Ricardo Garcia [Fri, 22 Jan 2021 10:39:45 +0000 (11:39 +0100)]
Disable dithering in nearest edge test cases
This commits disables dithering in the nearest edge test cases so the
tests can correctly work with less than 8 bits per pixel.
Affected tests:
KHR-GL*.nearest_edge.*
Components: OpenGL
VK-GL-CTS issue: 2748
Change-Id: I906d7973be1a77e598135b3ed0dde5d671ba0ba7
Piers Daniell [Tue, 26 Jan 2021 17:19:30 +0000 (10:19 -0700)]
Return a valid format when GL_RGB8 is not treated as GL_RGBA8
There was a special case added to NearestEdgeTestCase::toTextureFormat()
in https://gerrit.khronos.org/c/vk-gl-cts/+/6634 to support implementations
that treat GLRGB8 internally as GL_RGBA8888. This code change had a coding
error is that for implementations that don't support GLRGB8 in this way
ended up aborting with a fatal error:
"Unable to map pixel format to texture format"
This trivial fix corrects the coding bug to simply return the
unadjusted format.
Affects:
KHR-GLES3.core.nearest_edge.offset_*
KHR-GLES31.core.nearest_edge.offset_*
Components: OpenGL
VK-GL-CTS issue: 2758
Change-Id: I639aed8bfed70941688d30edb02a770be4b05b08
Alexander Galazin [Thu, 28 Jan 2021 13:17:50 +0000 (14:17 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/vulkan-cts-1.2.5
Change-Id: Ia3c9ad282501c58a5d05b8b28163babe42686dcf
Alexander Galazin [Thu, 28 Jan 2021 10:53:33 +0000 (11:53 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.3 into vk-gl-cts/vulkan-cts-1.2.4
Change-Id: I57c045028692ccdead9ceecdc0f6421874413a11
Alexander Galazin [Thu, 28 Jan 2021 10:02:12 +0000 (11:02 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.2 into vk-gl-cts/vulkan-cts-1.2.3
Change-Id: I866350c03d9b27e87b39653aef4415f326e2510a
Alexander Galazin [Thu, 28 Jan 2021 08:20:40 +0000 (09:20 +0100)]
Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/vulkan-cts-1.2.2
Change-Id: Id4b318d832da2ccfbc5a72523454eb39a23d2a2c
Alastair Donaldson [Wed, 1 Apr 2020 15:48:46 +0000 (16:48 +0100)]
Account for aliasing exceptions in codegen
Fixes a problem where functions for which aliasing exceptions are in
place (at present this is just glRenderbufferStorageMultisampleEXT)
were not being treated properly in code generation -- their aliased
names were being erroneously used.
Component: Framework
Affects: dEQP-GLES*multisample*
VK-GL-CTS issue: 2291
Change-Id: I5e9caf8828b192d15bb3c91f53a9d09aa9442129
Ricardo Garcia [Wed, 13 Jan 2021 11:10:16 +0000 (12:10 +0100)]
Check sparse image format support before creation
Check the implementation supports sparse images before creating them
using any of the sparse image flags.
Affected tests:
dEQP-VK.renderpass*.sparserendertarget.*
Components: Vulkan
VK-GL-CTS issue: 2721
Change-Id: Ifadad2c2d490d5685a4fa0a40776926d541a0c49
Ricardo Garcia [Tue, 22 Dec 2020 11:11:14 +0000 (12:11 +0100)]
Additional conditional rendering tests
New variants of conditional rendering tests:
* Check that the condition value is being read as a 32-bit value, with
all bytes being taken into account but without using data stored
before or after the condition.
* Check that the conditional rendering inheritance flag on secondary
command buffers does not affect results when the primary command
buffer does not use conditional rendering.
New tests:
dEQP-VK.conditional_rendering.dispatch.condition_size.*
dEQP-VK.conditional_rendering.*.condition_secondary_buffer_inherited_*
Renamed tests:
from dEQP-VK.conditional_rendering.*.no_condition_secondary_buffer_expect_execution.*
to dEQP-VK.conditional_rendering.*.no_condition_secondary_buffer_inherited_expect_execution.*
Affected tests:
dEQP-VK.conditional_rendering.*
Components: Vulkan
VK-GL-CTS issue: 2705
Change-Id: I77f9ba5803771a981a0c5c6c0641bb4570ed72f9
Eleni Maria Stea [Tue, 12 Jan 2021 11:14:06 +0000 (12:14 +0100)]
Expand tests for image queries of null descriptors
This commit adds the following checks:
* textureQueryLod with null image descriptors.
* textureQueryLevels with null image descriptors.
* textureSize with null image descriptors and negative LODs.
* textureSize with null image descriptors and very large LODs.
Affects tests:
dEQP-VK.robustness.robustness2.*.sampled_image.*.null_descriptor.*
Components: Vulkan
VK-GL-CTS issue: 2659
Change-Id: I0ffdc5aa65dc927c0d057356c11ef901ff5bcb47
Co-authored-by: Ricardo Garcia <rgarcia@igalia.com>
Alexander Galazin [Tue, 26 Jan 2021 20:04:13 +0000 (21:04 +0100)]
Switch the branch to the master mustpass
Makes 'master' the current mustpass and
aligns it with 3.2.6
Components: OpenGL
Change-Id: I7d6e227f6bb6e995fc1364cc36f1e869399315e3
Ricardo Garcia [Mon, 25 Jan 2021 15:02:01 +0000 (16:02 +0100)]
Unicode and Python3 fixes for verification scripts
Fix several issues related to running verification scripts under
different versions of Python, making sure the scripts are compatible
with both Python 2 and Python 3 and do not choke on invalid characters,
which are sometimes present in test shaders.
Components: OpenGL, Framework
VK-GL-CTS issue: 2756
Change-Id: Id472b842cb8fd6536e61489f3c01e28c462dbebd
Graeme Leese [Thu, 21 Jan 2021 17:16:41 +0000 (17:16 +0000)]
Stop dEQP-GL45 tests falling back to ES3.1
The ES3.1 context creation code accepted an apiType parameter but would
always fall back to ES3.1 if the apiType that was requested was not
supported. (This used to be used to create an ES3.2 context where
supported). This meant that the new dEQP-GL45.* tests would run on an ES
implementation using an ES3.1 context.
Make the behaviour of dEQP-GL45.* consistent with the KHR-GL* tests by
failing to create a context if the requested apiType is not supported.
The old fallback behaviour is moved to the dEQP-GLES31 test package,
which is where the strange fallback requirement comes from anyway.
Components: OpenGL
VK-GL-CTS issue: 2747
Affects: dEQP-GL45.*
Change-Id: Ie5ef92c708a28211a007589c0f4aa49ad7d745e1
(cherry picked from commit
ff4410749c669b9b6e943a41f76d30b6db86d034)
Graeme Leese [Thu, 21 Jan 2021 17:16:41 +0000 (17:16 +0000)]
Stop dEQP-GL45 tests falling back to ES3.1
The ES3.1 context creation code accepted an apiType parameter but would
always fall back to ES3.1 if the apiType that was requested was not
supported. (This used to be used to create an ES3.2 context where
supported). This meant that the new dEQP-GL45.* tests would run on an ES
implementation using an ES3.1 context.
Make the behaviour of dEQP-GL45.* consistent with the KHR-GL* tests by
failing to create a context if the requested apiType is not supported.
The old fallback behaviour is moved to the dEQP-GLES31 test package,
which is where the strange fallback requirement comes from anyway.
Components: OpenGL
VK-GL-CTS issue: 2747
Affects: dEQP-GL45.*
Change-Id: Ie5ef92c708a28211a007589c0f4aa49ad7d745e1
Alexander Galazin [Fri, 22 Jan 2021 13:15:04 +0000 (14:15 +0100)]
Revert "Support GL 4.5 in the blend_equation_advanced tests"
Affects:
dEQP-GLES3*.functional.blend_equation_advanced
Components: AOSP
VK-GL-CTS issue: 2749
This reverts commit
93695bfdf50b76d294ebbc1413996f2af897a179.
Change-Id: I8c563dbcf792c7018b06a1595fce57180ee2fc0d
Alejandro Piñeiro [Thu, 14 Jan 2021 14:22:47 +0000 (15:22 +0100)]
Add VariablePointerFeatures requirement for amber test requiring it
The amber script is requiring it. Without the test would raise a
internal error for drivers that don't support variable pointers.
Affects: dEQP-VK.spirv_assembly.instruction.compute.vector_shuffle.vector_shuffle
Components: Vulkan
VK-GL-CTS Issue: 2732
Change-Id: I5e72caf05ad852000d0a7438162d08a4e2942470
Alejandro Piñeiro [Wed, 13 Jan 2021 08:31:04 +0000 (09:31 +0100)]
Avoid querying YCbCr combined sampler count in RGBA
Several YCbCr query tests try to obtain the value of
combinedImageSamplerDescriptorCount for RGBA formats without checking if
the implementation actually supports VK_KHR_sampler_ycbcr_conversion or
the samplerYcbcrConversion feature.
On the one hand, obtaining that value for RGBA formats may not be
completely right due to the spec description supposing the format would
be a multiplanar format.
On the other hand, if the implementation conforms to Vulkan 1.0 and does
not support the extension, the structure will be ignored and
combinedImageSamplerDescriptorCount will be zero, resulting in wrong
behavior when creating a descriptor pool and allocating a descriptor
set from it.
Affects:
dEQP-VK.ycbcr.query.*r8g8b8a8_unorm*
Components: Vulkan
VK-GL-CTS Issue: 2724
Change-Id: I8660ccd5bdbb2e12133f76855049e9efcacc7888
Ricardo Garcia [Tue, 12 Jan 2021 15:23:20 +0000 (16:23 +0100)]
Check unsupported formats with sparse AMD bias/lod
The specified format may not support the required layout or flags, so
vkGetPhysicalDeviceImageFormatProperties2 may return
VK_ERROR_FORMAT_NOT_SUPPORTED and the tests should be skipped as not
supported instead of failing.
Affected tests:
dEQP-VK.glsl.texture_gather.*amd_*
Components: Vulkan
VK-GL-CTS issue: 2722
Change-Id: I195598fc5b645c5faad150700fdba6caad7be52c
Mika Väinölä [Wed, 16 Dec 2020 11:25:54 +0000 (13:25 +0200)]
Add command line option for filtering by runner
Add --deqp-runner-type with three possible values:
* `any` for running all tests (default)
* `none` for excluding tests using any runner
* `amber` for only running tests using Amber
Components: Framework
VK-GL-CTS issue: 2640
Change-Id: I733d45dadcb9b12a241ec6a03fdd51653a940c74
Antto Mäkinen [Thu, 17 Dec 2020 09:37:51 +0000 (11:37 +0200)]
Fix a Graphicsfuzz coverage test not to depend on an undefined value
The final color was set based on comparison against an undefined value.
Components: Vulkan
Affects:
dEQP-VK.graphicsfuzz.cov-inst-combine-compares-ldexp
VK-GL-CTS Issue: 2687
Change-Id: I6d64ab568769c99c824a5a0163b052200df3c6cd
Antto Mäkinen [Thu, 17 Dec 2020 12:34:34 +0000 (14:34 +0200)]
dEQP-VK.graphicsfuzz.cov-tail-duplicator-infinite-loops
Components: Vulkan
New Tests:
dEQP-VK.graphicsfuzz.cov-tail-duplicator-infinite-loops
Change-Id: I24ac09b51408f2e244328f2b90dc6821a6cdce1b
Mika Väinölä [Mon, 3 Aug 2020 09:34:32 +0000 (12:34 +0300)]
Add FrexpStruct comparison tests
Add tests for comparing the output of Frexp and FrexpStruct with 32-bit
floats and vectors as input.
New tests:
dEQP-VK.spirv_assembly.instruction.*.float32.comparison_*.frexpstruct*
Components: Vulkan
VK-GL-CTS issue: 1729
Change-Id: Idd2a58a3978de391b1d446a28063749a91ddfd25
Ari Suonpaa [Tue, 12 Jan 2021 13:03:12 +0000 (15:03 +0200)]
Use target environment for Amber shaders
Amber test case class had SPIR-V version 1.0 hard coded
as the target version for GLSL shader compilation. This
change uses the target version specified by the Amber
shader if one is found. Currently no Amber tests in CTS
have the version specified, but this change prepares
for future tests where a higher version of SPIR-V is
required.
VK-GL-CTS Issue: 2719
New tests: None
Components: Framework
Change-Id: Icac3cf3c5920b3c9740a600ebb1d639e6e21c302
Alexander Galazin [Thu, 21 Jan 2021 16:50:19 +0000 (17:50 +0100)]
Add gitattributes
Change-Id: Iea1ea7bf7a4953ad30d4c1ebd82d91b7c861b1b2
Piotr Byszewski [Fri, 25 Dec 2020 15:53:46 +0000 (16:53 +0100)]
Test negative depthBiasClamp values
Components: Vulkan
VK-GL-CTS issue: 2493
Affects:
dEQP-VK.draw.inverted_depth_ranges.*
Change-Id: Id29d51e86102f4f39019a360cb8cf8a645f4fe06
Alexander Galazin [Thu, 21 Jan 2021 17:42:48 +0000 (18:42 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7
Change-Id: Ia83b57c0167a3375941b011fdfee5a4ad87b2a23
Kyle Griffiths [Thu, 7 Jan 2021 11:38:11 +0000 (11:38 +0000)]
Threshold Consistency for ES2 FBO Tests
ES3 and 3.1 tests both use the same fuzzycompare threshold value
for their FBO tests, whereas ES2 uses a smaller value despite
having the same coarse formats that require the high threshold.
This change adjusts the ES2 FBO Render Test threshold to match
the value set for ES3 and ES3.1
Affects:
dEQP-GLES2.functional.fbo.render.*
Components: GLES2
VK-GL-CTS Issue: 2715
Change-Id: I15203e1ecf45081ec27baee59b780c5bdf5aacaf
(cherry picked from commit
34d1a2e19b9e12b6413fe61d8dc4ee752c6053e4)
Kyle Griffiths [Thu, 7 Jan 2021 11:38:11 +0000 (11:38 +0000)]
Threshold Consistency for ES2 FBO Tests
ES3 and 3.1 tests both use the same fuzzycompare threshold value
for their FBO tests, whereas ES2 uses a smaller value despite
having the same coarse formats that require the high threshold.
This change adjusts the ES2 FBO Render Test threshold to match
the value set for ES3 and ES3.1
Affects:
dEQP-GLES2.functional.fbo.render.*
Components: GLES2
VK-GL-CTS Issue: 2715
Change-Id: I15203e1ecf45081ec27baee59b780c5bdf5aacaf
Alexander Galazin [Thu, 21 Jan 2021 11:02:38 +0000 (12:02 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.7 into vk-gl-cts/master
Change-Id: I621b79a228765f2cba40fb2380f4dee8bcea5eda
Alexander Galazin [Thu, 21 Jan 2021 10:06:32 +0000 (11:06 +0100)]
Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/opengl-es-cts-3.2.7
Change-Id: If73591d2f5f70df124f2e49560acaf767da9af0e
Alexander Galazin [Thu, 7 Jan 2021 10:50:49 +0000 (11:50 +0100)]
Support GL 4.5 in the GetTexLevelParameter tests
Affects:
dEQP-GLES31.functional.state_query.texture_level.*
dEQP-GL45.functional.state_query.texture_level.*
Components: AOSP
Change-Id: I9b469695a35a3329bfb09fd06ac86d745e7f2e41
Alexander Galazin [Thu, 7 Jan 2021 10:45:19 +0000 (11:45 +0100)]
Support GL 4.5 in the multisample interpolation states tests
Affects:
dEQP-GLES31.functional.state_query.multisample_interpolation.*
dEQP-GL45.functional.state_query.multisample_interpolation.*
Components: AOSP
Change-Id: I671f88d6eef70370c8fb273e8e442a33a9923f4b
Alexander Galazin [Thu, 7 Jan 2021 10:43:43 +0000 (11:43 +0100)]
Support GL 4.5 in the Shader state query tests
Affects:
dEQP-GLES31.functional.state_query.shader.*
dEQP-GL45.functional.state_query.shader.*
Components: AOSP
Change-Id: Icb2e494fdc84881ff782a0740a4cee8d44cd5b7b
Alexander Galazin [Thu, 7 Jan 2021 10:40:18 +0000 (11:40 +0100)]
Support GL 4.5 in the Stencil texturing tests
Affects:
dEQP-GLES31.functional.stencil_texturing.*
dEQP-GL45.functional.stencil_texturing.*
Components: AOSP
Change-Id: Ief959e61332bf1f773d3ef5e627c1e1593f127ad
Alexander Galazin [Thu, 7 Jan 2021 10:38:37 +0000 (11:38 +0100)]
Support GL 4.5 in the Synchronization tests
Affects:
dEQP-GLES31.functional.synchronization.*
dEQP-GL45.functional.synchronization.*
Components: AOSP
Change-Id: Iade2a6cc0e6547548429b8b0dbfea19efe01215b
Alexander Galazin [Wed, 30 Dec 2020 09:47:27 +0000 (10:47 +0100)]
Support GL 4.5 in various multisample tests
Affects:
dEQP-GLES31.functional.shaders.sample_variables.*
dEQP-GLES31.functional.sample_shading.*
dEQP-GLES31.functional.shaders.multisample_interpolation.*
dEQP-GL45.functional.shaders.sample_variables.*
dEQP-GL45.functional.sample_shading.*
dEQP-GL45.functional.shaders.multisample_interpolation.*
Components: AOSP
Change-Id: I4a7dce72401f32544ff6c4b93ae42733c9916c5c
Cheryl Wei [Mon, 4 Jan 2021 07:23:46 +0000 (15:23 +0800)]
Fix ReadPixels format
Pass implementation format to ReadPixels when pixel format is 8,8,8,0
because some implementations treat RGB8 as RGBA8888 which causes these
tests to fail.
Affected tests:
KHR-GLES3.core.nearest_edge.offset_*
KHR-GLES31.core.nearest_edge.offset_*
Components: OpenGL ES
VK-GL-CTS issue: 2712
Change-Id: I6ce92f19d2e329c75ca5fc6800092af623e25829
(cherry picked from commit
780408248fd9e84162f7f6ccf94677952ab0d0da)
Cheryl Wei [Mon, 4 Jan 2021 07:23:46 +0000 (15:23 +0800)]
Fix ReadPixels format
Pass implementation format to ReadPixels when pixel format is 8,8,8,0
because some implementations treat RGB8 as RGBA8888 which causes these
tests to fail.
Affected tests:
KHR-GLES3.core.nearest_edge.offset_*
KHR-GLES31.core.nearest_edge.offset_*
Components: OpenGL ES
VK-GL-CTS issue: 2712
Change-Id: I6ce92f19d2e329c75ca5fc6800092af623e25829
Alexander Galazin [Wed, 6 Jan 2021 09:12:38 +0000 (10:12 +0100)]
Support GL 4.5 in the Texture buffer syncronization tests
Affects:
dEQP-GLES31.functional.texture.texture_buffer.*
dEQP-GL45.functional.texture.texture_buffer.*
Components: AOSP
Change-Id: I5894eb4a15120dfcd838aae9d2a2c658e4e3ea21
Alexander Galazin [Wed, 6 Jan 2021 09:07:03 +0000 (10:07 +0100)]
Support GL 4.5 in the Texture Specification Tests
Affects:
dEQP-GLES31.functional.texture.specification.*
dEQP-GL45.functional.texture.specification.*
Components: AOSP
Change-Id: Ib693409a0fe93770055675b3b566d30cdc48046f
Alexander Galazin [Wed, 6 Jan 2021 09:04:32 +0000 (10:04 +0100)]
Support GL 4.5 in the Query vertex attribute binding state tests
Affects:
dEQP-GLES31.functional.state_query.vertex_attribute_binding.indexed.vertex_binding_offset_mixed
dEQP-GL45.functional.state_query.vertex_attribute_binding.indexed.vertex_binding_offset_mixed
Components: AOSP
Change-Id: I0b41a86313eae36e618eec61c84b7500dc9d9098