[Mesa-dev] [RFCv3 08/11] gallium/auxiliary: introduce nir_emulate
Ilia Mirkin
imirkin at alum.mit.edu
Mon Feb 1 16:47:47 UTC 2016
On Sun, Jan 31, 2016 at 3:16 PM, Rob Clark <robdclark at gmail.com> wrote:
> + if (flags & TGSI_EMU_FORCE_PERSAMPLE_INTERP) {
> + nir_foreach_variable(var, &shader->inputs) {
> + var->data.sample = true;
> + }
> + }
How does Intel handle this? Presumably you'd want to do the same thing
here... this needs to happen whenever you're doing per-sample shading.
st/mesa has an option for that to be handled in the driver as well,
based on a rasterizer setting, to avoid needless recompiles.
-ilia
More information about the mesa-dev
mailing list