Lines Matching refs:state

41 #include "main/state.h"
212 * This is called just prior to changing any texture object state which
223 * This is called just prior to changing any texture object state which
226 * state flag and then mark the texture object as 'incomplete' so that any
227 * per-texture derived state gets recomputed.
287 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]);
288 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]);
299 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]);
300 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]);
321 texObj->Sampler.Attrib.state.mag_img_filter = filter_to_gallium(params[0]);
339 texObj->Sampler.Attrib.state.wrap_s = wrap_to_gallium(params[0]);
355 texObj->Sampler.Attrib.state.wrap_t = wrap_to_gallium(params[0]);
371 texObj->Sampler.Attrib.state.wrap_r = wrap_to_gallium(params[0]);
500 texObj->Sampler.Attrib.state.compare_func = func_to_gallium(params[0]);
626 texObj->Sampler.Attrib.state.reduction_mode = reduction_to_gallium(mode);
647 texObj->Sampler.Attrib.state.seamless_cube_map = param;
767 texObj->Sampler.Attrib.state.min_lod = MAX2(params[0], 0.0f); /* only positive vals */
781 texObj->Sampler.Attrib.state.max_lod = params[0];
808 texObj->Sampler.Attrib.state.max_anisotropy =
831 texObj->Sampler.Attrib.state.lod_bias = util_quantize_lod_bias(params[0]);
850 memcpy(texObj->Sampler.Attrib.state.border_color.f, params, 4 * sizeof(float));
852 texObj->Sampler.Attrib.state.border_color.f[RCOMP] = CLAMP(params[0], 0.0F, 1.0F);
853 texObj->Sampler.Attrib.state.border_color.f[GCOMP] = CLAMP(params[1], 0.0F, 1.0F);
854 texObj->Sampler.Attrib.state.border_color.f[BCOMP] = CLAMP(params[2], 0.0F, 1.0F);
855 texObj->Sampler.Attrib.state.border_color.f[ACOMP] = CLAMP(params[3], 0.0F, 1.0F);
1160 COPY_4V(texObj->Sampler.Attrib.state.border_color.i, params);
1189 COPY_4V(texObj->Sampler.Attrib.state.border_color.ui, params);
2300 params[0] = CLAMP(obj->Sampler.Attrib.state.border_color.f[0], 0.0F, 1.0F);
2301 params[1] = CLAMP(obj->Sampler.Attrib.state.border_color.f[1], 0.0F, 1.0F);
2302 params[2] = CLAMP(obj->Sampler.Attrib.state.border_color.f[2], 0.0F, 1.0F);
2303 params[3] = CLAMP(obj->Sampler.Attrib.state.border_color.f[3], 0.0F, 1.0F);
2306 params[0] = obj->Sampler.Attrib.state.border_color.f[0];
2307 params[1] = obj->Sampler.Attrib.state.border_color.f[1];
2308 params[2] = obj->Sampler.Attrib.state.border_color.f[2];
2309 params[3] = obj->Sampler.Attrib.state.border_color.f[3];
2564 b[0] = CLAMP(obj->Sampler.Attrib.state.border_color.f[0], 0.0F, 1.0F);
2565 b[1] = CLAMP(obj->Sampler.Attrib.state.border_color.f[1], 0.0F, 1.0F);
2566 b[2] = CLAMP(obj->Sampler.Attrib.state.border_color.f[2], 0.0F, 1.0F);
2567 b[3] = CLAMP(obj->Sampler.Attrib.state.border_color.f[3], 0.0F, 1.0F);
2833 COPY_4V(params, obj->Sampler.Attrib.state.border_color.i);