Skip to content

mesa/program: fix shadow property for samplers

Erik Faye-Lund requested to merge kusma/mesa:prog-shadow_sampler into master

When creating a sampler-type, we need to pass the correct vaclue for the "is_shadow"-parameter to glsl_sampler_type(), otherwise the compiler backend will have no clue about this being a shadow-sampler.

Fixes: 1c0f92d8 ("nir: Create sampler variables in prog_to_nir.")

Merge request reports