LuaSTG-Sub icon indicating copy to clipboard operation
LuaSTG-Sub copied to clipboard

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

Open Demonese opened this issue 1 year ago • 0 comments

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

Demonese avatar Jan 12 '23 13:01 Demonese