Skip to content

Graphics tests fail on Clang with d3d12 #540

@Alexander-Johnston

Description

@Alexander-Johnston

Previously the graphics tests were unsupported on Clang due to SV_TARGET not having being implemented.
Now that it is implemented they pass on Vulkan (tested locally on Windows and Ubutnu 24.04 LTS with an AMD GPU), but fail on Windows targeting d3d12.

Each test errors during with

# .---command stderr------------
# | error: Unsupported intrinsic llvm.dx.load.input.v4f32 for DXIL lowering
# | error: Unsupported intrinsic llvm.dx.store.output.v4f32 for DXIL lowering
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

Testing SimpleTriangle.test specifically it appears this occurs with both the vertex and pixel shaders.

Tested with clang commit 25b6a15dfd228a4bf10c77240cecb26864e0e527

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions