/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_sampler_view.c | 52 res, sv->min_lod, sv->max_lod); in svga_debug_describe_sampler_view() 59 unsigned min_lod, unsigned max_lod) in svga_get_tex_sampler_view() argument 71 assert(min_lod <= max_lod); in svga_get_tex_sampler_view() 82 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view() 96 tex->cached_view->min_lod == min_lod && in svga_get_tex_sampler_view() 101 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view() 119 sv->min_lod = min_lod; in svga_get_tex_sampler_view() 126 pt, min_lod, max_lod, in svga_get_tex_sampler_view() 127 max_lod - min_lod + 1, in svga_get_tex_sampler_view() 141 pt, min_lod, max_lod, in svga_get_tex_sampler_view() [all …]
|
D | svga_state_tss.c | 85 unsigned last_level, min_lod, max_lod; in emit_tex_binding_unit() local 91 min_lod = max_lod = sv->u.tex.first_level; in emit_tex_binding_unit() 95 min_lod = s->view_min_lod + sv->u.tex.first_level; in emit_tex_binding_unit() 96 min_lod = MIN2(min_lod, last_level); in emit_tex_binding_unit() 102 min_lod = 0; in emit_tex_binding_unit() 107 view->min_lod != min_lod || in emit_tex_binding_unit() 114 view->min_lod = min_lod; in emit_tex_binding_unit() 120 min_lod, in emit_tex_binding_unit() 362 EMIT_TS(svga, unit, state->min_lod, TEXTURE_MIPMAP_LEVEL); in emit_tss_unit()
|
D | svga_pipe_sampler.c | 169 float min_lod, max_lod; in define_sampler_state_object() local 185 assert(ps->min_lod <= ps->max_lod); in define_sampler_state_object() 189 min_lod = max_lod = 0.0f; in define_sampler_state_object() 192 min_lod = ps->min_lod; in define_sampler_state_object() 220 min_lod, /* float */ in define_sampler_state_object() 265 cso->min_lod = 0; in svga_create_sampler_state() 266 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); in svga_create_sampler_state() 272 cso->min_lod = cso->view_min_lod; in svga_create_sampler_state() 285 cso->min_lod, cso->view_min_lod, cso->view_max_lod, in svga_create_sampler_state()
|
D | svga_sampler_view.h | 66 int min_lod; member 80 unsigned min_lod, unsigned max_lod);
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_texture_state.c | 51 unsigned min_lod, max_lod, max_lod_min; member 73 unsigned min_lod, max_lod; /* 5.5 fixp */ member 124 cs->min_lod = etna_float_to_fixp55(ss->min_lod); in etna_create_sampler_state_state() 129 cs->min_lod = cs->max_lod = etna_float_to_fixp55(0.0f); in etna_create_sampler_state_state() 260 sv->min_lod = sv->base.u.tex.first_level << 5; in etna_create_sampler_view_state() 396 unsigned max_lod = MAX2(MIN2(ss->max_lod + sv->min_lod, sv->max_lod), ss->max_lod_min); in etna_emit_new_texture_state() 397 unsigned min_lod = MIN2(MAX2(ss->min_lod + sv->min_lod, sv->min_lod), max_lod); in etna_emit_new_texture_state() local 403 VIVS_TE_SAMPLER_LOD_CONFIG_MIN(min_lod)); in etna_emit_new_texture_state() 528 unsigned max_lod = MAX2(MIN2(ss->max_lod + sv->min_lod, sv->max_lod), ss->max_lod_min); in etna_emit_texture_state() 529 unsigned min_lod = MIN2(MAX2(ss->min_lod + sv->min_lod, sv->min_lod), max_lod); in etna_emit_texture_state() local [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_fragtex.c | 52 unsigned min_lod, max_lod; in nv30_fragtex_validate() local 64 min_lod = sv->base_lod; in nv30_fragtex_validate() 67 min_lod = MIN2(ss->min_lod + sv->base_lod, max_lod); in nv30_fragtex_validate() 87 enable |= (min_lod << 19) | (max_lod << 7); in nv30_fragtex_validate() 123 enable |= (min_lod << 18) | (max_lod << 6); in nv30_fragtex_validate()
|
D | nv30_texture.c | 179 so->min_lod = (int)(CLAMP(cso->min_lod, 0.0, max_lod) * 256.0); in nv30_sampler_state_create()
|
/third_party/mesa3d/src/panfrost/include/ |
D | panfrost-job.h | 251 float min_lod = allow_negative ? -max_lod : 0.0; in FIXED_16() local 253 x = ((x > max_lod) ? max_lod : ((x < min_lod) ? min_lod : x)); in FIXED_16()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_texture.c | 197 desc->min_lod = lima_float_to_fixed8(sampler->base.min_lod); in lima_update_tex_desc() 198 max_lod = MIN2(sampler->base.max_lod, sampler->base.min_lod + in lima_update_tex_desc() 211 desc->max_lod = desc->min_lod; in lima_update_tex_desc() 255 (desc->min_lod != desc->max_lod)) in lima_update_tex_desc()
|
D | lima_texture.h | 58 uint32_t min_lod: 8; /* Fixed point, 4.4, unsigned */ member
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_errata_lod.c | 62 nir_ssa_def *min_lod = nir_channel(b, params, 0); in nir_lod_errata_instr() local 75 nir_fmax(b, biased, min_lod), max_lod); in nir_lod_errata_instr()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | sampler.h | 81 void SetMinLOD(float min_lod) { min_lod_ = min_lod; } in SetMinLOD() argument
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 112 so->texsamp1 |= A3XX_TEX_SAMP_1_MIN_LOD(cso->min_lod) | in fd3_sampler_state_create() 119 so->texsamp1 |= A3XX_TEX_SAMP_1_MIN_LOD(MIN2(cso->min_lod, 0.125f)) | in fd3_sampler_state_create()
|
/third_party/skia/third_party/externals/spirv-cross/shaders/tesc/ |
D | water_tess.tesc | 92 float min_lod = min(min(lods.x, lods.y), min(lods.z, lods.w)); 93 float inner = tess_level(min(min_lod, l11));
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/tesc/ |
D | water_tess.tesc | 92 float min_lod = min(min(lods.x, lods.y), min(lods.z, lods.w)); 93 float inner = tess_level(min(min_lod, l11));
|
D | water_tess.multi-patch.tesc | 92 float min_lod = min(min(lods.x, lods.y), min(lods.z, lods.w)); 93 float inner = tess_level(min(min_lod, l11));
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/tesc/ |
D | water_tess.tesc | 90 float min_lod = min(min(lods.x, lods.y), min(lods.z, lods.w)); 91 float param_10 = min(min_lod, l11);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_texture.c | 110 so->texsamp1 |= A5XX_TEX_SAMP_1_MIN_LOD(cso->min_lod) | in fd5_sampler_state_create() 117 so->texsamp1 |= A5XX_TEX_SAMP_1_MIN_LOD(MIN2(cso->min_lod, 0.125f)) | in fd5_sampler_state_create()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_samplers.h | 44 float min_lod, max_lod; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.c | 110 so->texsamp1 |= A4XX_TEX_SAMP_1_MIN_LOD(cso->min_lod) | in fd4_sampler_state_create() 117 so->texsamp1 |= A4XX_TEX_SAMP_1_MIN_LOD(MIN2(cso->min_lod, 0.125f)) | in fd4_sampler_state_create()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_image.c | 958 unsigned width, unsigned height, unsigned depth, float min_lod, in gfx10_make_texture_descriptor() argument 1002 state[1] = S_00A004_MIN_LOD(radv_float_to_ufixed(CLAMP(min_lod, 0, 15), 8)) | in gfx10_make_texture_descriptor() 1118 unsigned width, unsigned height, unsigned depth, float min_lod, in si_make_texture_descriptor() argument 1182 state[1] = (S_008F14_MIN_LOD(radv_float_to_ufixed(CLAMP(min_lod, 0, 15), 8)) | in si_make_texture_descriptor() 1332 … unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state, in radv_make_texture_descriptor() argument 1338 depth, min_lod, state, fmask_state, img_create_flags); in radv_make_texture_descriptor() 1342 depth, min_lod, state, fmask_state, img_create_flags); in radv_make_texture_descriptor() 1936 float min_lod, in radv_image_view_make_descriptor() argument 1967 iview->extent.depth, min_lod, descriptor->plane_descriptors[descriptor_plane_id], in radv_image_view_make_descriptor() 2063 float min_lod = 0.0f; in radv_image_view_init() local [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/tesc/ |
D | water_tess.multi-patch.tesc | 106 float min_lod = fast::min(fast::min(lods.x, lods.y), fast::min(lods.z, lods.w)); 107 float param_10 = fast::min(min_lod, l11);
|
D | water_tess.tesc | 105 float min_lod = fast::min(fast::min(lods.x, lods.y), fast::min(lods.z, lods.w)); 106 float param_10 = fast::min(min_lod, l11);
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 217 if (sampler->min_lod == sampler->max_lod) { in lp_sampler_static_sampler_state() 220 if (sampler->min_lod > 0.0f) { in lp_sampler_static_sampler_state() 879 LLVMValueRef min_lod = in lp_build_lod_selector() local 880 dynamic_state->min_lod(dynamic_state, bld->gallivm, in lp_build_lod_selector() 883 lod = lp_build_broadcast_scalar(lodf_bld, min_lod); in lp_build_lod_selector() 1000 LLVMValueRef min_lod = in lp_build_lod_selector() local 1001 dynamic_state->min_lod(dynamic_state, bld->gallivm, in lp_build_lod_selector() 1003 min_lod = lp_build_broadcast_scalar(lodf_bld, min_lod); in lp_build_lod_selector() 1005 lod = lp_build_max(lodf_bld, lod, min_lod); in lp_build_lod_selector()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_dirty_surfaces.h | 89 …util_dirty_surfaces_use_levels_for_sampling(pipe, dss, (unsigned)pss->min_lod + psv->u.tex.first_l… in util_dirty_surfaces_use_for_sampling_with()
|