Graphics: Make use of new auto_binding
This commit is contained in:
@@ -33,7 +33,8 @@ namespace Nz
|
||||
const std::shared_ptr<RenderDevice>& renderDevice = graphics->GetRenderDevice();
|
||||
|
||||
nzsl::Ast::SanitizeVisitor::Options options;
|
||||
options.allowPartialSanitization = true;
|
||||
options.forceAutoBindingResolve = true;
|
||||
options.partialSanitization = true;
|
||||
options.moduleResolver = graphics->GetShaderModuleResolver();
|
||||
options.optionValues[CRC32("MaxLightCount")] = SafeCast<UInt32>(PredefinedLightData::MaxLightCount);
|
||||
options.optionValues[CRC32("MaxJointCount")] = SafeCast<UInt32>(PredefinedSkeletalData::MaxMatricesCount);
|
||||
|
||||
Reference in New Issue
Block a user