/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../collections/Component/Material/shader/DecodeSymbolColor.glsl","../../shaderModules/IntegerPassUniform","../../shaderModules/interfaces","../../../lib/VertexAttribute","../../../materials/internal/MaterialUtil"],(function(o,e,l,r,d,t){"use strict";function i(o,i){i.hasSymbolColors?(o.include(e.DecodeSymbolColor),o.attributes.add(d.VertexAttribute.SYMBOLCOLOR,"vec4"),o.varyings.add("colorMixMode","mediump float"),o.vertex.code.add(r.glsl`int symbolColorMixMode;
vec4 getSymbolColor() {
return decodeSymbolColor(symbolColor, symbolColorMixMode) * 0.003921568627451;
}
void forwardColorMixMode() {
colorMixMode = float(symbolColorMixMode) + 0.5;
}`)):(o.fragment.uniforms.add(new l.IntegerPassUniform("colorMixMode",(o=>t.colorMixModes[o.colorMixMode]))),o.vertex.code.add(r.glsl`vec4 getSymbolColor() { return vec4(1.0); }
void forwardColorMixMode() {}`))}o.SymbolColor=i,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
