Minor fixes

This commit is contained in:
SirLynix
2023-06-16 13:06:11 +02:00
parent 6bf91e10e5
commit 2a9ec4f3bb
5 changed files with 7 additions and 8 deletions

View File

@@ -705,7 +705,7 @@ nzsl::Ast::ExpressionType ShaderGraph::ToShaderExpressionType(TextureType type)
{
switch (type)
{
case TextureType::Sampler2D: return nzsl::Ast::SamplerType{ nzsl::ImageType::E2D, nzsl::Ast::PrimitiveType::Float32 };
case TextureType::Sampler2D: return nzsl::Ast::SamplerType{ nzsl::ImageType::E2D, nzsl::Ast::PrimitiveType::Float32, false };
}
assert(false);