Alexander Galazin [Tue, 1 Aug 2017 14:51:12 +0000 (16:51 +0200)]
Merge vk-gl-cts/master into vk-gl-cts-public/master
Change-Id: Id9df1f7305d0803646b9bb3aad9db27bb33d7aab
Maciej Jesionowski [Wed, 26 Jul 2017 13:53:13 +0000 (15:53 +0200)]
Fix VS12 compilation error (typedef)
Change-Id: Iebfece1455df2a49c79885d42f43817001a31b84
Alexander Galazin [Fri, 21 Jul 2017 17:51:52 +0000 (19:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I094b696e14512f8175ffb7e809124d74ac371178
Alexander Galazin [Fri, 21 Jul 2017 17:51:48 +0000 (19:51 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Ifac39caba5598cbb75d5fb25d271ad0b709140a6
Alexander Galazin [Fri, 21 Jul 2017 17:44:17 +0000 (19:44 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1
Change-Id: If1266ef43a81d4d015c3f656315ea629acbbd55e
Alexander Galazin [Fri, 21 Jul 2017 16:55:48 +0000 (18:55 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: Ic9b507e089a6ce333bf25acbe7c3d3ee6c180aa0
Alexander Galazin [Fri, 21 Jul 2017 16:55:45 +0000 (18:55 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I65f618365df474653f68d311647f601f91a38e4b
Jeannot Breton [Fri, 9 Jun 2017 21:45:06 +0000 (16:45 -0500)]
Fix emulated compressed format issues
When a compressed texture format is emulated, it's possible that the
compress data we get from a glGetCompressedTexImage call is not the
same as what was send through glCompressedTextureSubImage.
So the test needs to be update to handle this situation
KHR-GL45.direct_state_access.textures_get_image now uses
GL_COMPRESSED_RGBA_BPTC_UNORM instead of GL_COMPRESSED_RGB8_ETC2.
GL_COMPRESSED_RGBA_BPTC_UNORM should not be emulated
KHR-GL45.direct_state_access.textures_compressed_subimage store
source and destination compressed texture data.
It also now validate subregion transfert.
Affects:
KHR-GL45.direct_state_access.textures_compressed_subimage
KHR-GL45.direct_state_access.textures_get_image
Components: OpenGL
VK-GL-CTS issue: 491
Change-Id: I0293dd987fc03b719513ea22526f9614d6a9c106
Igor Ostrowski [Thu, 6 Jul 2017 13:55:32 +0000 (15:55 +0200)]
Fix dEQP-VK.renderpass.multisample tests with depth/stencil formats
Remove attachment blend state for d/s images on pipeline creation
Spec says (on VkPipelineColorBlendStateCreateInfo):
"attachmentCount is the number of VkPipelineColorBlendAttachmentState
elements in pAttachments. This value must equal the colorAttachmentCount
for the subpass in which this pipeline is used."
Affects:
dEQP-VK.renderpass.multisample.*
Components: Vulkan
VK-GL-CTS issue: 568
Change-Id: If589e5f6e06cfdf490d85fc410dc5d4381cab701
Gary Sweet [Thu, 13 Jul 2017 14:08:07 +0000 (15:08 +0100)]
Check for required features in no_attachment tests
dEQP-VK.pipeline.framebuffer_attachment.no_attachments uses
gl_PrimitiveID and therefore requires geometry or tessellation support.
dEQP-VK.pipeline.framebuffer_attachment.no_attachments_ms additionally
uses gl_SampleID which requires sample rate shading support.
Add checks for these features are mark test as NotSupported if
they are not present.
Affects:
dEQP-VK.pipeline.framebuffer_attachment.no_attachments
dEQP-VK.pipeline.framebuffer_attachment.no_attachments_ms
Components: Vulkan
VK-GL-CTS issue: 573
Change-Id: Iff7710287e8c5844bd85982fb532381513ad2123
Igor Ostrowski [Tue, 4 Jul 2017 16:01:23 +0000 (18:01 +0200)]
Fix layout transition in blitting tests
Affects:
dEQP-VK.api.copy_and_blit.*.blit_image.*
Components: Vulkan
VK-GL-CTS issue: 571
Change-Id: I780374a8fbff336a7789bd6a745e635ac1202b62
Igor Ostrowski [Wed, 12 Jul 2017 13:15:14 +0000 (15:15 +0200)]
Add metadata bindings in sparse tests
All metadata must be bound prior to device use of the sparse image
Affects:
dEQP-VK.sparse_resources.image_sparse_residency.*
dEQP-VK.sparse_resources.mipmap_sparse_residency.*
dEQP-VK.sparse_resources.shader_intrinsics.*
dEQP-VK.glsl.texture_functions.*sparse*
dEQP-VK.glsl.texture_gather.*sparse*
Components: Vulkan
VK-GL-CTS issue: 572
Change-Id: I4bbf2b74ed7fc0cea000084769cbed0dbe4a802e
Piotr Byszewski [Thu, 20 Jul 2017 15:31:12 +0000 (17:31 +0200)]
Remove vsnprintf from OpenGL CTS, part 4
This change replaces usage of vsnprintf with tcu::TestLog.
Components: OpenGL
VK-GL-CTS issue: 482
Affects:
KHR-GLES31.core.shader_image_size.*
KHR-GLES31.core.shader_image_load_store.*
KHR-GLES31.core.shader_storage_buffer_object.*
Change-Id: Ieff8160e991515a9629550a7031c1f76d92df969
Piotr Byszewski [Wed, 19 Jul 2017 11:58:58 +0000 (13:58 +0200)]
Remove vsnprintf from OpenGL CTS, part 3
This change replaces usage of vsnprintf with tcu::TestLog.
Components: OpenGL
VK-GL-CTS issue: 482
Affects:
KHR-GLES31.core.program_interface_query.*
KHR-GLES31.core.shader_atomic_counters.*
KHR-GLES31.core.vertex_attrib_binding.*
KHR-GLES31.core.compute_shader.*
KHR-GLES31.core.texture_gather.*
Change-Id: I6fd42b8ae4e52076b233a3689bf070e024d3a157
Alexander Galazin [Fri, 21 Jul 2017 07:09:05 +0000 (09:09 +0200)]
Update GL/ES mustpass
Change-Id: I689c73b231444823a2ee306a1307aabf9912dc5b
Paavo Pessi [Mon, 3 Jul 2017 09:34:48 +0000 (12:34 +0300)]
Add test for maxVertexInputAttributes
Tests were added to verify that implementations can use as many vertex
input attributes as they advertise.
Existing vertex input tests were modified to never consume more than
one vertex input binding per vertex input attribute.
New tests:
dEQP-VK.pipeline.vertex_input.max_attributes.*
Affects:
dEQP-VK.pipeline.vertex_input.single_attribute.*
dEQP-VK.pipeline.vertex_input.multiple_attributes.*
Components: Vulkan
VK-GL-CTS issue: 261
Change-Id: I3a481618e700ccda8caa4ea00426be14867a58e5
Piotr Byszewski [Thu, 13 Jul 2017 14:24:46 +0000 (16:24 +0200)]
Add tests for integer literal corner cases
Conformance test cases that verify if integer literals are parsed
correctly and errors are generated on integer literal overflow.
Components: Framework, OpenGL
VK-GL-CTS issue: 4
Affects:
KHR-GLES3.shaders.literal_parsing.*
Change-Id: Ic76938158b2fb062e9257f7c3a477a337f1761ce
Piotr Byszewski [Tue, 11 Jul 2017 10:16:11 +0000 (12:16 +0200)]
Test cube map array support for ETC2
ES 3.2 requires the ability to upload ETC2 compressed textures to
cubemap array targets.
Components: OpenGL
VK-GL-CTS issue: 15
Affects:
KHR-GLES32.core.texture_cube_map_array.etc2_texture
KHR-GL44.texture_cube_map_array.etc2_texture
KHR-GL45.texture_cube_map_array.etc2_texture
Change-Id: I777e147496e827ae34bebb3568404e3db724ed15
Piotr Byszewski [Wed, 5 Jul 2017 15:16:08 +0000 (17:16 +0200)]
Enforce absence of preprocessor token pasting
This change tests if token pasting is not supported.
Components: OpenGL
VK-GL-CTS issue: 18
Affects:
KHR-GLES3.shaders.preprocessor.predefined_macros.invalid_token_pasting_*
Change-Id: Ic2ffebb74134e72d536ca397a814db8a3c29d708
Filip Demczewski [Fri, 31 Mar 2017 13:46:50 +0000 (15:46 +0200)]
Add CTS_EXT_polygon_offset_clamp tests implementation
This is CTS_EXT_polygon_offset_clamp tests implementation.
Implemented cases list:
PolygonOffsetClampAvailability,
PolygonOffsetClampMinMax,
PolygonOffsetClampZeroInfinity.
Affects:
KHR-GL45.polygon_offset_clamp.*
KHR-GLES31.core.polygon_offset_clamp.*
Components: OpenGL, Framework
VK-GL-CTS issue: 304
Change-Id: I638ae52b6eca608dfb4acefe06eda02c4969e436
Jari Komppa [Mon, 10 Jul 2017 12:31:11 +0000 (15:31 +0300)]
Allow higher precision temp buffer in blend tests
Some blend tests were disabled because the results differ on
implementations that store the intermediate values in higher precision,
and only store the final result in the target buffer format.
This change enables the tests, and adds two additional legal results for
the tests. If none of the channels in the target buffer format exceed
8 bits, comparison against a 8888 buffer result is checked. If that
fails, or some channel is wider than 8 bits, comparison against a F64
buffer is done.
The 8888 and F64 results are first converted to the target buffer
format, and comparison threshold is the same as with the direct
comparison (dependent on the target buffer precision).
The higher precision tests are not done for formats where all channels
fit into 8, 16 or 32 bit formats.
Affects:
dEQP-VK.pipeline.blend.format.*
Components: Vulkan
VK-GL-CTS issue: 105
Change-Id: I26d99df151d9602bf9600b1694c3165990b93841
Piotr Byszewski [Mon, 17 Jul 2017 12:50:41 +0000 (14:50 +0200)]
Remove vsnprintf from OpenGL CTS, part 2
This change replaces usage of vsnprintf with tcu::TestLog.
Components: OpenGL
VK-GL-CTS issue: 482
Affects:
KHR-GL40.texture_gather.*
KHR-GL44.tessellation_shader.compilation_and_linking_errors.*
KHR-GLES31.core.shader_image_size.*
KHR-GLES31.core.vertex_attrib_binding.*
KHR-GLES31.core.shader_atomic_counters.*
KHR-GLES31.core.shader_storage_buffer_object.*
Change-Id: I1c9395bb11e013b3ff7ab98a37b3fb088da8944a
Piotr Byszewski [Wed, 19 Jul 2017 12:13:05 +0000 (14:13 +0200)]
Fix missing GLX_CONTEXT_OPENGL_NO_ERROR_ARB token
This change resolve compilation error that occurred when
glxext header is too old and does not contain required define.
Components: Framework
VK-GL-CTS issue: 581
Change-Id: Ifdb37f3921dceec0ea4d9f048aa1e8ac92826889
Slawomir Cygan [Wed, 5 Jul 2017 17:17:02 +0000 (19:17 +0200)]
Fix wrong transition in dEQP-VK.glsl.builtin_var.fragdepth
The test was using vkCmdClearDepthStencilImage to clear an
image, than used this image as a depth attachment in
redering performed by VulkanDrawContext utility.
However, this utility always starts the renderpass on depth
attachment from UNDEFINED layout. As no depth clear is done
in the renderpass, the depth attachment contents are undefined
(and initially cleared image contents may be corrupted).
The easiest fix here is to move the clear to LOAD_OP - as
is already done for color, leaving the UNDEFINED layout as is.
Affects: dEQP-VK.glsl.builtin_var.fragdepth*
Components: Vulkan
VK-GL-CTS issue: 559
Change-Id: Icef3289ba62f71bf1ed989f84085a4d9d3b7218a
Piotr Byszewski [Fri, 14 Jul 2017 09:13:45 +0000 (11:13 +0200)]
Remove vsnprintf from OpenGL CTS, part 1
This change replaces usage of vsnprintf with tcu::TestLog.
Components: OpenGL
VK-GL-CTS issue: 482
Affects:
KHR-GL43.compute_shader.*
KHR-GL43.program_interface_query.*
KHR-GL42.shader_image_load_store.*
Change-Id: I4460f5f5ae37608735322a5735a526f6c2f0f941
Alexander Galazin [Mon, 17 Jul 2017 11:40:08 +0000 (13:40 +0200)]
Merge vk-gl-cts/aosp-deqp-dev into vk-gl-cts/master
Change-Id: Iad6b2950a640b206d24865503d18c391df79fe64
JarredDavies [Fri, 14 Jul 2017 14:55:46 +0000 (15:55 +0100)]
Fix incorrect scale in pipeline_barrier tests
The ImageBlitFromImage verfication code incorrectly scales the refrence image it creates.
The test should add 0.5 to the x and y coords before scaling them.
Affects:
dEQP-VK.memory.pipeline_barrier.*
Components: Vulkan
VK-GL-CTS issue: 577
Change-Id: I28d0b4deec0f1837c21cdc2dc68a9169ca8ae96b
Alexander Galazin [Sun, 16 Jul 2017 13:26:28 +0000 (15:26 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: Ic5acd954861de80294f738176198bb72fb433043
Antia Puentes [Mon, 3 Jul 2017 11:43:34 +0000 (13:43 +0200)]
Don't use layout qualifiers on function parameters
- From the GLSL 4.5 specification, revision 7:
"Layout qualifiers cannot be used on formal function parameters,
and layout qualification is not included in parameter matching."
Affects:
KHR-GL45.shader_image_load_store.basic-glsl-misc
Components: OpenGL
VK-GL-CTS issue: 551
Change-Id: I4b67ad40ee48e150068ad1c2f0292c739bf657fd
Juan A. Suarez Romero [Mon, 19 Jun 2017 11:44:03 +0000 (11:44 +0000)]
Set correct xfb_stride
This test is setting xfb_stride = 32, but it requires at least 48 bytes.
Affects:
KHR-GL45.enhanced_layouts.xfb_block_member_stride
VK-GL-CTS issue: 512
Components: OpenGL
Change-Id: I0a71a4a9ab840e2fab123cedb19566e17cf7e829
Juan A. Suarez Romero [Thu, 6 Jul 2017 09:19:56 +0000 (11:19 +0200)]
Non-zero stream outputs can't be used in fragment shaders.
According to ARB_gpu_shader5 spec, "Geometry Shader Vertex Streams"
section:
"The primitives emitted to all vertex streams are passed to the transform
feedback stage to be captured and written to buffer objects in the manner
specified by the transform feedback state. The primitives emitted to all
streams but stream zero are discarded after transform feedback.
Primitives emitted to stream zero are passed to subsequent pipeline stages
for clipping, rasterization, and subsequent fragment processing."
Thus, it is an error trying to use a GS output as FS input that was
emitted through non-zero stream.
Affects:
KHR-GL45.enhanced_layouts.xfb_vertex_streams
Components: OpenGL
VK-GL-CTS issue: 557
Change-Id: I008c929b600905b1f3eb27a05753c8c75bf82ac5
Jeannot Breton [Fri, 7 Jul 2017 17:48:28 +0000 (12:48 -0500)]
Don't set geometry shader output as array
Only geometry shader inputs needs to be arrayed, not the output
Affects:
KHR-GL45.enhanced_layouts.varying_block_member_locations
Components: OpenGL
VK-GL-CTS issue: 564
Change-Id: Ia7bf0ffe6c5e60db2f620bb2f378f055b325ac0d
Jeannot Breton [Tue, 11 Jul 2017 22:25:06 +0000 (17:25 -0500)]
All scalar or vector VS Inputs use one location
GetLocations() was returning 2 locations for dvec3 and dvec4, this
was incorrect for vertex shader input.
Affects:
KHR-GL45.enhanced_layouts.varying_location_limit
Components: OpenGL
VK-GL-CTS issue: 569
Change-Id: I884aa05dddb209f690beae3762d05edc3d56ca2e
Jeannot Breton [Tue, 11 Jul 2017 23:23:27 +0000 (18:23 -0500)]
Fix xfb_override_qualifiers_with_api
This change fixes various issue in xfb_override_qualifiers_with_api
- Remove one output variable for we don't request more than 16
varying location
- Change the way the source and expected random data is generate so
they match
- Specify that xfb data is tightly pack when calling GetSize
Affects:
KHR-GL45.enhanced_layouts.xfb_override_qualifiers_with_api
Components: OpenGL
VK-GL-CTS issue: 570
Change-Id: I166a1f6a03ac2d5003cd110ad895f13dccaebbef
Slawomir Cygan [Thu, 6 Jul 2017 17:24:18 +0000 (19:24 +0200)]
copies_and_blitting: fix ambiguous signed normalized 1.0 value
Below tests copy floats to signed normalized 8-bit values.
In that process it happens that 1.0 float value is copied to 8_snorm
elements as: {0x00, 0x00, 0x80, 0x3f}
According to spec, on SNORM values:
"Note that while zero is exactly expressible in this representation,
one value (-128 in the example) is outside the representable range,
and must be clamped before use."
The problem occurs when 0x80 == 128 value is copied to buffer:
as it falls outside of <-1,1> range, it may be clamped to 0x81 (both values
represent -1.0 SNORM value).
The change here processes all result and expected data buffers to remove
all ambiguites by converting to float and back to signed normalized format.
Affects:
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.a8b8g8r8_snorm_pack32.*
dEQP-VK.api.copy_and_blit.*.image_to_image.all_formats.color.r32_sfloat.r8g8b8a8_snorm.*
Components: Vulkan
VK-GL-CTS issue: 563
Change-Id: I175665f39811cf6a80862967ad0a9bb8e13527e9
Yanjun Zhang [Fri, 7 Jul 2017 20:45:59 +0000 (13:45 -0700)]
Relax threshold in cube map filtering tests
Use the same colorThreshold calculation as GLES CTS so Vulkan CTS
has the same behavior as GLES CTS.
Components: Vulkan
Affects:
dEQP-VK.pipeline.sampler.view_type.cube.format.r5g6b5_unorm_pack16.*
VK-GL-CTS issue: 561
Change-Id: I9bd632bb242f653b1f2d8bb50ee9867da926e95b
Slawomir Cygan [Fri, 7 Jul 2017 14:41:30 +0000 (16:41 +0200)]
cross_instance sync: run without VK_KHR_get_memory_requirements2
This extension is used in the test, to check if resource needs dedicated
allocations (to be used created by dependent VK_KHR_dedicated_allocation
extension).
If the extension is not supported assume there is no need for dedicated
allocations.
Affects: dEQP-VK.synchronization.cross_instance.*
VK-GL-CTS issue: 548
Components: Vulkan
Change-Id: Icb4f5a34b98da213d0cb665bcc4e6b048d7b8a3c
gkbldval [Fri, 14 Jul 2017 16:49:26 +0000 (18:49 +0200)]
Refactor synchronization test code to avoid compiler warning
vkt::synchronization::s_resources is unused in recently
added file, causing -Wunused warning (treated as error).
Affects: dEQP-VK.synchronization.*
Components: Vulkan
VK-GL-CTS issue: 578
Change-Id: Ifd8ce0812673e6b2da7c28bacb4384b3c80f65d1
Alexander Galazin [Wed, 5 Jul 2017 15:09:38 +0000 (17:09 +0200)]
Fix gcc 5.4 warnings
gcc 5.4 (default in Ubuntu 16.04) reports conversion to int
warnings/errors for bitwise or and assign operator.
GCC bug: 40752
Components: Framework, Vulkan
Change-Id: Ia857c44cf54d5571d857e1fada0e2aaa8f4b950d
(cherry picked from commit
0bd8828618d95d2a83bc7475179a9227bfd22f5f)
Alexander Galazin [Fri, 14 Jul 2017 07:48:05 +0000 (09:48 +0200)]
Add option to skip fetch external sources
Added option to check_build_sanity.py to skip running
fetch_sources.py. Allows to run multiple concurrent invocations
of check_build_sanity.py using the same source folder.
Components: Framework
Change-Id: I6289920860fb20287c405cefc0213c27f326857b
Mika Isojarvi [Fri, 14 Jul 2017 22:19:28 +0000 (22:19 +0000)]
Merge "Report Android extension pack tests as not supported"
am:
03c395c60f
Change-Id: I605ac0bf0a499ad175e7d667843734eea16141c2
Mika Isojarvi [Fri, 14 Jul 2017 22:11:54 +0000 (22:11 +0000)]
Merge "Report Android extension pack tests as not supported"
Mika Isojärvi [Fri, 14 Jul 2017 19:46:08 +0000 (12:46 -0700)]
resolve merge conflicts of
7782ec5b to deqp-dev
Test: Build the apk and ran scripts/check_build_sanity.p.
Change-Id: I0ac3ec6a73a4751bd5b075aaf59bb24c48f14f5c
Treehugger Robot [Fri, 14 Jul 2017 18:39:46 +0000 (18:39 +0000)]
Merge "resolve merge conflicts of
ae3759c7 to deqp-dev" into deqp-dev
Mika Isojärvi [Fri, 14 Jul 2017 18:34:35 +0000 (11:34 -0700)]
resolve merge conflicts of
ae3759c7 to deqp-dev
Test: Build deqp apk and ran scripts/check_build_sanity.py
Change-Id: I2aad44982a04d1066c7a7f37fac139b735c5211b
Treehugger Robot [Fri, 14 Jul 2017 18:18:52 +0000 (18:18 +0000)]
Merge "Compilation fixes for QNX platform" into deqp-dev
Abhinav Shukla [Fri, 7 Jul 2017 11:31:22 +0000 (17:01 +0530)]
Compilation fixes for QNX platform
Modifies some CMakeLists.txt to add QNX specific checks
using the 'DE_OS_QNX' or 'DE_OS_IS_QNX' compilation flags.
Doesn't change functionality for any other platform.
VK-GL-CTS issue: 537
Components: Framework
Change-Id: I34d4091f2b0f064f22abc4996abb4bed94e4a83f
Jari Komppa [Tue, 4 Jul 2017 06:05:05 +0000 (09:05 +0300)]
Added tests for NMin, NMax and NClamp instructions
The NMin, NMax and NClamp instructions are not generated by glslang
nor tested by spriv-assembly.
Due to the fact that the vulkan spec allows implementations that do
not implement NaN handling, the tests have to be somewhat relaxed;
either the NaN is handled correctly, or NaNs are considered huge
values.
All three instructions return NaN in all cases if all parameters are
NaN.
NMin always returns the other value if paired with NaN: if NaNs are
handled, the instruction should pick the other value. If NaNs are
not handled, the other value will always be smaller.
NMax may return either the other value (if NaNs are handled), or NaN
(if NaNs are not handled).
NClamp is only defined if the min and max values are not NaN, so those
cases are not tested, except for the case where all three values are
NaN. If the clamped value is NaN, the result may either be the min
value (if NaNs are handled) or max value (if NaNs are not handled).
In addition to the NaN case testing, various random non-NaN values are
tested for all three instructions.
Affects:
dEQP-VK.spirv_assembly.instruction.compute.opnmin.all
dEQP-VK.spirv_assembly.instruction.compute.opnmax.all
dEQP-VK.spirv_assembly.instruction.compute.opnclamp.all
Components: Vulkan
VK-GL-CTS issue: 171
Change-Id: I59e884d51dac4eee047af2e52eebee3318e57776
Paavo Pessi [Thu, 15 Jun 2017 10:46:47 +0000 (13:46 +0300)]
Refactor large test groups
Large test groups were split into smaller groups. Undescriptive
groups and cases were renamed to better represent their function.
dEQP-VK.api.buffer.*
- VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT is listed in the array of
possible buffer usage modes but is never actually used.
Test cases using said mode were added.
Affects:
dEQP-VK.api.buffer.*
dEQP-VK.pipeline.vertex_input.*
dEQP-VK.api.buffer_view.create.*
dEQP-VK.api.image_clearing.clear_color_image.*
dEQP-VK.texture.filtering.*
dEQP-VK.ubo.*
Components: Vulkan
VK-GL-CTS issue: 420
Change-Id: I201b1a087ee8b8b83cc0654f48f2e5da471d6421
Mika Isojärvi [Thu, 13 Jul 2017 17:55:43 +0000 (10:55 -0700)]
Update GL wrapper to newest API.
Components: Framework
Affects: headers generation
Test: Run some of the functional deqp GLES tests on couple of Pixel
and Nexus devices
Bug:
63669033
Change-Id: Id5e8924a1cec9bc72156efa51625d566ed2681ca
Alexander Galazin [Fri, 24 Feb 2017 20:47:42 +0000 (21:47 +0100)]
Fetch gl.xml, egl.xml from Github repos
SVN repository containing gl.xml and egl.xml is no longer updated.
The new locations for these files are OpenGL-Registry and
EGL-Registry repositories on Github.
Adjust fetching scripts to use the new locations.
Components: Framework
Affects: headers generation
Change-Id: Ic091a46c636d446b6a4751bd3b797bcd19f90014
Alexander Galazin [Wed, 12 Jul 2017 12:38:01 +0000 (14:38 +0200)]
Report Android extension pack tests as not supported
Android extension pack tests can't run on GLES31-only GPUs.
Report such tests as NotSupported.
Components: AOSP
Change-Id: I88ab61e5d0b263428c41a644c6417e24e2f7f234
Treehugger Robot [Thu, 13 Jul 2017 19:34:56 +0000 (19:34 +0000)]
Merge "Fix ShaderExecutor usage for core OpenGL" into deqp-dev
Alexander Galazin [Thu, 13 Jul 2017 11:09:24 +0000 (13:09 +0200)]
Merge vk-gl-cts/master into vk-gl-cts-public/master
Change-Id: I534c0fe4b0c99281ac8f712ec16f66c5db9596ee
Mika Isojrvi [Wed, 12 Jul 2017 22:57:34 +0000 (22:57 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da am:
b78f9b0e57
am:
6e213b6fdc
Change-Id: I84abe9d601d4067b3bc6d3cf3480c11b86471f86
Mika Isojrvi [Wed, 12 Jul 2017 22:55:28 +0000 (22:55 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a am:
4d1d6446da
am:
b78f9b0e57
Change-Id: I8c3f63b90541d59965f4af1e60cb8654ce734faa
Mika Isojrvi [Wed, 12 Jul 2017 22:53:28 +0000 (22:53 +0000)]
Mask compared bits in atomic operation tests. am:
b2ed9fbe1a
am:
4d1d6446da
Change-Id: I9931765924b1102c011bd1d75522f9b4f7089dd2
Mika Isojrvi [Wed, 12 Jul 2017 22:51:27 +0000 (22:51 +0000)]
Mask compared bits in atomic operation tests.
am:
b2ed9fbe1a
Change-Id: I2f7b4cfbf2d926966af7c9956db670080771c164
Mika Isojrvi [Wed, 12 Jul 2017 20:02:22 +0000 (20:02 +0000)]
Add missing files to Android.mk
am:
58f3ba4184 -s ours
Change-Id: Ic30ccfcb844d0d8e61abf5b9384d8895bce4d831
Alexander Galazin [Wed, 12 Jul 2017 20:02:19 +0000 (20:02 +0000)]
Add RENDERBUFFER_VALID bit to R8, RG8 definition
am:
1d7c8df82e
Change-Id: I94f23b583d76a015c1c56376bb1f72dc606f8419
Mark Adams [Wed, 12 Jul 2017 20:02:15 +0000 (20:02 +0000)]
Check that threads started in multithreading tests
am:
9937c63c41
Change-Id: If1b3f506a83d4edd3c438f8395e63182b3058b41
Pyry Haulos [Wed, 12 Jul 2017 20:02:12 +0000 (20:02 +0000)]
Reduce scope of mustpass exclusions due to
22760309
am:
5d86672aa0
Change-Id: Ifc1529bd4403d2e997474c8d7f6a5459712bb684
John Richardson [Wed, 12 Jul 2017 20:02:07 +0000 (20:02 +0000)]
Add new large constant array indexing tests
am:
fc35227a44 -s ours
Change-Id: I2cbc0e2b934e120c64544a42d59ef5dc1a5b64bc
james.glanville [Wed, 12 Jul 2017 20:02:05 +0000 (20:02 +0000)]
Reset GL_FRAMEBUFFER_SRGB state for ES tests
am:
695727058b
Change-Id: I189e5fdf08cbdb81c66aa091778eaab9b010a6cc
james.glanville [Wed, 12 Jul 2017 20:02:00 +0000 (20:02 +0000)]
Apply sRGB conversion to reference in sRGB framebuffer fetch test
am:
c76765be1f
Change-Id: Id5d54413683ae39e6a48ef17f6e406b4dcb1818d
John Richardson [Wed, 12 Jul 2017 20:01:55 +0000 (20:01 +0000)]
Fix for integer formats in framebuffer extension tests
am:
3bb47b5c57 -s ours
Change-Id: Ia085cbf839e30caec207880994b988de08141ade
John Richardson [Wed, 12 Jul 2017 20:01:52 +0000 (20:01 +0000)]
Add new framebuffer fetch extension tests
am:
2a609fb223 -s ours
Change-Id: Ib770a9b16e12b79b745931ec132514dc99900b86
John Richardson [Wed, 12 Jul 2017 20:01:49 +0000 (20:01 +0000)]
Code clean up in swizzle math operations script
am:
fc24d7d28c
Change-Id: I1b2ce0201d639c2c956856734eda7a3801590cd3
John Richardson [Wed, 12 Jul 2017 20:01:44 +0000 (20:01 +0000)]
Add new swizzle math operation tests
am:
821035bbc9 -s ours
Change-Id: Ide35e7484eab18a038d61c104e49e9ed2516d94e
Pyry Haulos [Wed, 12 Jul 2017 20:01:41 +0000 (20:01 +0000)]
Fix compute.exceed_atomic_counters_limit
am:
5b837a5b21
Change-Id: I33d9033711ddb32961e4f23d437ffc4681077cf3
Alexander Galazin [Wed, 12 Jul 2017 20:01:38 +0000 (20:01 +0000)]
Ensure vertex shader presence if a geometry shader exists
am:
5dd0c1077c
Change-Id: I28aa78b0e4eb591769379df93dc6aef6ab3be4c5
Michael Hadley [Wed, 12 Jul 2017 20:01:36 +0000 (20:01 +0000)]
Add negative OES_sample_variables tests
am:
d30cb29294 -s ours
Change-Id: Ifaacb62cd978fc75ebdb7aed462b035565b9a71b
John Richardson [Wed, 12 Jul 2017 20:01:34 +0000 (20:01 +0000)]
Add new compute negative coverage tests
am:
db4a886f3f -s ours
Change-Id: Ide57d07d9bba37691bbf0f172640cf3a6586bb59
John Richardson [Wed, 12 Jul 2017 20:01:32 +0000 (20:01 +0000)]
Add new EGL enum negative case to robustness tests
am:
c77b3cf9f3
Change-Id: I0cb1cdd6af70d74902fd236eed9a3ac088386776
Michael Hadley [Wed, 12 Jul 2017 20:01:30 +0000 (20:01 +0000)]
Add negative sRGB texture/sampler API tests
am:
a237c0c9ac
Change-Id: I11c4e6e6a0bec4fa076daac297d99f8f03afbb7b
Alexander Galazin [Wed, 12 Jul 2017 20:01:28 +0000 (20:01 +0000)]
Fix DrawRangeElementsBaseVertex tests with negative basevertex
am:
bf0b29365e
Change-Id: I85921f82f3f55187f8793d6144c15ff78d4e7a30
John Richardson [Wed, 12 Jul 2017 20:01:26 +0000 (20:01 +0000)]
Add new draw elements base vertex tests
am:
3c865084eb -s ours
Change-Id: If68f8da7f9788c3016bc01620e03316a94a03303
Pyry Haulos [Wed, 12 Jul 2017 20:01:25 +0000 (20:01 +0000)]
Fix typo in framebuffer_srgb_unsupported_enum
am:
b46d559e07
Change-Id: I72cd36eb013532467a54d08ce61ace5c55a27774
John Richardson [Wed, 12 Jul 2017 20:01:21 +0000 (20:01 +0000)]
Add sRGB write decode negative case
am:
6644e7bfef -s ours
Change-Id: I3ca1620efe31a4a7fce3267f6c788d1e5f5ea064
Michael Hadley [Wed, 12 Jul 2017 20:01:18 +0000 (20:01 +0000)]
Add sRGB write decode tests
am:
50d8f31f52 -s ours
Change-Id: Ia9a7bc1a1a23792a3a6d7a22588e74559a5f2b98
Alexander Galazin [Wed, 12 Jul 2017 13:23:46 +0000 (15:23 +0200)]
Update GLES EGL mustpass after gl.xml update
Components: OpenGL
Change-Id: I967565b0f89547cc12a418dc20e5cc3dd2aa4541
Alexander Galazin [Wed, 12 Jul 2017 08:03:11 +0000 (10:03 +0200)]
Update gl.xml revision
Components: AOSP, Framework
Change-Id: I5272c877c3a696b2727fa335a5d4f8ab62df4d7c
Jari Komppa [Tue, 11 Jul 2017 12:28:18 +0000 (15:28 +0300)]
Added logging of thread count in more mt tests
This allows checking between two runs of the test suite to verify
that the same number of threads were used when running the tests.
Gerrit change 1214 added logging to one set of tests:
dEQP-VK.api.object_management.multithreaded_per_thread_device.*
This change does the same for the other multithreaded tests
under object_management.
Affects:
dEQP-VK.api.object_management.multithreaded_per_thread_resources.*
dEQP-VK.api.object_management.multithreaded_shared_resources.*
Components: Vulkan
VK-GL-CTS issue: 80
Change-Id: Iab96e1c249f9113c74ebc851e27558611cb1ede7
Mika Isojärvi [Fri, 7 Jul 2017 22:46:05 +0000 (15:46 -0700)]
Add missing files to Android.mk
Change-Id: I843a5b2967b130f3c7399865e1d0e56af840c1ae
Alexander Galazin [Wed, 28 Jun 2017 07:31:31 +0000 (09:31 +0200)]
Add RENDERBUFFER_VALID bit to R8, RG8 definition
FBO completness tests missed that R8/RG8 are valid internal formats
for glRenderbufferStorage* calls starting from GLES3. This caused
the tests to expect error on some implementations.
VK-GL-CTS issue: 532
Components: AOSP
Affects:
dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.r8
dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.rg8
Change-Id: I394ac0e75f83f0a5ca03634629293f109fc0cbb7
Mark Adams [Mon, 19 Jun 2017 15:19:16 +0000 (11:19 -0400)]
Check that threads started in multithreading tests
The EGL GLES2 multithreading sharing tests could interpret a thread
that hadn't started yet as a finished thread.
Commit fd41d5d addressed the same issue but only changed one of the
two test iteration functions.
Author: Onni Kosomaa <okosomaa@nvidia.com>
Change-Id: Ie35390a8d57d9a0e8a679250a63ebb68e100de47
Pyry Haulos [Fri, 12 May 2017 18:26:59 +0000 (11:26 -0700)]
Reduce scope of mustpass exclusions due to
22760309
Bug:
22760309
Change-Id: I65b3e8ac836c87d038ee0f2a1aa033242ae19a1a
John Richardson [Tue, 28 Mar 2017 15:54:13 +0000 (16:54 +0100)]
Add new large constant array indexing tests
New shader library tests for indexing into large constant arrays with
varied sizes and data types (float, vec4).
New tests:
- dEQP-GLES3.functional.shaders.large_constant_arrays.indexing.*
Change-Id: I2d41cc35930969078737b3490c5a2377e7c65446
james.glanville [Wed, 17 May 2017 12:45:37 +0000 (13:45 +0100)]
Reset GL_FRAMEBUFFER_SRGB state for ES tests
GL_EXT_sRGB_write_control adds new state "GL_FRAMEBUFFER_SRGB" which
is enabled by default. This was not reset between tests, meaning state
could leak between tests.
Affects: dEQP-GLES31.functional.fbo.srgb_write_control.
framebuffer_srgb_enabled
Components: AOSP
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
John Richardson [Thu, 30 Mar 2017 09:53:48 +0000 (10:53 +0100)]
Fix for integer formats in framebuffer extension tests
Use UVec4 and IVec4 types when calculating composite color for
unsigned and signed integer formats respectively.
Affected tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*
Change-Id: I01cea4a6d99df51939740712b952b5e9191ed1f2
John Richardson [Mon, 20 Mar 2017 17:29:54 +0000 (17:29 +0000)]
Add new framebuffer fetch extension tests
New tests for EXT_shader_framebuffer_buffer_fetch extension. Test cases
for accessing existing framebuffer data as input in the fragment shader.
Includes negative tests cases for invalid shader usage.
New tests:
- dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.*
- dEQP-GLES31.functional.shaders.framebuffer_fetch.framebuffer_format.*
- dEQP-GLES31.functional.debug.negative_coverage.*.framebuffer_fetch.*
Change-Id: I8f8aa2312e26c2c709d3e2e2733c497e24669da8
John Richardson [Wed, 29 Mar 2017 08:49:52 +0000 (09:49 +0100)]
Code clean up in swizzle math operations script
Remove redundant arguments in SwizzleCase constructor in gen swizzle
math operations script.
Change-Id: Ib1786db43682a6aa30b5d64ba770ad565ca23ea5
John Richardson [Thu, 23 Mar 2017 09:54:09 +0000 (09:54 +0000)]
Add new swizzle math operation tests
New tests for combined swizzle and math operations using various vector
types. Includes addition, subtraction, multiplication, and division
operations with repeated and non-repeated swizzles.
New tests:
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_add.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_subtract.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_multiply.*
- dEQP-GLES3.functional.shaders.swizzle_math_operations.vector_divide.*
Change-Id: I4541a88057f70dd41f4f27b81313748094e76037
Pyry Haulos [Mon, 3 Apr 2017 15:37:57 +0000 (08:37 -0700)]
Fix compute.exceed_atomic_counters_limit
Tests were using large offset instead of large binding value when
attempting to exceed atomic counter limit.
Affects:
dEQP-GLES31.functional.debug.negative_coverage.*.compute.exceed_atomic_counters_limit
Change-Id: I9c89b64de4983ec383a9c76cc44f3ac9f2e782f4
Alexander Galazin [Mon, 8 May 2017 12:59:38 +0000 (14:59 +0200)]
Ensure vertex shader presence if a geometry shader exists
Certain tests verify that INVALID_OPERATION is generated
if a geometry shader is active and mode is incompatible with
the input primitive type of the geometry shader in the currently
installed program object. However these tests have no vertex shader and
this is the real reason why INVALID_OPERATION is generated.
This change ensures that the vertex shader is present.
Components: AOSP
Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_elements_instanced_base_vertex_primitive_mode_mismatch
dEQP-GLES31.functional.debug.negative_coverage.get_error.vertex_array.draw_range_elements_base_vertex_primitive_mode_mismatch
Change-Id: I36bcee8892e4f641feadb0b444a53ed35273b727
Alexander Galazin [Tue, 11 Jul 2017 14:23:12 +0000 (16:23 +0200)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: Ia6c79e1d0c516b4e58984fbe87238670a8bbab25
Boris Zanin [Tue, 11 Jul 2017 12:31:58 +0000 (14:31 +0200)]
Windows build fix. Use deUint types
uint32_t and uint64_t have been replaced with
deUint32 and deUint64 recognizable by Windows.
Components: Vulkan
VK-GL-CTS issue: 358
Change-Id: I5b80d861a63005011f3d0b663d802f97321148f8
Alexander Galazin [Tue, 11 Jul 2017 09:39:46 +0000 (11:39 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.3 into vk-gl-cts/master
Change-Id: I38c411fd5bdd838539af37d5ccbebecb2118159d
Alexander Galazin [Tue, 11 Jul 2017 09:39:43 +0000 (11:39 +0200)]
Merge vk-gl-cts/opengl-es-cts-3.2.2 into vk-gl-cts/opengl-es-cts-3.2.3
Change-Id: I151494637b7f30099fe55c84c5578fec9da270dd