mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
fix: 修复部分着色器的警告
This commit is contained in:
parent
a7cc8f5e27
commit
aa890e941e
5 changed files with 8 additions and 2 deletions
|
|
@ -1408,7 +1408,7 @@ cbuffer __CB2 : register(b1) {
|
|||
}
|
||||
|
||||
if (!App::Get().GetDeviceResources().CompileShader(source, "__M", desc.passes[id].cso.put(),
|
||||
fmt::format("Pass{}", id + 1).c_str(), &passInclude)
|
||||
fmt::format("{}_Pass{}.hlsl", desc.name, id + 1).c_str(), &passInclude)
|
||||
) {
|
||||
Logger::Get().Error(fmt::format("编译 Pass{} 失败", id + 1));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue