Lines Matching refs:sts
79 etna_configure_sampler_ts(struct etna_sampler_ts *sts, struct pipe_sampler_view *pview, bool enable) in etna_configure_sampler_ts() argument
81 bool dirty = (sts->enable != enable); in etna_configure_sampler_ts()
83 assert(sts); in etna_configure_sampler_ts()
84 sts->enable = enable; in etna_configure_sampler_ts()
87 sts->TS_SAMPLER_CONFIG = 0; in etna_configure_sampler_ts()
88 sts->TS_SAMPLER_STATUS_BASE.bo = NULL; in etna_configure_sampler_ts()
95 if (lev->clear_value != sts->TS_SAMPLER_CLEAR_VALUE) in etna_configure_sampler_ts()
100 sts->mode = lev->ts_mode; in etna_configure_sampler_ts()
101 sts->comp = lev->ts_compress_fmt >= 0; in etna_configure_sampler_ts()
102 sts->TS_SAMPLER_CONFIG = in etna_configure_sampler_ts()
106 sts->TS_SAMPLER_CLEAR_VALUE = lev->clear_value; in etna_configure_sampler_ts()
107 sts->TS_SAMPLER_CLEAR_VALUE2 = lev->clear_value >> 32; in etna_configure_sampler_ts()
108 sts->TS_SAMPLER_STATUS_BASE.bo = rsc->ts_bo; in etna_configure_sampler_ts()
109 sts->TS_SAMPLER_STATUS_BASE.offset = lev->ts_offset; in etna_configure_sampler_ts()
110 sts->TS_SAMPLER_STATUS_BASE.flags = ETNA_RELOC_READ; in etna_configure_sampler_ts()