Skip to content

softpipe: Fix swizzled texture gather of int textures.

Emma Anholt requested to merge anholt/mesa:softpipe-gather-int into master

We need to pick 1u vs 1.0f based on the type of the texture, just like for normal samples. Move the decision up to the create_sampler_view, and use that value from both sampler paths.

Cc: mesa-stable

Merge request reports