Skip to content

[Feature Request] Add flag to disable all HLSL intrinsics when using -spirv #7973

@Przemog1

Description

@Przemog1

Is your feature request related to a problem? Please describe
When using -spirv to generate SPIR-V from HLSL, we sometimes want to write everything in Inline-SPIR-V and avoid relying on HLSL intrinsics. Currently, there is no way to disable all HLSL intrinsics, which forces us to work around their limitations. HLSL intrinsics often fall short, for example:

Describe the solution you'd like
A compiler flag (to be used together with -spirv) that completely disables HLSL intrinsics. This would allow developers to rely fully on Inline-SPIR-V without waiting for HLSL/Clang coverage to improve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions