Skip to content

[Vulkan] GetDimensions test for {RW}Buffer fails on Vulkan & DXC #469

@hekota

Description

@hekota

The Feature/TypedBuffer/GetDimensions.test test fails on Vulkan. The test is calling GetDimensions on RWBuffer and Buffer resources.
The expected dimensions are [ 8, 5 ], DXC on Vulkan returns [ 16, 16 ].

[Exec-Tests-Windows (windows-intel, check-hlsl-vk)
GPU: Intel(R) UHD Graphics 630
Vulkan SDK: 1.4.313.1

# .---command stdout------------
# | Using Vulkan API
# | Physical device created.
# | Shader module created.
# | Copy command buffer created.
# | Memory buffers created.
# | Executed copy command buffer.
# | Execute command buffer created.
# | Descriptors: { type = 5, count = 3 }
# | Descriptor pool created.
# | Binding 3 descriptors.
# | Num Descriptor sets: 1
# | Updating Descriptor [0] { 0, 0 }
# | Updating Descriptor [1] { 0, 1 }
# | Updating Descriptor [2] { 0, 2 }
# | WriteDescriptors: 3
# | Descriptor sets created.
# | Compute pipeline created.
# | Dispatched compute shader: { 4, 1, 1 }
# | Commands created.
# | Executed compute command buffer.
# | Compute pipeline created.
# | Cleanup complete.
# `-----------------------------
# .---command stderr------------
# | Test failed: Out
# | Comparison Rule: BufferExact
# | Expected:
# | ---
# | Name:            ExpectedOut
# | Format:          Int32
# | Data:            [ 8, 5 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Got:
# | ---
# | Name:            Out
# | Format:          Int32
# | Data:            [ 16, 16 ]
# | OutputProps:
# |   Height:          0
# |   Width:           0
# |   Depth:           0
# | ...
# | Full Hex 64bit representation of Expected Buffer Values:
# | [ 0x8, 0x5 ]
# | Full Hex 64bit representation of Actual Buffer Values:
# | [ 0x10, 0x10 ]
# | 
# `-----------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssues needing further triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions