Home | History | Annotate | Download | only in radeonsi

Lines Matching refs:rstate

2134 	struct si_pipe_sampler_state *rstate = CALLOC_STRUCT(si_pipe_sampler_state);
2139 if (rstate == NULL) {
2158 rstate->val[0] = (S_008F30_CLAMP_X(si_tex_wrap(state->wrap_s)) |
2166 rstate->val[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) |
2168 rstate->val[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) |
2172 rstate->val[3] = S_008F3C_BORDER_COLOR_TYPE(border_color_type);
2182 return rstate;