From 7177228ab9859c062312d89c880f6b8651b7ce35 Mon Sep 17 00:00:00 2001 From: Janine Liu Date: Thu, 31 Mar 2022 15:46:19 -0400 Subject: [PATCH] Remove extraneous variable from shader --- Source/Shaders/ModelExperimental/ModelClippingPlanesStageFS.glsl | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Shaders/ModelExperimental/ModelClippingPlanesStageFS.glsl b/Source/Shaders/ModelExperimental/ModelClippingPlanesStageFS.glsl index 5b1690a9774d..b09545bcf428 100644 --- a/Source/Shaders/ModelExperimental/ModelClippingPlanesStageFS.glsl +++ b/Source/Shaders/ModelExperimental/ModelClippingPlanesStageFS.glsl @@ -44,7 +44,6 @@ float clip(vec4 fragCoord, sampler2D clippingPlanes, mat4 clippingPlanesMatrix) #ifdef UNION_CLIPPING_REGIONS float clipAmount; // For union planes, we want to get the min distance. So we set the initial value to the first plane distance in the loop below. - bool breakAndDiscard = false; #else float clipAmount = 0.0; bool clipped = true;