mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-03 07:43:26 +00:00
Fix some sharc version issues for v12
This commit is contained in:
parent
69458df685
commit
488f0013b6
1 changed files with 4 additions and 7 deletions
|
@ -237,7 +237,7 @@ namespace FirstPlugin
|
|||
variationFragmenMacroData.Read(reader, header.Version);
|
||||
variationGeometryMacroData.Read(reader, header.Version);
|
||||
|
||||
if (header.Version >= 12)
|
||||
if (header.Version >= 13)
|
||||
{
|
||||
variationComputeMacroData.Read(reader, header.Version);
|
||||
}
|
||||
|
@ -245,17 +245,14 @@ namespace FirstPlugin
|
|||
variationSymbolData.Read(reader);
|
||||
variationSymbolDataFull.Read(reader);
|
||||
|
||||
UniformVariables.Read(reader, header.Version, true);
|
||||
if (header.Version <= 12)
|
||||
{
|
||||
UniformVariables.Read(reader);
|
||||
|
||||
if (header.Version >= 11)
|
||||
{
|
||||
UniformBlocks.Read(reader, header.Version, true);
|
||||
}
|
||||
|
||||
SamplerVariables.Read(reader);
|
||||
AttributeVariables.Read(reader);
|
||||
SamplerVariables.Read(reader, header.Version);
|
||||
AttributeVariables.Read(reader, header.Version);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue