X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Foccluder.glsl;h=6d6cd56074e7c67aa1f3d9fc3eb2e525fd75fef1;hb=a741acd5c501c03de5181656498d2bcbe0df9157;hp=abd29a0aaa07dde0db265fd95eec33d4464aed9d;hpb=ae423e6ef278388f92802fbae34b1c7ec339292f;p=libs%2Fgl.git diff --git a/shaderlib/occluder.glsl b/shaderlib/occluder.glsl index abd29a0a..6d6cd560 100644 --- a/shaderlib/occluder.glsl +++ b/shaderlib/occluder.glsl @@ -1,11 +1,11 @@ import msp_interface; -uniform AlphaCutoff +layout(set=1) uniform AlphaCutoff { float alpha_cutoff; }; -uniform sampler2D alpha_map; +layout(set=1) uniform sampler2D alpha_map; layout(constant_id=auto) const bool use_alpha_cutoff = false;