Skip to content

Feature request: slang-gfx backend #8089

@Hyiker

Description

@Hyiker

Version/Branch of Dear ImGui:

1.91.1

Back-ends:

slang

Compiler, OS:

None

Full config/build information:

No response

Details:

Motivation

I'm writing a personal project with imgui and slang-gfx, and I hope there could be official support for slang-gfx backend. In short, slang is a brand new shading language resembling HLSL, but has richer language features and can be compiled to mainstream backends like dxil, spir-v etc. . slang-gfx is the abstraction library of graphics APIs, supporting cross-platform backends.

An official implementation of slang backend could be helpful for slang and imgui users.

Details of implementation

I've implemented my personal slang backend(haven't decoupled from my project framework, but it should be easy to do so). If this proposal could be taken, I'd be glad to make a PR writing the implementation.

Concerns

The only concern I have is slang is still under fast iteration development, which exact version we use in this implementation should be decided.

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions