Some more fixes
This commit is contained in:
parent
36120b9501
commit
4aee707bb4
|
|
@ -496,13 +496,12 @@ namespace Nz
|
|||
|
||||
for (auto&& [variable, id] : m_internal->variableIds)
|
||||
{
|
||||
const auto& var = variable;
|
||||
UInt32 resultId = id;
|
||||
|
||||
if (!variable.debugName.empty())
|
||||
debugInfos.Append(SpirvOp::OpName, resultId, variable.debugName);
|
||||
|
||||
const auto& var = variable;
|
||||
|
||||
constants.AppendVariadic(SpirvOp::OpVariable, [&](const auto& appender)
|
||||
{
|
||||
appender(GetId(*var.type));
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ namespace Nz
|
|||
{
|
||||
struct SpirvPrinter::State
|
||||
{
|
||||
State(const Settings& Settings) :
|
||||
settings(settings)
|
||||
State(const Settings& s) :
|
||||
settings(s)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue