Skip to content

[GLSL/SPIR-V->HLSL] UAV/Structured buffer binds don't account for the output buffers #14

@Doom2fan

Description

@Doom2fan

Compilation from GLSL or SPIR-V to HLSL does not seem to account for output buffers taking up the same namespace as UAVs/structured buffers, which leads to compilation errors when compiling the HLSL code.

Here's the error it gives for my shader, as an example:

unknown(48,21-29): error X4509: UAV registers live in the same name space as outputs, so they must be bound to at least u3, manual bind to slot u0 failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions