Skip to content

Commit

Permalink
this is getting riduculous (99 composite programs)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jan 1, 2022
1 parent 4a57280 commit ee840ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/coderbot/iris/shaderpack/ProgramSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public ProgramSet(AbsolutePackPath directory, Function<AbsolutePackPath, String>
private ProgramSource[] readProgramArray(AbsolutePackPath directory,
Function<AbsolutePackPath, String> sourceProvider, String name,
ShaderProperties shaderProperties) {
ProgramSource[] programs = new ProgramSource[16];
ProgramSource[] programs = new ProgramSource[99];

for (int i = 0; i < programs.length; i++) {
String suffix = i == 0 ? "" : Integer.toString(i);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package net.coderbot.iris.shaderpack.loading;

public enum ProgramArrayId {
ShadowComposite(ProgramGroup.ShadowComposite, 16),
Prepare(ProgramGroup.Prepare, 16),
Deferred(ProgramGroup.Deferred, 16),
Composite(ProgramGroup.Composite, 16),
ShadowComposite(ProgramGroup.ShadowComposite, 99),
Prepare(ProgramGroup.Prepare, 99),
Deferred(ProgramGroup.Deferred, 99),
Composite(ProgramGroup.Composite, 99),
;

private final ProgramGroup group;
Expand Down

0 comments on commit ee840ef

Please sign in to comment.