Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shader] 为着色器编译提供更多功能 #11

Open
Demonese opened this issue Jan 12, 2023 · 0 comments
Open

[Shader] 为着色器编译提供更多功能 #11

Demonese opened this issue Jan 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Demonese
Copy link
Contributor

目前想到的:
1、通过 hlsl 宏定义,提供常用的宏用于简化寄存器声明等
2、提供 hlsl 的 #include 功能,方便编写复杂的 shader
3、允许开发者编译 shader 的时候传递自定义宏定义,允许将不同的功能模块写进同一个 shader,然后通过不同的宏定义编译出不同的 shader 字节码

@Demonese Demonese added the enhancement New feature or request label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant