Mika Isojärvi [Mon, 15 May 2017 21:58:26 +0000 (14:58 -0700)]
Add API tests for VK_KHR_external_fence* extensions
New Tests:
dEQP-VK.api.external.fence.*
VK-GL-CTS issues: 119
Components: Vulkan
Change-Id: Ie812cd66b7d7aa5731338b050c23bfe805583ef6
Mika Isojärvi [Wed, 10 May 2017 22:14:20 +0000 (15:14 -0700)]
Update external memory tests
- Use KHR suffix instead of KHX
- Test different transferences and permanences
- Test Win32 handle specific create structs
Affects:
dEQP-VK.api.external.*
dEQP-VK.synchronization.cross_instance.*
Components: Vulkan
Change-Id: Ic8e0b3d5b7e708f20590ca78ae494a4ccd9f0f36
Alexander Galazin [Thu, 6 Jul 2017 07:35:17 +0000 (09:35 +0200)]
Update fetch_sources.py to use public repos
VK-GL-CTS issue: 556
Components: Framework
Change-Id: Ie603395ef669a1b45bc1d9df9c8d5fac042c9fc6
Boris Zanin [Mon, 29 May 2017 14:41:31 +0000 (16:41 +0200)]
VK_KHR_dedicated_allocation: Extend renderpass
Update tests:
* dEQP-VK.renderpass.*
Rename tests (add .suballocation subgroup):
* dEQP-VK.renderpass.suballocation.*
Add tests:
* dEQP-VK.renderpass.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ibe140613592568d4388c4ded6563bc47f43ca552
Ehsan Nasiri [Fri, 26 May 2017 19:06:15 +0000 (15:06 -0400)]
Add new VK_KHR_variable_pointers extension tests
These tests do not write to SSBOs, and therefore do not require the
vertexPipelineStoresAndAtomics and fragmentStoresAndAtomics device
features.
VK-GL-CTS issue: 123
Components: Vulkan
Affects: dEQP-VK.spirv_assembly.instruction.*.variable_pointers.*
Change-Id: I9a5f524a3a7ae7f0ddb295d983ba39bb0b4bcfa9
Ehsan Nasiri [Fri, 31 Mar 2017 20:40:35 +0000 (16:40 -0400)]
Add tests for SPV_KHR_variable_pointers extension
Compute tests and graphics tests are added for the
VK_KHR_variable_pointers
extension.
Components: Vulkan, Framework
VK-GL-CTS issue: 123
New Tests: dEQP-VK.spirv_assembly.instruction.*.variable_pointers.*
Change-Id: If2d01d626428d89a27432e2b1df33778e0b29f3b
Boris Zanin [Mon, 22 May 2017 13:13:23 +0000 (15:13 +0200)]
VK_KHR_dedicated_allocation: Extend render_to_image
Update tests:
* dEQP-VK.pipeline.render_to_image.*
Rename tests (add .core subgroup):
* dEQP-VK.pipeline.render_to_image.core.*
Add tests:
* dEQP-VK.pipeline.render_to_image.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: If4437ea7cf335f083e11d0939894391d34c5b76a
Boris Zanin [Sun, 21 May 2017 20:21:49 +0000 (22:21 +0200)]
VK_KHR_dedicated_allocation: Extend pipeline.image
Update tests:
* dEQP-VK.pipeline.image.*
Rename tests (add .suballocation subgroup):
* dEQP-VK.pipeline.image.suballocation.*
Add tests:
* dEQP-VK.pipeline.image.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: I0b25c08b830a44956dd0c26da39124364dbabb89
Boris Zanin [Thu, 18 May 2017 14:49:40 +0000 (16:49 +0200)]
VK_KHR_dedicated_allocation: Image clears
Update tests:
* dEQP-VK.api.image_clearing.*
Rename tests (add .core subgroup):
* dEQP-VK.api.image_clearing.core.*
Add tests:
* dEQP-VK.api.image_clearing.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ia7d7703fb6d9818549d80b031e4e8ea2a9ecf509
Boris Zanin [Mon, 15 May 2017 15:15:27 +0000 (17:15 +0200)]
VK_KHR_dedicated_allocation: Copies and blits
Update tests:
* dEQP-VK.api.copy_and_blit.*
Rename tests (add .core subgroup):
* dEQP-VK.api.copy_and_blit.core.*
Add tests:
* dEQP-VK.api.copy_and_blit.dedicated_allocation.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ic42d141187a6fc0eade9a93f19e9cd9e821725fb
Marcin Rogucki [Mon, 12 Jun 2017 10:42:41 +0000 (12:42 +0200)]
VK_KHR_dedicated_allocation: Memory Mapping tests
Update tests:
* dEQP-VK.memory.mapping.*
Rename tests (added .suballocation subgroups):
* dEQP-VK.memory.mapping.suballocation.*
Add tests:
* dEQP-VK.memory.mapping.dedicated_alloc.buffer.*
* dEQP-VK.memory.mapping.dedicated_alloc.image.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: Ia593c099dc6dcd36c1b45f210c48b8bba9600728
Marcin Rogucki [Fri, 12 May 2017 09:04:19 +0000 (11:04 +0200)]
VK_KHR_dedicated_allocation: Buffer tests
Update tests:
* dEQP-VK.api.buffer.create_buffer_*
* dEQP-VK.api.buffer_view.create.*
* dEQP-VK.api.buffer_view.access.*
* dEQP-VK.api.fill_and_update_buffer.*
Rename tests (added .suballocation subgroups):
* dEQP-VK.api.buffer.suballocation.create_buffer_*
* dEQP-VK.api.buffer_view.create.suballocation.create_buffer_view_*
* dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_complete
* dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_partial_offset0
* dEQP-VK.api.buffer_view.access.suballocation.buffer_view_memory_test_partial_offset1
* dEQP-VK.api.fill_and_update_buffer.suballocation.*
Add tests:
* dEQP-VK.api.buffer.dedicated_alloc.create_buffer_*
* dEQP-VK.api.buffer_view.create.dedicated_alloc.create_buffer_view_*
* dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_complete_*
* dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset0_*
* dEQP-VK.api.buffer_view.access.dedicated_alloc.buffer_view_memory_test_partial_offset1_*
* dEQP-VK.api.fill_and_update_buffer.dedicated_alloc.*
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: I6f73cd218f9e59a4939adf804764388edaa63279
Boris Zanin [Thu, 18 May 2017 06:45:39 +0000 (08:45 +0200)]
Definitions for VK_KHR_dedicated_allocation
Add definitions for VK_KHR_dedicated_allocation.
Components: Vulkan
VK-GL-CTS issue: 153
Change-Id: I062e3eb03edfd4d785d5d93775915541bcd4aa02
Alojz Kovacik [Tue, 27 Jun 2017 09:20:46 +0000 (11:20 +0200)]
Fix checks for multiviewGeometryShader
Don't compile geometry multiview shaders if
multiview is not supported allong with geometry shaders.
Affects: dEQP-VK.multiview.*
Components: Vulkan
VK-GL-CTS issue: 536
Change-Id: Ib3f1cfb4a1be56f7b7a8b55db3d242c73f0d6174
Daniel Koch [Wed, 21 Jun 2017 17:14:44 +0000 (13:14 -0400)]
defer device creation until after feature checks
VK-GL-CTS Issue: 523
Component: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.*
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.*
Change-Id: Ife678bf4e70f5d312f9276356bc288f7d31f15f8
Daniel Koch [Wed, 21 Jun 2017 14:21:04 +0000 (10:21 -0400)]
Fix 16bit_storage out of bounds buffer accesses
VK-GL-CTS Issue: 518
Component: Vulkan
Affects:
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.push_constant_16_to_32.vector_sint
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.push_constant_16_to_32.vector_uint
Change-Id: I33d3c94388a8eacac78a617ba7711b3688701323
Alexander Galazin [Thu, 22 Jun 2017 02:28:19 +0000 (04:28 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Ibc86577ecbb370706acb7663a4e837a4549ae0ca
Alexander Galazin [Thu, 22 Jun 2017 02:28:17 +0000 (04:28 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I637adc039c18a8522aea1c8ebdd4756984985285
Alexander Galazin [Thu, 22 Jun 2017 02:28:12 +0000 (04:28 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I6400944995d9bcb06801ab0f3ada643ed9d914ed
Arkadiusz Sarwa [Wed, 15 Mar 2017 15:02:07 +0000 (16:02 +0100)]
Add VK_KHR_relaxed_block_layout
New tests:
dEQP-VK.ssbo.layout.multi_basic_types.*.relaxed_block*
dEQP-VK.ssbo.layout.random.relaxed.*
VK-GL-CTS issue: 117
Components: Vulkan
Change-Id: Ieda2aa291dcbff250b81e0da06c39781800f4af7
Arkadiusz Sarwa [Tue, 9 May 2017 14:45:32 +0000 (16:45 +0200)]
Add GlslBuildOptions::FLAG_ALLOW_RELAXED_OFFSETS
Enabling the flag allows GLSL to use layout(offset = N) qualifiers that
follow VK_KHR_relaxed_block_layout rules instead of GLSL std140/std430
rules.
Components: Vulkan
Change-Id: I4f168b04ad0916b740891b603ddde2de0f4bcf50
Alex Walters [Tue, 20 Jun 2017 11:27:11 +0000 (12:27 +0100)]
Check for shaderFloat64 before creating shaders
Shader is using double types for F64 vertex attribute cases without
checking that the shader feature is supported.
The test was eventually making this check, but not until setting up
the vertex attributes themselves. This change also avoid creating some
other resources before determining that the test is unsupported.
Affects:
dEQP-VK.pipeline.vertex_input.single_attribute*64*
Components: Vulkan
VK-GL-CTS issue: 459
Change-Id: I6142af4e1a64aac233d6890285f81db327589800
Alexander Galazin [Sun, 18 Jun 2017 14:42:18 +0000 (16:42 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I139603a8755afc3a543fffa4b8035070fb40d297
Alexander Galazin [Sun, 18 Jun 2017 13:49:14 +0000 (15:49 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I12908a40fc80e7a9b7ee47cbec34a9ed77e7dce4
Alexander Galazin [Sun, 18 Jun 2017 13:43:55 +0000 (15:43 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Ibc2a0e06a379886958c3c45f8153b2271251dc1f
Alexander Galazin [Sun, 18 Jun 2017 12:32:55 +0000 (14:32 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Change-Id: Ibc1539846ed2f43f1f38cb8460cba52b28cbaa0a
Pyry Haulos [Wed, 7 Jun 2017 22:58:05 +0000 (15:58 -0700)]
Touch watchdog before freeing objs in max_concurrent
Affects:
dEQP-VK.api.object_management.max_concurrent.*
Components: Vulkan
Google bug:
37515046
VK-GL-CTS issue: 507
Change-Id: I57eb68764a55b5dceeb3e2676b8b1b298c0ff67e
(cherry picked from commit
252fb76fec02af6e2281da3bc9eea4e0d7972f12)
(cherry picked from commit
815781b7774af1aad0e9e2e60cd59ae575a81cf4)
Gary Sweet [Fri, 9 Jun 2017 07:43:45 +0000 (08:43 +0100)]
Add missing flush for opaque_type_indexing tests
Buffers were being mapped and written, but not flushed
before use.
Affects:
dEQP-VK.glsl.opaque_type_indexing.sampler.*
Components: Vulkan
VK-GL-CTS issue: 487
Change-Id: I9d6b694cebdff1785cbff303f4873628ca902d51
Boris Zanin [Tue, 6 Jun 2017 06:42:14 +0000 (08:42 +0200)]
Return back transient attachments tests
Update tests:
* dEQP-VK.renderpass.attachment.*
* dEQP-VK.renderpass.attachment_allocation.*
Components: Vulkan
VK-GL-CTS issue 464
Change-Id: I11006ef75ee7fbeb6674d1876a535101edb2a667
Boris Zanin [Tue, 6 Jun 2017 06:42:14 +0000 (08:42 +0200)]
Return back transient attachments tests
Update tests:
* dEQP-VK.renderpass.attachment.*
* dEQP-VK.renderpass.attachment_allocation.*
Components: Vulkan
VK-GL-CTS issue 464
Change-Id: I11006ef75ee7fbeb6674d1876a535101edb2a667
Slawomir Cygan [Mon, 29 May 2017 17:23:01 +0000 (19:23 +0200)]
Extend dEQP-VK.api.image_clearing tests to cover layered images
This change adds new variang of image clearing test cases:
- *_multiple_layers
which use arrayed images and layered clears.
In the new tests variant both image views and clear operations
use layerCount smaller than `remaining` layers and non-zero
baseArrayLayer. It is expected that proper subset of layers
are cleared, while other layers are untouched.
All clear command variants (image, attachment), color formats
and image types are tested.
Affects: dEQP-VK.api.image_clearing
Components: Vulkan
VK-GL-CTS issue: 449
Change-Id: Ifedd393b14880697501df450b22740de76b6cd0c
Andres Gomez [Thu, 8 Jun 2017 11:39:02 +0000 (14:39 +0300)]
dEQP-VK: check against the proper VkFormatProperties member
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT and
VK_FORMAT_FEATURE_TRANSFER_[SRC|DST]_BIT_KHR are flag values of the
VkFormatFeatureFlagBits enum that can only be hold and checked against
the linearTilingFeatures or optimalTilingFeatures members of the
VkFormatProperties struct but not the bufferFeatures member.
From the Vulkan® 1.0.51, with the VK_KHR_maintenance1 extension,
section 32.3.2 docs for VkFormatProperties:
"* linearTilingFeatures is a bitmask of VkFormatFeatureFlagBits
specifying features supported by images created with a tiling
parameter of VK_IMAGE_TILING_LINEAR.
* optimalTilingFeatures is a bitmask of VkFormatFeatureFlagBits
specifying features supported by images created with a tiling
parameter of VK_IMAGE_TILING_OPTIMAL.
* bufferFeatures is a bitmask of VkFormatFeatureFlagBits
specifying features supported by buffers."
...
Bits which can be set in the VkFormatProperties features
linearTilingFeatures, optimalTilingFeatures, and bufferFeatures
are:
typedef enum VkFormatFeatureFlagBits {
...
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT = 0x00000080,
...
VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR = 0x00004000,
VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR = 0x00008000,
...
} VkFormatFeatureFlagBits;
...
The following bits may be set in linearTilingFeatures and
optimalTilingFeatures, specifying that the features are supported
by images or image views created with the queried
vkGetPhysicalDeviceFormatProperties::format:
...
* VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT specifies that an image
view can be used as a framebuffer color attachment and as an
input attachment."
...
* VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR specifies that an image
can be used as a source image for copy commands.
* VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR specifies that an image
can be used as a destination image for copy commands and clear
commands."
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_*
VK-GL-CTS issue: 483
Components: Vulkan
Change-Id: I89d21dbba2794429973830b0368259cf0cc24312
Gary Sweet [Wed, 7 Jun 2017 09:59:02 +0000 (10:59 +0100)]
Explicitly clamp outputs from sint renderpass cases
dEQP-VK.renderpass.multisample.*sint* tests were expecting
the implementation to implicitly clamp the signed outputs.
This appears to be undefined by the spec, so change the
tests to explicitly clamp prior to output.
Affects:
dEQP-VK.renderpass.multisample.*sint*
Components: Vulkan
VK-GL-CTS issue: 463
Change-Id: I6c7c8f3ed56152a7e52ea0ddf5eafebb9ac8dc09
Slawomir Cygan [Wed, 7 Jun 2017 17:55:09 +0000 (19:55 +0200)]
Slightly increase threshold in dEQP-VK.draw.basic_draw.draw_indirect
The test draws a lot of intersecting lines and compare them to reference
renderer output.
Unfortunately, the test does not account for strictLines capability (hence
ignores that they are two line rasterization algorithms in Vulkan). On the
other hand it usess fuzzy compare, which somehow obfuscates that fact.
However, there is an issue where many (around 8) lines intersect in area covered
by one fuzzy 'kernel' invocation, where small difference results in false negative
comparison.
This change slightly increases the threshold.
Affects: dEQP-VK.draw
Components: Vulkan
VK-GL-CTS issue: 495
Change-Id: I2dab225516b8a3dea937efe6c4fb042bc267481b
Pyry Haulos [Wed, 14 Jun 2017 01:53:10 +0000 (01:53 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass"
am:
7bff163e7f
Change-Id: I642a906fce854d128ddbf13ca997df01fbece237
Treehugger Robot [Wed, 14 Jun 2017 01:43:04 +0000 (01:43 +0000)]
Merge "Remove EGL gles1.rgb565_window from mustpass"
Pyry Haulos [Wed, 14 Jun 2017 01:22:40 +0000 (01:22 +0000)]
Touch watchdog before freeing objs in max_concurrent
am:
815781b777
Change-Id: Ibe8bbcbbfddca74524f9422b60e14bd7db124f47
Pyry Haulos [Tue, 13 Jun 2017 21:08:33 +0000 (14:08 -0700)]
Remove EGL gles1.rgb565_window from mustpass
Bug:
30041221
Change-Id: Idc8e3d1d78c568fa8d4209c61eaec52ca5696356
(cherry picked from commit
22eb25c58f0a1aa1de401a38778471c8b6700ffd)
Pyry Haulos [Wed, 7 Jun 2017 22:58:05 +0000 (15:58 -0700)]
Touch watchdog before freeing objs in max_concurrent
Affects:
dEQP-VK.api.object_management.max_concurrent.*
Components: Vulkan
Google bug:
37515046
Change-Id: I57eb68764a55b5dceeb3e2676b8b1b298c0ff67e
(cherry picked from commit
252fb76fec02af6e2281da3bc9eea4e0d7972f12)
Alexander Galazin [Tue, 13 Jun 2017 05:12:06 +0000 (07:12 +0200)]
Update ES mustpass after merge from AOSP
Components: OpenGL
Affects: ES mustpass
Change-Id: I379e4ed874be09068b59e88d62d40980c400a703
james.glanville [Thu, 18 May 2017 10:24:06 +0000 (11:24 +0100)]
Apply sRGB conversion to reference in sRGB framebuffer fetch test
Framebuffer fetch returns linear values when the framebuffer format
is sRGB and GL_FRAMEBUFFER_SRGB is enabled (default). This conversion
was not applied when generating reference textures for framebuffer
fetch tests. glReadPixels() does not apply any conversion, so the
final reference value must also be converted back to sRGB.
Affects: dEQP-GLES31.functional.shaders.framebuffer_fetch.
framebuffer_format.srgb8_alpha8
Components: AOSP
Pyry Haulos [Mon, 12 Jun 2017 17:06:12 +0000 (17:06 +0000)]
Merge "Re-remove tessellation explicit_output_array_size_1 from must-pass list" into deqp-dev
Alexander Galazin [Sun, 11 Jun 2017 12:17:25 +0000 (14:17 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Change-Id: I9211a0c9a1c8eaf728a2befa125dff6d56b8ec6c
Alexander Galazin [Sun, 11 Jun 2017 11:28:23 +0000 (13:28 +0200)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: Ifc63fe42fc61f2536fbd24a1c53e76478e24df60
Alexander Galazin [Fri, 9 Jun 2017 23:36:06 +0000 (23:36 +0000)]
Skip OOB SSBO fragment tests for ES3.1 GPUs
am:
f5fc3c8409
Change-Id: I611887e4299f25c04add54c3a6b5554c1841f20b
Alexander Galazin [Fri, 9 Jun 2017 14:26:32 +0000 (16:26 +0200)]
Skip OOB SSBO fragment tests for ES3.1 GPUs
GPUs supporting GLES 3.1 may expose 0 SSBOs in fragment shaders.
This change extends fix made in
cf65c56f.
Google bug:
36891454
Components: AOSP
Affects:
dEQP-EGL.functional.robustness.reset_context.shaders.out_of_bounds*.shader_storage_block.fragment
Change-Id: I1d821198d3dba3d3ad1e6b25758d0d434bf08a30
Treehugger Robot [Fri, 9 Jun 2017 21:29:04 +0000 (21:29 +0000)]
Merge "Add support for metamorphic testing" into deqp-dev
Mark Adams [Fri, 9 Jun 2017 17:52:18 +0000 (13:52 -0400)]
Re-remove tessellation explicit_output_array_size_1 from must-pass list
Affected test:
dEQP-GLES31.functional.tessellation.user_defined_io.negative.es32.per_vertex_incorrect_control_explicit_output_array_size_1
Jeannot Breton [Wed, 7 Jun 2017 22:21:32 +0000 (17:21 -0500)]
Fix CopyNamedBufferSubData definition
It defines the last parameters as a GLsizei but it's a GLsizeiptr
Affects:
KHR-GL45.direct_state_access.buffers_errors
KHR-GL45.direct_state_access.buffers_functional
Components: OpenGL
VK-GL-CTS issue: 478
Change-Id: Iea980d761c6fec9068496878f2bc21415fc693b9
Jeannot Breton [Wed, 7 Jun 2017 22:09:00 +0000 (17:09 -0500)]
Fix shader draw parameter pack alignment issue
The test allocates a buffer of width*height*3 elements and expects
the readPixels to only write to this memory.
This is not correct if the window width is not a multiple of 4
Adding a gl.pixelStorei(GL_PACK_ALIGNMENT, 1) before the readPixels
fixes the issue
Affects:
KHR-GL45.shader_draw_parameters_tests.ShaderDrawArraysParameters
Components: OpenGL
VK-GL-CTS issue: 477
Change-Id: I2bef139f5b1e39fe52b2f00e5a529ce503a5d567
Jeannot Breton [Tue, 6 Jun 2017 14:46:19 +0000 (09:46 -0500)]
Limit texture memory required by test
Fix 3 issues in framebuffers_texture_layer_attachment
Use the correct enum to get array textures maxsize and maxlayers
Limit the allocated texture layers
Generate only 2 renderbuffers
Affects:
KHR-GL45.direct_state_access.framebuffers_texture_layer_attachment
Components: OpenGL
VK-GL-CTS issue: 470
Change-Id: I11fd9a209d9ca6ffc83b2aa33fb196d4915817ec
Iago Toral Quiroga [Tue, 6 Jun 2017 06:53:47 +0000 (08:53 +0200)]
Do not exceed GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
The transform feedback tests query the limit but never actually used it
to clamp the number of attributes used with GL_SEPARATE_ATTRIBS.
Components: OpenGL
VK-GL-CTS issue: 469
Affects:
KHR-GL45.transform_feedback.get_xfb_varying
Change-Id: Ie0b89233024e2e10bacc1e9b2f9969c0da3a9e29
Jeannot Breton [Fri, 2 Jun 2017 19:24:44 +0000 (14:24 -0500)]
Use renderbuffer object on bindRenderbuffer call
The test was calling bindRenderbuffer(GL_RENDERBUFFER, m_fbo);
It should be replaced by
bindRenderbuffer(GL_RENDERBUFFER, m_rbo);
Affects:
KHR-GL45.incomplete_texture_access.sampler
Components: OpenGL
VK-GL-CTS issue: 466
Change-Id: I94efdfca22abb84faa52e5b4a0dfd82cde484249
Iago Toral Quiroga [Fri, 2 Jun 2017 08:40:22 +0000 (10:40 +0200)]
multi-bind tests use multisampled images without checking for support
Some tests sample/store from GL_TEXTURE_2D_MULTISAMPLE{_ARRAY} without
checking the value of GL_MAX_IMAGE_SAMPLES, which can be zero. Skip,
these targets in the driver reports 0, meaning that it can't do
multisample load/store image operations.
Components: OpenGL
VK-GL-CTS issue: 462
Affects:
KHR-GL45.multi_bind.dispatch_bind_textures
KHR-GL45.multi_bind.dispatch_bind_image_textures
Change-Id: I94df7fa657bc04c05cc598bf5dba5c09574cbaf0
James Helferty [Wed, 7 Jun 2017 20:17:50 +0000 (16:17 -0400)]
Update TextureParameter* errors
Check for INVALID_OPERATION instead of INVALID_ENUM whenever attempting
to use GetTextureParameter* with a texture object with an incompatible
TEXTURE_TARGET.
VK-GL-CTS issue: 485
Components: OpenGL
Affects:
KHR-GL45.direct_state_access.textures_parameter_errors
Change-Id: Id0cf6eb72896ce9221fc38b6f37e8d7f54766ae1
James Helferty [Tue, 6 Jun 2017 18:22:29 +0000 (14:22 -0400)]
Expect different error for DSA GetTexture funcs
The OpenGL 4.6 draft specification (May 31, 2017) modifies the expected
errors for using an invalid texture ID with glGetTextureSubImage*D and
glGetCompressedTextureSubImage*D from INVALID_VALUE to
INVALID_OPERATION. This change updates our tests to expect the revised
error code.
VK-GL-CTS issue: 472
Components: OpenGL
Affects:
KHR-GL45.get_texture_sub_image.errors_test
Change-Id: I66c95a370af62977508eed4bb45f181eba51a654
James Helferty [Thu, 1 Jun 2017 16:22:33 +0000 (12:22 -0400)]
Fix invalid FLAT and uninitialized variable
Fixes two issues in a negative test:
* Removes flat qualifier from vertex shader input, which is always
invalid and was causing a subtest of this negative test to always pass.
* Modifies the initial use of a variable from '+=' to '=' to fix an
uninitialized variable error.
Components: OpenGL
Affects:
KHR-GL45.enhanced_layouts.varying_component_without_location
VK-GL-CTS issue: 455
Change-Id: If24ea45ae13baaae83d68e6cd67109a1ffe6c050
Adam Czupryna [Fri, 24 Mar 2017 13:41:39 +0000 (14:41 +0100)]
Add CTS_ARB_shader_draw_parameters specification proposal
This is CTS_ARB_shader_draw_parameters specification proposal.
Components: OpenGL
VK-GL-CTS issue: 327
Change-Id: I61ec8866508bbc0c54d67d9b49f5421d27779769
Marcin Kańtoch [Thu, 8 Jun 2017 16:28:20 +0000 (18:28 +0200)]
Sampling precision issues - mustpass removal
Affects:
dEQP-VK.glsl.texture_functions.textureoffset.isampler2darray_vertex
dEQP-VK.glsl.texture_functions.textureoffset.usampler2darray_vertex
dEQP-VK.glsl.texture_functions.textureoffset.usampler3d_vertex
dEQP-VK.glsl.texture_functions.texturegradoffset.usampler2darray_vertex
Components: Vulkan
VK-GL-CTS issue: 448
Change-Id: Id895783e75a5b779ead5d396d2953a5c07f20f52
Gary Sweet [Wed, 7 Jun 2017 09:31:14 +0000 (10:31 +0100)]
Add missing flushes for buffer view access tests
Buffers were being mapped and written, but not flushed
before use.
Affects:
dEQP-VK.api.buffer_view.access.buffer_view_memory_test_*
Components: Vulkan
VK-GL-CTS issue: 474
Change-Id: I5874f56da87d3857b0c2c840805f932f56e8ff49
Alexander Galazin [Tue, 6 Jun 2017 21:07:54 +0000 (21:07 +0000)]
Ignore A channel in EGL RGB5_A1 clear color tests
am:
9da1b45a8e
Change-Id: I72c8355a27472f559467127051f3108eba9ee581
Alexander Galazin [Tue, 6 Jun 2017 11:22:58 +0000 (13:22 +0200)]
Ignore A channel in EGL RGB5_A1 clear color tests
Dithering can siginifcantly impact alpha channel and the framework
can't fully account it.
Components: AOSP
Affects:
dEQP-EGL.functional.color_clears.*.rgba5551*
Bug:
62383988
Change-Id: Ic8fa4da1a840da56f74af3e076d0728d9abbdadc
James Helferty [Tue, 30 May 2017 15:58:24 +0000 (11:58 -0400)]
Fix spelling of 'tessellation'
Fixes the spelling of 'tessellation' in gl4cEnhancedLayoutsTests.cpp
VK-GL-CTS issue: 471
Components: OpenGL
Affects:
KHR-GL45.enhanced_layouts.*
Change-Id: I5710e8698830ba2c8c1ae525f87c587953c5b79f
Alexander Galazin [Tue, 6 Jun 2017 12:59:10 +0000 (14:59 +0200)]
Update GL/ES mustpass
Update mustpass files after merges from AOSP
Components: OpenGL
Change-Id: Icbe18926f604936da12dda11852a5479911d6bfc
Filip Demczewski [Wed, 28 Dec 2016 10:17:47 +0000 (11:17 +0100)]
Added CTS_ARB_shader_viewport_layer_array tests
Added CTS_ARB_shader_viewport_layer_array cases:
ShaderViewportIndexTestCase
ShaderLayerFramebufferLayeredTestCase
ShaderLayerFramebufferNonLayeredTestCase
affects:
KHR-GL45.shader_viewport_layer_array.*
components: OpenGL
VK-GL-CTS issue: 167
Change-Id: Ibcc99670ffba4025584d7f1b955cdc548e70f641
Adam Czupryna [Mon, 3 Apr 2017 13:58:47 +0000 (15:58 +0200)]
Add CTS_ARB_shader_draw_parameters tests implementation
This is CTS_ARB_shader_draw_parameters tests implementation
Affects:
GL45-CTS.shader_draw_parameters_tests.*
Components: OpenGL, Framework
VK-GL-CTS issue: 327
Change-Id: I6cee73f89d6d381dfd65ceefe2aa55ef18c87ca2
Adam Czupryna [Mon, 24 Apr 2017 13:57:48 +0000 (15:57 +0200)]
Add CTS_EXT_texture_filter_anisotropic specification proposal
This is CTS_EXT_texture_filter_anisotropic specification proposal.
Components: OpenGL
VK-GL-CTS issue: 387
Change-Id: Ic0385349368612c16febe8b1e63f76ef87ce425a
James Helferty [Mon, 29 May 2017 20:42:47 +0000 (16:42 -0400)]
Call BufferTestBase's subclasses' executeDrawCall
A number of enhanced layout tests that inherited from BufferTestBase
were not calling the correct executeDrawCall function due to having a
different function prototype from the base class.
VK-GL-CTS issue: 451
Components: OpenGL
Affects:
KHR-GL44.enhanced_layouts.xfb_capture_inactive_output_block_member
KHR-GL44.enhanced_layouts.xfb_capture_inactive_output_component
KHR-GL44.enhanced_layouts.xfb_capture_inactive_output_variable
KHR-GL44.enhanced_layouts.xfb_capture_struct
KHR-GL44.enhanced_layouts.xfb_stride
KHR-GL44.enhanced_layouts.xfb_stride_of_empty_list
KHR-GL44.enhanced_layouts.xfb_stride_of_empty_list_and_api
KHR-GL45.enhanced_layouts.xfb_capture_inactive_output_block_member
KHR-GL45.enhanced_layouts.xfb_capture_inactive_output_component
KHR-GL45.enhanced_layouts.xfb_capture_inactive_output_variable
KHR-GL45.enhanced_layouts.xfb_capture_struct
KHR-GL45.enhanced_layouts.xfb_stride
KHR-GL45.enhanced_layouts.xfb_stride_of_empty_list
KHR-GL45.enhanced_layouts.xfb_stride_of_empty_list_and_api
Change-Id: I731297f26e2784915003b4e13958b285736d7c9d
James Helferty [Thu, 1 Jun 2017 16:20:27 +0000 (12:20 -0400)]
Add log for unexpected success in negative tests
This adds logging of shader source whenever one of the affected
negative enhanced layout tests unpexpectedly succeeds.
VK-GL-CTS issue: 460
Components: OpenGL
Affects:
KHR-GL45.enhanced_layouts.glsl_contant_immutablity
KHR-GL45.enhanced_layouts.uniform_block_layout_qualifier_conflict
KHR-GL45.enhanced_layouts.uniform_block_member_invalid_offset_alignment
KHR-GL45.enhanced_layouts.uniform_block_member_overlapping_offsets
KHR-GL45.enhanced_layouts.uniform_block_member_align_non_power_of_2
KHR-GL45.enhanced_layouts.ssb_layout_qualifier_conflict
KHR-GL45.enhanced_layouts.varying_structure_member_location
KHR-GL45.enhanced_layouts.varying_block_member_locations
KHR-GL45.enhanced_layouts.varying_block_automatic_member_locations
KHR-GL45.enhanced_layouts.varying_location_limit
KHR-GL45.enhanced_layouts.varying_exceeding_components
KHR-GL45.enhanced_layouts.varying_component_without_location
KHR-GL45.enhanced_layouts.varying_component_of_invalid_type
KHR-GL45.enhanced_layouts.input_component_aliasing
KHR-GL45.enhanced_layouts.output_component_aliasing
KHR-GL45.enhanced_layouts.varying_location_aliasing_with_mixed_types
KHR-GL45.enhanced_layouts.varying_location_aliasing_with_mixed_interpolation
KHR-GL45.enhanced_layouts.varying_location_aliasing_with_mixed_auxiliary_storage
KHR-GL45.enhanced_layouts.xfb_input
KHR-GL45.enhanced_layouts.xfb_too_small_stride
KHR-GL45.enhanced_layouts.xfb_variable_stride
KHR-GL45.enhanced_layouts.xfb_duplicated_stride
KHR-GL45.enhanced_layouts.xfb_multiple_vertex_streams
KHR-GL45.enhanced_layouts.xfb_exceed_buffer_limit
KHR-GL45.enhanced_layouts.xfb_exceed_offset_limit
KHR-GL45.enhanced_layouts.xfb_block_member_buffer
KHR-GL45.enhanced_layouts.xfb_output_overlapping
KHR-GL45.enhanced_layouts.xfb_invalid_offset_alignment
KHR-GL45.enhanced_layouts.xfb_capture_unsized_array
(and any GL44 equivalents)
Change-Id: Ie8e93c73e43828322a0860cc4820b72a9fb1f8d3
Iago Toral Quiroga [Thu, 1 Jun 2017 07:44:48 +0000 (09:44 +0200)]
KHR-GL45.multi_bind.dispatch_bind_textures samples from incomplete textures
Only the first miplevel is uploaded but the texture's sampler parameters are
not configured accordingly.
Components: OpenGL
VK-GL-CTS issue: 456
Affects:
KHR-GL45.multi_bind.dispatch_bind_textures
Change-Id: I6f63b1120ac38761c289f566ddacf05703d31868
Iago Toral Quiroga [Thu, 1 Jun 2017 08:47:54 +0000 (10:47 +0200)]
Use correct maximum number of image uniforms in multi-bind tests
The test queries GL_MAX_IMAGE_UNITS to decide the maximum number of
image uniforms it can use, but this limit is exposed per-stage
via GL_MAX_<STAGE>_IMAGE_UNIFORMS. Since the test uses a compute
shader it should query GL_MAX_COMPUTE_IMAGE_UNIFORMS.
Components: OpenGL
VK-GL-CTS issue: 457
Affects:
KHR-GL45.multi_bind.dispatch_bind_image_textures
Change-Id: I076cab954b1b0662f9fdab41f0f82437cc91ca64
Jeannot Breton [Fri, 2 Jun 2017 01:21:34 +0000 (20:21 -0500)]
Fix texture and renderbuffer leaks
Some texture_swizzle tests allocate a source texture inside a loop,
but the texture is only deleted when we exit the loop. So multiple
textures are allocated but never deleted.
Some transform_feedback clean function delete framebuffer instead
of render buffer, some other tests doesn't delete frambuffer and
render buffer at all
Affects:
KHR-GL45.texture_swizzle.*
KHR-GL45.transform_feedback.*
Components: OpenGL
VK-GL-CTS issue: 461
Change-Id: Ib237bbb78209b5017ee9e454a94636df378c677f
Chih-Hung Hsieh [Tue, 6 Jun 2017 02:29:36 +0000 (02:29 +0000)]
Add OWNERS in external/deqp
am:
ea5d0ac339
Change-Id: I22107e5022e4536ba8b5ecc0bb0d7b8d225ef428
Chih-Hung Hsieh [Mon, 5 Jun 2017 17:48:12 +0000 (10:48 -0700)]
Add OWNERS in external/deqp
* Owners are selected from top CL approvals or owners.
They will be suggested to review/approve future CLs.
* OWNERS files are recognized by the new find-owners plugin, see .md files in
https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I0d256181d2ca0c0ec55cf5479ff34aa68f3190a9
Pyry Haulos [Mon, 5 Jun 2017 18:28:59 +0000 (11:28 -0700)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I5bd5304cb1c3873f9c46258f31a96e28597ada5a
Pyry Haulos [Mon, 5 Jun 2017 18:28:57 +0000 (11:28 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I2946fc9967f9d9706027416e94ed61eca20a4ca2
Pyry Haulos [Mon, 5 Jun 2017 17:39:43 +0000 (10:39 -0700)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/deqp-dev
Change-Id: Id9c893e5db0817a29f768cca931adc260d350497
Pyry Haulos [Mon, 5 Jun 2017 17:38:33 +0000 (10:38 -0700)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I076fd99ee0fd28538ea963e97588acf06d75a713
Pyry Haulos [Mon, 5 Jun 2017 17:37:17 +0000 (10:37 -0700)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Change-Id: Ib189ff26f3bb7e049f5e0c4345e523cc39e91d4f
Andres Gomez [Sat, 3 Jun 2017 00:30:32 +0000 (02:30 +0200)]
Build fix for x11_egl target builds
The combination of recent refactor on release branch and merge to
master resulted in a compilation error for the XInitThreads symbol
when using the x11_egl built target.
Components: Framework
VK-GL-CTS Issue: 467
Change-Id: Iba0803e8b73462bd66ab7803a6c90bfd40d9164c
Jose Maria Casanova Crespo [Wed, 31 May 2017 11:10:31 +0000 (13:10 +0200)]
dEQP-VK: Add SPV_KHR_16bit_storage at shaders using 16bit
All shaders stages that use VK_KHR_16bit_storage capabilities
need to enable the SPV_KHR_16bit_storage extension at the SPIR-V
assembly.
A recent update of the SPIRV-Tools checks for this error in the
SPIR-V code. This has raised several link error in the execution
of the VK_KHR_16bit_storage tests.
This patch enables the extension at the assembly code of the compute
shaders tests and the pass-through stages of the input-output
graphics tests.
Also includes newline at OpExtension "SPV_KHR_16bit_storage" uses.
Components: Vulkan
VK-GL-CTS issue: 454
Affects:
* dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output.*
* dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.*
Change-Id: I29b7e8706eba54b5f931f33442c85613d99cd113
Lei Zhang [Wed, 31 May 2017 19:37:20 +0000 (15:37 -0400)]
Allow denormalized input values to be flushed to zeros
Components: Vulkan
VK-GL-CTS issue: 452
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.*
dEQP-VK.spirv_assembly.instruction.compute.16bit_storage.*
Change-Id: I2ab9fe88cd603157e477c0132c6db3421b1e440f
Marcin Kańtoch [Mon, 29 May 2017 10:23:45 +0000 (12:23 +0200)]
Fix for crash in createDeviceWithExtensions
createDeviceWithExtensions function is crashing if extensions vector
does not contain any elements. This simple fix prevents the crash
from happening.
Affects: dEQP-VK.spirv_assembly.*
Components: Vulkan
Change-Id: If4e5149df8d00b25b6ee97a235757d44dccd60d1
Alexander Galazin [Mon, 15 May 2017 09:50:09 +0000 (11:50 +0200)]
Add ES 3.2.4.x mustpass
Components: OpenGL
Change-Id: Ifd8270acae469d80d9243a58f1e17b57bbecf081
Alexander Galazin [Thu, 1 Jun 2017 06:59:16 +0000 (08:59 +0200)]
Atomic counter tests rely on stores to SSBOs
Stores to SSBOs are supported if
vertexPipelineStoresAndAtomics/fragmentStoresAndAtomics
are advertised.
VK-GL-CTS issue: 458
Components: Vulkan
Affects:
dEQP-VK.glsl.opaque_type_indexing.atomic_counter.*
Change-Id: I8bd3617522221e646526112978b8d13069f88ec3
Alexander Galazin [Fri, 7 Apr 2017 08:01:45 +0000 (10:01 +0200)]
Remove GTF tests from GLES mustpass
These tests are no longer needed as the same coverage is provided
in dEQP, KHR modules.
Components: OpenGL
Affects: GLES master mustpass
VK-GL-CTS issue: 50
Change-Id: Ib52227b76e40888c979eeadc58d0e7ea6500eebc
Iago Toral Quiroga [Fri, 26 May 2017 07:58:15 +0000 (09:58 +0200)]
Fix incorrect sType in cross instance tests
The tests create a VkExternalImageFormatPropertiesKHX struct with
sType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHX,
should be VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHX.
Components: Vulkan
VK-GL-CTS issue: 446
Affects:
dEQP-VK.synchronization.cross_instance.*
Change-Id: Ibc1d28d56f495f34f24f9baaf3ca7a79cc5fe415
Iago Toral Quiroga [Fri, 19 May 2017 10:21:17 +0000 (12:21 +0200)]
Check unsupported image formats in cross instance tests
vkGetPhysicalDeviceImageFormatProperties2KHR can return
VK_ERROR_FORMAT_NOT_SUPPORTED, in which case the tests
shouldn't fail and be marked as unsupported instead.
Components: Vulkan
VK-GL-CTS issue: 431
Affects:
dEQP-VK.synchronization.cross_instance.*
Change-Id: I0b2c1f49f26f2516d0610c14d285e0b11c72a762
Boris Zanin [Fri, 12 May 2017 08:11:01 +0000 (10:11 +0200)]
Test VK_KHR_dedicated_allocation mem requirement queries
Add tests:
* dEQP-VK.memory.requirements.dedicated_allocation.buffer.*
* dEQP-VK.memory.requirements.dedicated_allocation.image.*
Components: Vulkan
VK-GL-CTS issue: 391
Change-Id: I9510464987e33b395a5ac20c2fdb9129eefd91da
Pyry Haulos [Tue, 30 May 2017 01:56:38 +0000 (18:56 -0700)]
Merge vk-gl-cts/master into vk-gl-cts/vulkan-cts-next-dev
Change-Id: I93bd873bad46a33a3e6a86971f343981b188b1b3
Pyry Haulos [Tue, 30 May 2017 01:56:36 +0000 (18:56 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I0a9fdded2cbfd25f1e2a1c73da97b2d8b8431962
Pyry Haulos [Tue, 30 May 2017 01:56:32 +0000 (18:56 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Ib63e665cb64989f8c5f0c53c9d229e5f17172d62
Boris Zanin [Tue, 16 May 2017 12:32:06 +0000 (14:32 +0200)]
Allow pop-free clipping for lines
Following test checks has been relaxed:
* dEQP-VK.rasterization.primitives.lines_wide
* dEQP-VK.rasterization.primitives.line_strip_wide
* dEQP-VK.rasterization.primitives_multisample_2_bit.lines_wide
* dEQP-VK.rasterization.primitives_multisample_4_bit.lines_wide
* dEQP-VK.rasterization.primitives_multisample_8_bit.lines_wide
Components: Vulkan
VK-GL-CTS issue: 421
Change-Id: I21c04015d36ae55c20ef1c1dda8e2d1fee471221
Yanjun Zhang [Thu, 11 May 2017 22:51:37 +0000 (15:51 -0700)]
Check 'drawIndirectFirstInstance' feature to run indirect draw tests
Component: Vulkan
VK-GL-CTS issue: 413
Change-Id: I13a86721ec76ac50af55e0730fd50e3d7ce159d8
Jason Ekstrand [Fri, 19 May 2017 04:36:15 +0000 (21:36 -0700)]
dEQP-VK: Fix an incorrect layout transition
The tests upload data to the resolve destination using CopyImageToBuffer
prior to doing a resolve to a chunk out of the middle of the image. This
lets the test validate the resolve to a subarea works correctly.
However, they were also transitioning the destination from UNDEFINED to
TRANSFER_DST_OPTIMAL between uploading the data and doing the resolve.
This transition destroys the contents of the image making verifying that
contents incorrect. The correct transition is from TRANSFER_DST_OPTIMAL
to TRANSFER_DST_OPTIMAL.
This affects the following tests:
- dEQP-VK.api.copy_and_blit.resolve_image.partial*
- dEQP-VK.api.copy_and_blit.resolve_image.with_regions*
Change-Id: I9336195d7977d7dd2ffb057525134846b10e8010
Oivind Boge [Tue, 16 May 2017 14:04:01 +0000 (16:04 +0200)]
Fixed invalid usage of VkBufferImageCopy struct
The offset member of VkBufferImageCopy was violating the
valid usage. The offset is now calculated using lowest
common denominator between the pixelSize and 4.
Affects:
dEQP-VK.api.image_clearing.*
Components: Vulkan
VK-GL-CTS issue: 422
Change-Id: I1ef07e06f790a9ed403941b1d94c7840485cec3e
Slawomir Cygan [Mon, 29 May 2017 20:01:49 +0000 (22:01 +0200)]
Build fix for X11-less Linux builds
The combination of recent refactor on release branch and
merge to master resulted in XinitThreads being called from
code that may be compiled even if X11 API is not available.
Components: Framework
VK-GL-CTS Issue: 450
Change-Id: Ia7d1d23eabd1b222d5039868c1fb762e1d42f01f
Alexander Galazin [Mon, 29 May 2017 08:32:47 +0000 (10:32 +0200)]
Update KC CTS ref
Components: OpenGL
VK-GL-CTS issue: 440
Affects:
GL4*-CTS.gtf42.GL3Tests.texture_storage.texture_storage_texture_levels
Change-Id: Id0b338bb74d3b1923744556527b45f3e8db8db38
Jeannot Breton [Thu, 25 May 2017 19:10:31 +0000 (14:10 -0500)]
Use 1.0 for shadow texture expected result
Change the texture clamp test to use 1.0 as the expected value
for shadow texture.
It's now required to pass <format> to generateExpectedResult
Note that the path using compute shader is doing an imageLoad on
depth texture so is not using a depth compare
Affects:
KHR-GL45.sparse_texture_clamp_tests.*
Components: OpenGL
VK-GL-CTS issue: 444
Change-Id: I94c79abe1b9b932471d1d8abdb8819ee3d7cc947
Jeannot Breton [Thu, 25 May 2017 00:40:47 +0000 (19:40 -0500)]
Skip uncommitted depth/stencil test validation
The test in UncommittedDepthStencil expects the stencil buffer to be
unmodified because the shader is doing an uncommitted sparse fetch
This is incorrect, the depth/stencil should be unmodified only if
the depth/stencil buffer are uncommitted and it's not the case,
they are fully-committed non-sparse depth/stencil buffer
This change skip uncommitted depth/stencil test validation
Affects:
KHR-GL45.sparse_texture2_tests.*
Components: OpenGL
VK-GL-CTS issue: 439
Change-Id: I909937081f7058d0fbc57469626ab3d34d43486a