Skip to content

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

Open
@Demonese

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions