Skip to content
Snippets Groups Projects
Commit c334f842 authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Eric Engestrom
Browse files

mesa/program: fix shadow property for samplers


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.")
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <mesa/mesa!5986>
(cherry picked from commit c33e8d7d)
parent f9fdd9df
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment