Home | History | Annotate | Download | only in i915

Lines Matching refs:sampler

41  * There is a circular dependancy between the sampler state
50 * is set on the map state instead of the sampler state. That is
55 * we need to change the sampler state when map state is changed.
64 const struct i915_sampler_state *sampler,
84 const struct i915_sampler_state *sampler,
91 state[0] = sampler->state[0];
92 state[1] = sampler->state[1];
93 state[2] = sampler->state[2];
111 const unsigned ws = sampler->templ->wrap_s;
112 const unsigned wt = sampler->templ->wrap_t;
113 const unsigned wr = sampler->templ->wrap_r;
115 (sampler->templ->min_img_filter != PIPE_TEX_FILTER_NEAREST ||
116 sampler->templ->mag_img_filter != PIPE_TEX_FILTER_NEAREST) &&
125 /* sampler->fallback = true; */
133 minlod = sampler->minlod;
140 state[1] |= (sampler->minlod << SS3_MIN_LOD_SHIFT);
160 i915->sampler[unit], /* sampler state */
162 i915->current.sampler[unit]); /* the result */
166 i915->sampler[unit], /* sampler state */
167 i915->fragment_sampler_views[unit], /* sampler view */
186 * Sampler views
297 const struct i915_sampler_state *sampler,
333 if (max_lod > (sampler->maxlod >> 2))
334 max_lod = sampler->maxlod >> 2;
358 i915->sampler[unit], /* sampler state */
359 i915->fragment_sampler_views[unit], /* sampler view */