Searched refs:gl_sampler (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen7_sampler_state.c | 43 struct gl_sampler_object *gl_sampler = _mesa_get_samplerobj(ctx, unit); in gen7_update_sampler_state() local 50 switch (gl_sampler->MinFilter) { in gen7_update_sampler_state() 81 if (gl_sampler->MaxAnisotropy > 1.0) { in gen7_update_sampler_state() 85 if (gl_sampler->MaxAnisotropy > 2.0) { in gen7_update_sampler_state() 86 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2, in gen7_update_sampler_state() 91 switch (gl_sampler->MagFilter) { in gen7_update_sampler_state() 104 sampler->ss3.r_wrap_mode = translate_wrap_mode(gl_sampler->WrapR, in gen7_update_sampler_state() 106 sampler->ss3.s_wrap_mode = translate_wrap_mode(gl_sampler->WrapS, in gen7_update_sampler_state() 108 sampler->ss3.t_wrap_mode = translate_wrap_mode(gl_sampler->WrapT, in gen7_update_sampler_state() 116 (gl_sampler->MinFilter != GL_NEAREST || in gen7_update_sampler_state() [all …]
|
D | brw_wm_sampler_state.c | 168 struct gl_sampler_object *gl_sampler = _mesa_get_samplerobj(ctx, unit); in brw_update_sampler_state() local 175 switch (gl_sampler->MinFilter) { in brw_update_sampler_state() 207 if (gl_sampler->MaxAnisotropy > 1.0) { in brw_update_sampler_state() 211 if (gl_sampler->MaxAnisotropy > 2.0) { in brw_update_sampler_state() 212 sampler->ss3.max_aniso = MIN2((gl_sampler->MaxAnisotropy - 2) / 2, in brw_update_sampler_state() 217 switch (gl_sampler->MagFilter) { in brw_update_sampler_state() 230 sampler->ss1.r_wrap_mode = translate_wrap_mode(gl_sampler->WrapR, in brw_update_sampler_state() 232 sampler->ss1.s_wrap_mode = translate_wrap_mode(gl_sampler->WrapS, in brw_update_sampler_state() 234 sampler->ss1.t_wrap_mode = translate_wrap_mode(gl_sampler->WrapT, in brw_update_sampler_state() 246 (gl_sampler->MinFilter != GL_NEAREST || in brw_update_sampler_state() [all …]
|