diff options
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c')
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 31aacef74..afaf35e5b 100644 --- a/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/lib/mesa/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -1562,6 +1562,11 @@ emit_fetch_system_value( atype = TGSI_TYPE_UNSIGNED; break; + case TGSI_SEMANTIC_SAMPLEID: + res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.sample_id); + atype = TGSI_TYPE_UNSIGNED; + break; + case TGSI_SEMANTIC_TESSOUTER: res = lp_build_extract_broadcast(gallivm, lp_type_float_vec(32, 128), bld_base->base.type, bld->system_values.tess_outer, |