Home
last modified time | relevance | path

Searched refs:minlod (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c78 unsigned minlod, lastlod; in update_sampler() local
157 minlod = sampler->minlod; in update_sampler()
160 if (lastlod < minlod) { in update_sampler()
161 minlod = lastlod; in update_sampler()
164 state[1] |= (sampler->minlod << SS3_MIN_LOD_SHIFT); in update_sampler()
Di915_state.c325 int minlod = (int)(16.0 * sampler->min_lod); in i915_create_sampler_state() local
327 minlod = CLAMP(minlod, 0, 16 * 11); in i915_create_sampler_state()
330 if (minlod > maxlod) in i915_create_sampler_state()
331 maxlod = minlod; in i915_create_sampler_state()
333 cso->minlod = minlod; in i915_create_sampler_state()
Di915_context.h221 unsigned minlod; member
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c292 float minlod; in i915_update_tex_unit() local
355 minlod = MIN2(sampler->Attrib.MinLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i915_update_tex_unit()
357 state[I915_TEXREG_SS3] |= (U_FIXED(CLAMP(minlod, 0.0, 11.0), 4) << in i915_update_tex_unit()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp2852 uint32_t minlod = 0; in emit_texture_op() local
2879 test(minlod, ImageOperandsMinLodMask); in emit_texture_op()
2884 if (minlod != 0) in emit_texture_op()
Dspirv_glsl.cpp6740 uint32_t minlod = 0; in to_texture_op() local
6766 test(minlod, ImageOperandsMinLodMask); in to_texture_op()
6784 name_args.has_min_lod = minlod != 0; in to_texture_op()
6807 args.min_lod = minlod; in to_texture_op()