Skip to content

Commit

Permalink
Removed mac logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocelot5836 committed Nov 17, 2024
1 parent da32e2b commit 5aee6f4
Show file tree
Hide file tree
Showing 21 changed files with 4 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public void attach(int attachment) {
int attachmentType = this.getAttachmentType();
Validate.isTrue(attachmentType < GL_DEPTH_ATTACHMENT || attachment == 0, "Only one depth buffer attachment is supported.");

if (Minecraft.ON_OSX) {
VeilRenderSystem.printGlErrors(null);
}
if (this.layer == -1) {
GlStateManager._glFramebufferTexture2D(
GL_FRAMEBUFFER,
Expand All @@ -40,9 +37,6 @@ public void attach(int attachment) {
this.textureId,
0
);
if (Minecraft.ON_OSX) {
VeilRenderSystem.printGlErrors("glFramebufferTexture2D");
}
} else {
glFramebufferTextureLayer(
GL_FRAMEBUFFER,
Expand All @@ -51,9 +45,6 @@ public void attach(int attachment) {
0,
this.layer
);
if (Minecraft.ON_OSX) {
VeilRenderSystem.printGlErrors("glFramebufferTextureLayer");
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import foundry.veil.Veil;
import foundry.veil.api.client.registry.PostPipelineStageRegistry;
import foundry.veil.api.client.render.VeilRenderSystem;
import foundry.veil.api.client.render.VeilRenderer;
import foundry.veil.api.client.render.framebuffer.FramebufferManager;
import foundry.veil.api.client.render.post.PostPipeline;
import foundry.veil.api.client.render.shader.program.ShaderProgram;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import foundry.veil.impl.client.render.shader.modifier.SimpleShaderModification;
import foundry.veil.impl.client.render.shader.transformer.VeilJobParameters;
import foundry.veil.impl.glsl.GlslParser;
import foundry.veil.impl.glsl.GlslSyntaxException;
import foundry.veil.impl.glsl.node.GlslTree;
import foundry.veil.impl.glsl.visitor.GlslStringWriter;
import net.minecraft.resources.FileToIdConverter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package foundry.veil.api.client.render.shader;

import foundry.veil.Veil;
import foundry.veil.api.client.render.shader.program.ShaderProgram;
import net.minecraft.resources.ResourceLocation;
import org.jetbrains.annotations.Nullable;

/**
* Default shader names.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import foundry.veil.impl.glsl.node.GlslTree;
import org.jetbrains.annotations.ApiStatus;

import java.io.IOException;

@ApiStatus.Internal
public class InputShaderModification implements ShaderModification {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package foundry.veil.impl.glsl.node;

import foundry.veil.impl.glsl.grammar.GlslStructSpecifier;
import foundry.veil.impl.glsl.grammar.GlslVersion;
import foundry.veil.impl.glsl.node.function.GlslFunctionNode;
import foundry.veil.impl.glsl.node.variable.GlslDeclaration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.branch;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;
import org.jetbrains.annotations.Nullable;

import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.branch;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;
import org.jetbrains.annotations.Nullable;

public class GlslCaseLabelNode implements GlslNode {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package foundry.veil.impl.glsl.node.branch;

import foundry.veil.impl.glsl.node.GlslNode;
import org.jetbrains.annotations.Nullable;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import foundry.veil.impl.glsl.node.GlslNode;

import java.util.Objects;

/**
* Equal; A = B
* <br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import foundry.veil.impl.glsl.node.GlslNode;

import java.util.Objects;

/**
* Equality; A == B, A != B
* <br>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.expression;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;

import java.util.List;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.expression;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;

import java.util.List;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.expression;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;

import java.util.List;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.expression;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;

import java.util.List;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.expression;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;

import java.util.List;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import foundry.veil.impl.glsl.node.GlslNode;

import java.util.Objects;

public class GlslUnaryNode implements GlslNode {

private GlslNode expression;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
import foundry.veil.impl.glsl.visitor.GlslFunctionVisitor;
import org.jetbrains.annotations.Nullable;

import java.util.*;
import java.util.stream.Collectors;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;

/**
* Defines a function in a GLSL file with an optional body.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package foundry.veil.impl.glsl.node.function;

import foundry.veil.impl.glsl.node.GlslNode;
import foundry.veil.impl.glsl.visitor.GlslTreeVisitor;

import java.util.ArrayList;
import java.util.Collection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package foundry.veil.impl.glsl.visitor;

import foundry.veil.impl.glsl.grammar.GlslStructSpecifier;
import foundry.veil.impl.glsl.grammar.GlslVersion;
import foundry.veil.impl.glsl.node.function.GlslFunctionNode;
import foundry.veil.impl.glsl.node.variable.GlslDeclaration;
Expand Down
4 changes: 0 additions & 4 deletions common/src/test/java/GlslGrammarGenerator.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import foundry.veil.impl.glsl.GlslTokenReader;
import foundry.veil.impl.glsl.node.GlslNode;
import org.jetbrains.annotations.Nullable;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
Expand Down

0 comments on commit 5aee6f4

Please sign in to comment.