CL: Reapply constant sampler dedupe with fix
Previous attempt was missing a null check before accessing the sampler in the deref chain. Non-constant samplers are still function parameters at this point in the lowering passes.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Previous attempt was missing a null check before accessing the sampler in the deref chain. Non-constant samplers are still function parameters at this point in the lowering passes.