Skip to content

What is the difference between slang-gfx and slang-rhi #6802

Answered by kaizhangNV
LouChiSoft asked this question in Q&A
Discussion options

You must be logged in to vote

slang-gfx is a legacy graphics abstraction layer, it's originally only for Vulkan and D3D.

Since we want to support more target graphics API such Metal, WebGPU, and more complex reflections usage in the abstraction layer, we noticed that the slang-gfx doesn't do very good job on abstracting those graphics APIs (e.g. some resource types on Metal doesn't exist at all at slang-gfx). So we re-design the layer and hope to make it more general to cover all existing graphics APIs, and that is slang-rhi.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kaizhangNV
Comment options

@LouChiSoft
Comment options

Answer selected by LouChiSoft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants