/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{OutputHighlight as i}from"./OutputHighlight.glsl.js";import{glsl as t}from"../../shaderModules/glsl.js";function l(l,e){8===e.output&&(l.include(i,e),l.fragment.code.add(t`
    void calculateOcclusionAndOutputHighlight(uvec2 highlightToAdd) {
      uint levelBits = readLevelBits(highlightToAdd, highlightLevel);
      if ((levelBits & 1u) == 0u) discard;
      outputHighlight(isHighlightOccluded());
    }
  `))}export{l as OutputHighlightOverlay};
