Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Metal macosx- Shift cbuffer bindings broken #53

@DamianMadden

Description

@DamianMadden

If this is supposed to shift the binding number for buffers in metal then it's not working, otherwise a comment mentioning specifically which shading languages it applies to would be nice.

To reproduce- I expect this will be the case with any HLSL shader to the msl_macos target, likely ios too but I've not checked.

Expected behavior- I expected that the constant buffers binding #'s would come out in MSL as either (the source binding number, depending on the input language, or 0) + the shift cbuffers int parameter in Compiler::Options

I should perhaps mention this is only significant as an issue because I'm trying to automate the process of converting shaders from HLSL to MSL as part of the build process for a project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions