Skip to content
Permalink
Branch: master
Commits on Jul 18, 2019
  1. Add depthBounds tests for VK_EXT_depth_range_unrestricted

    samuelig authored and alegal-arm committed Jun 5, 2019
    Added tests check that depthbounds range values outside [0.0f, 1.0f]
    are properly supported by the drivers.
    
    This test will draw the same scene two times. The first time, it will
    render the points depending on if they pass the depth test and if clear
    depth value passes the depthBounds test.
    
    The second time, will render the same scene but the the point positions
    will have depth buffer values from the first draw. If they pass the
    depth test, then the depthBounds test will check the previous content
    of the depth buffer, which is most cases, will make that the second
    image differs from the first one.
    
    Added new tests:
    
        dEQP-VK.pipeline.depth_range_unrestricted.depthbounds.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1754
    
    Change-Id: Ica136efd9e946db63b2092914566d43214b7b641
  2. Add input attachment restrictions to makeCreateImageInfo()

    samuelig authored and alegal-arm committed May 27, 2019
    From Vulkan spec:
    
    "All attachments in pInputAttachments that are not VK_ATTACHMENT_UNUSED
    must have formats whose features contain at least one of
    VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT or
    VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT."
    
    Affects:
    
    dEQP-VK.image.texel_view_compatible.graphic.basic.*.attachment_*
    
    VK-GL-CTS issue: 1414
    
    Components: Vulkan
    
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
    Change-Id: Ia26a618b74a0e7cb198576a6c5872a639dc07a5e
Commits on Jul 12, 2019
  1. Add QueryIndexed tests when streamId is zero

    samuelig authored and alegal-arm committed May 13, 2019
    In the case where streamID==0, it is legal to use cmdBeginQuery paired
    with cmdEndQueryIndexedEXT (and vice versa).
    
    Added tests:
    
       dEQP-VK.transform_feedback*queryindexed*
    
    Components: Vulkan
    VK-GL-CTS issue: 1772
    
    Change-Id: I701916c4dc38826e9874976649f4ae57cac42614
Commits on Jul 11, 2019
  1. Add tests for VK_EXT_shader_subgroup_ballot

    samuelig authored and alegal-arm committed Jun 3, 2019
    Add tests for read*InvocationsARB() and other defines added by
    VK_EXT_shader_subgroup_ballot extension.
    
    Tests are based on the existing ones for subgroup's ballot feature but
    adapted to the extension.
    
    These tests don't check the gl_SubGroup*MaskARB variables, they will
    be added in other CL.
    
    New tests:
    
    dEQP-VK.subgroups.ballot.ext_shader_subgroup_ballot.*
    dEQP-VK.subgroups.ballot_broadcast.ext_shader_subgroup_ballot.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1692
    
    Change-Id: Ic694c371245ebde5883f507c26cd6caead15ed87
Commits on Jun 27, 2019
  1. Fix depth stencil multisample image usage validation error

    samuelig authored and alegal-arm committed Jun 20, 2019
    Usage for depth stencil multisample image must have
    VK_IMAGE_USAGE_TRANSFER_SRC_BIT since multisampleAttachment's
    finalLayout is VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL.
    
    Affected tests:
    
      dEQP-VK.renderpass2.depth_stencil_resolve.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1835
    
    Change-Id: I1e6b6e8883ad276e8eb817449f2fffba2d1840e4
Commits on Jun 19, 2019
  1. Add VK_EXT_shader_subgroup_vote extension tests

    samuelig authored and alegal-arm committed May 29, 2019
    They are a subset of dEQP-VK.subgroups.vote* tests that check
    invocationAnyARB(), invocationsAllARB() and invocationsAllEqualARB()
    GLSL functions added by VK_EXT_shader_subgroup_vote on Vulkan.
    
    Added tests:
    
      dEQP-VK.subgroups.vote.ext_shader_subgroup_vote.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1693
    
    Change-Id: Iab549f5d470d58a3212f6161bbd257025060c2b5
Commits on Jun 13, 2019
  1. Add VK_EXT_depth_range_unrestricted tests

    samuelig authored and alegal-arm committed Apr 23, 2019
    Added tests check that depth values outside [0.0f, 1.0f] range are
    properly supported by the drivers on different situations:
    viewport depth range and clear value for depth buffer.
    
    Also, it checks it works for different depth formats, if depth clamp is
    enabled or disabled and for different values of W component of the
    vertices.
    
    Added new tests:
    
       dEQP-VK.pipeline.depth_range_unrestricted.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1754
    
    Change-Id: I7e16c22ebb468392b4c3dd710f4358595c4ef297
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Commits on May 31, 2019
  1. Add VK_EXT_host_query_reset tests for transform feedback stream queries

    samuelig authored and alegal-arm committed Mar 25, 2019
    New tests:
    
    dEQP-VK.transform_feedback.simple.host_query_reset_*
    
    Components: Vulkan
    VK-GL-CTS issue: 1653
    
    Change-Id: I9e4c6cc9aa57ed07d3ba68a56be4d5cbcddd4e6c
    (cherry picked from commit 577b36b7e6e26ca9b69a8ba4eb1b72772fd074d4)
Commits on May 30, 2019
  1. Fix vkGetPhysicalDevicePresentRectanglesKHR() call

    samuelig authored and alegal-arm committed Apr 12, 2019
    Removed the 'if' that forced the execution of this function when
    present mode was
    VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR, so now it can
    be tested on other present modes.
    
    Affected tests:
    
       dEQP-VK.wsi.*.surface.query_devgroup_present_modes
    
    Components: Vulkan
    VK-GL-CTS issue: 1428
    
    Change-Id: Ife8820e4f15091e350acf60d758d983c26056e5f
Commits on May 24, 2019
  1. Add barriers to read query data after copy

    samuelig authored and alegal-arm committed May 17, 2019
    When the query pool results that were copied out to a buffer, a barrier
    should be placed to ensure the data is written before the host read it,
    specially if the memory allocated is non-host-coherent. The invalidation
    of the mapped memory is not enough in that case.
    
    Affected tests:
    
      dEQP-VK.query_pool.occlusion_query.copy*
      dEQP-VK.pipeline.timestamp.transfer_tests.*copy_query_pool_results*
      dEQP-VK.pipeline.timestamp.misc_tests.two_cmd_buffers_primary*
    
    Components: Vulkan
    VK-GL-CTS issue: 1756
    
    Change-Id: I115c9e62f1b369e0f1ad9a30f9a6982c876beb74
Commits on May 17, 2019
  1. Add tests for VK_EXT_pipeline_creation_feedback extension

    samuelig authored and alegal-arm committed May 17, 2019
    Tests implement the following for both compute and graphics pipelines.
    They create a pipeline cache and checks the pipeline creation feedback
    for three different pipelines: first pipeline should not hit the cache,
    second pipeline is the same than the first one, third pipeline is a
    pipeline derivative from the first one.
    
    Then they verify that the creation feedback for all of the pipelines is
    valid, the first pipeline did not hit the cache and that first and
    second pipelines are not setting
    VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT as
    they are not pipeline derivatives.
    
    Also, if pPipelineStageCreationFeedbacks for each pipeline and stage is
    not valid, check that none of the flags is set.
    
    They also print to the test log the content of the
    pPipelineCreationFeedback for each pipeline and, if
    pPipelineStageCreationFeedbacks for each pipeline and stage is valid,
    its content too.
    
    New tests:
    
    dEQP-VK.pipeline.creation_feedback.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1671
    
    Change-Id: I5e8b728bd83c256b3b4f084c6d0840a132afbcae
  2. Add multiview tests iterating with VK_EXT_vertex_attribute_divisor

    samuelig authored and alegal-arm committed May 7, 2019
    Tests are the same than the existing vertex attribute divisor ones but
    adding 2 views that are rendering the same scene. Expected result is
    the same for both views.
    
    Added tests:
    
       dEQP-VK.draw.instanced.*_multiview
    
    Components: Vulkan
    VK-GL-CTS issue: 1290
    
    Change-Id: I1cfc3868d56c6c7ce02a3a2d7b07107acea59759
Commits on May 10, 2019
  1. Fix run command for Windows

    samuelig committed May 10, 2019
    In Windows the directory separator is backslash for running commands.
    
    Components: Vulkan
    
    Change-Id: I917dd7c05a6d4a085130c1ec58945d4e03d3dc85
Commits on Apr 26, 2019
  1. Add tests for EXT_discard_rectangles

    samuelig committed Apr 5, 2019
    Added tests that check that the rendered image is correct for the the
    combination of: the two different modes (inclusive, exclusive),
    different number of rectangles (1, 2, 3, 4, 8, 16), dynamic discard
    rectangles, scissor, dynamic scissor.
    
    These tests don't check that the device groups work as expected.
    
    New tests:
    
    dEQP-VK.draw.discard_rectangles.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1679
    
    Change-Id: Idcfe2a9fc9113051fd72e51a0019e4247463cede
Commits on Apr 11, 2019
  1. Missing format checks for vertex attribute and color attachments in i…

    samuelig authored and alegal-arm committed Apr 5, 2019
    …nput_ouput tests
    
    Input_output tests were not checking that the vertex attribute formats
    were supported by the physical device. Added a similar check for the color
    attachment.
    
    Affects:
    
    dEQP-VK.spirv_assembly.instruction.graphics.*input_output*
    
    Components: Vulkan
    VK-GL-CTS issue: 1726
    
    Change-Id: I2987deeafc8d3cc119730993fcb30fb191be062c
  2. Missing format checks for vertex attribute and color attachments in i…

    samuelig authored and alegal-arm committed Apr 5, 2019
    …nput_ouput tests
    
    Input_output tests were not checking that the vertex attribute formats
    were supported by the physical device. Added a similar check for the color
    attachment.
    
    Affects:
    
    dEQP-VK.spirv_assembly.instruction.graphics.*input_output*
    
    Components: Vulkan
    VK-GL-CTS issue: 1726
    
    Change-Id: I2987deeafc8d3cc119730993fcb30fb191be062c
  3. Fix malformed assets, use DE_FATAL

    samuelig authored and alegal-arm committed Apr 11, 2019
    Convert all malformed asserts like DE_ASSERT("...") to DE_FATAL.
    
    Components: Vulkan
    VK-GL-CTS issue: 1294
    
    Change-Id: Ieedef557849371473bbec86841f9373749bd3b66
Commits on Mar 29, 2019
  1. Add tests for VK_EXT_host_query_reset

    samuelig authored and alegal-arm committed Mar 20, 2019
    Added tests for Occlusion, Statistics and Timestamp queries.
    
    New tests:
    
    dEQP-VK.pipeline.timestamp.*host_query_reset*
    dEQP-VK.query_pool.*host_query_reset*
    
    Components: Vulkan
    VK-GL-CTS issue: 1653
    
    Change-Id: Ic828de11bd0782bed75833a252a1b07a066aa635
Commits on Jan 10, 2019
  1. Fix errors in SPIR-V 16bit_storage tests

    samuelig authored and alegal-arm committed Jun 22, 2018
    Commit 04ba8ac was wrongly setting a condition that made
    all the *16_to_16* tests to fail. Also, in the last rebase of CL#2458,
    there were a rename of an argument of OpFunction that was not updated.
    
    Affects: dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1234
    
    Change-Id: Ia83bedefa33d3e37b62336ebadb2bc992e0ddb2a
    (cherry picked from commit 56e8d4e)
Commits on Dec 21, 2018
  1. Fix Visual Studio 2013 build of VkRunner

    samuelig authored and alegal-arm committed Dec 21, 2018
    There were build errors related to undefined inline attribute and
    undefined offsetof() function.
    
    Change-Id: I111225756c1c950d73c4886fe1c2d3d203b567c2
    Components: Vulkan
    VK-GL-CTS: 1530
    (cherry picked from commit 0b09187)
  2. Fix Visual Studio 2013 build of VkRunner

    samuelig authored and alegal-arm committed Dec 21, 2018
    There were build errors related to undefined inline attribute and
    undefined offsetof() function.
    
    Change-Id: I111225756c1c950d73c4886fe1c2d3d203b567c2
    Components: Vulkan
    VK-GL-CTS: 1530
Commits on Dec 6, 2018
  1. Add precision error margin to cos() tests for float_controls

    samuelig authored and alegal-arm committed Dec 4, 2018
    On some old Intel hardware, Mesa doesn't return exactly 1.0 for cos(0).
    This change implements the precision error margin for the affected cos() tests,
    following Vulkan spec, "Precision and Operation of SPIR-V Instructions".
    
    Components: Vulkan
    
    Affects: dEQP-VK.spirv_assembly.instruction.*.float_controls.*.cos_denorm_flush_to_zero*
    
    VK-GL-CTS issue: 1498
    
    Change-Id: I2ff07616f706d4214517917276aeb26d2d875325
    Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Commits on Nov 22, 2018
  1. Add fp16 <-> fp64 conversion tests

    samuelig authored and alegal-arm committed Mar 5, 2018
    Require support for VK_KHR_shader_float16_int8 extension.
    
    Added tests:
    
    dEQP-VK.spirv_assembly.instruction.*.16bit_storage*64*
    
    VK-GL-CTS issue: 1116
    Components: Vulkan, Framework
    
    Fix 16-bit storage IO f64-to-f16 conversion tests
    
    The tests were applying a rounding mode decoration
    to OpFConvert that was used by OpReturnValue.
    The extension doesn't allow this. The only allowed
    successor for suc instruction is OpStore to specific
    storage classes.
    
    Components: Vulkan
    
    VK-GL-CTS issue: 1424
    
    Affects:
    dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.input_output_float_64_to_16.*
    
    Change-Id: Ia224e4c6d1e11e6bc1c250d68e5b24f90000d8e6
    (cherry picked from commit 04ba8ac)
    (cherry picked from commit c74832c)
Commits on Jun 22, 2018
  1. Fix errors in SPIR-V 16bit_storage tests

    samuelig committed Jun 22, 2018
    Commit 04ba8ac was wrongly setting a condition that made
    all the *16_to_16* tests to fail. Also, in the last rebase of CL#2458,
    there were a rename of an argument of OpFunction that was not updated.
    
    Affects: dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.*
    
    Components: Vulkan
    VK-GL-CTS issue: 1234
    
    Change-Id: Ia83bedefa33d3e37b62336ebadb2bc992e0ddb2a
Commits on Jun 8, 2018
  1. Add fp16 <-> fp64 conversion tests

    samuelig authored and alegal-arm committed Mar 5, 2018
    Require support for VK_KHR_shader_float16_int8 extension.
    
    Added tests:
    
    dEQP-VK.spirv_assembly.instruction.*.16bit_storage*64*
    
    VK-GL-CTS issue: 1116
    Components: Vulkan, Framework
    
    Change-Id: Ibc8e756a9e26b3779de4699cad82b69dc5c65863
Commits on Jan 22, 2018
  1. Add more component qualifier array tests for fragment outputs

    samuelig committed Dec 1, 2017
    Tests were added to verify that various combinations of component
    qualifiers can be used with different data arrays (float, vec2, vec3)
    in fragment shader outputs.
    
    New tests:
    
    dEQP-VK.glsl.440.linkage.varying.component.frag_out.two_vec4.*
    
    Components: Vulkan
    VK-GL-CTS issue: 896
    
    Change-Id: If3ed04b88f4a496dcdada9c50a45bbf7580df88e
Commits on Sep 15, 2017
  1. Check if the driver supports subgroup operations

    samuelig authored and alegal-arm committed Sep 11, 2017
    Affects: dEQP-VK.subgroups.*
    
    Components: Vulkan
    
    VK-GL-CTS issue: 683
    
    Change-Id: I85936d808459fab9a260bff372c7a5bbe7cc67fc
    (cherry picked from commit 9cbd59a)
  2. Fix bug when setting descriptor set layouts

    samuelig authored and alegal-arm committed Sep 4, 2017
    Affects:
    
    dEQP-VK.glsl.builtin_var.fragdepth.*
    dEQP-VK.glsl.builtin_var.fragcoord_msaa.*
    
    Fixes crashes added by 595b5f7 (CL#1017).
    
    Components: Vulkan
    VK-GL-CTS issue: 659
    
    Change-Id: I1464ff6b213f38a2ade08f1e9b11dad422ee3f21
    (cherry picked from commit 153979d)
  3. Check if the driver supports subgroup operations

    samuelig authored and alegal-arm committed Sep 11, 2017
    Affects: dEQP-VK.subgroups.*
    
    Components: Vulkan
    
    VK-GL-CTS issue: 683
    
    Change-Id: I85936d808459fab9a260bff372c7a5bbe7cc67fc
Commits on Sep 7, 2017
  1. Fix bug when setting descriptor set layouts

    samuelig authored and alegal-arm committed Sep 4, 2017
    Affects:
    
    dEQP-VK.glsl.builtin_var.fragdepth.*
    dEQP-VK.glsl.builtin_var.fragcoord_msaa.*
    
    Fixes crashes added by 595b5f7 (CL#1017).
    
    Components: Vulkan
    VK-GL-CTS issue: 659
    
    Change-Id: I923637fa2f7a4b0916515155afa44fcf64221209
You can’t perform that action at this time.