/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() 72 assert(max_lod <= pt->last_level); in svga_get_tex_sampler_view() 82 if (min_lod == 0 && max_lod >= pt->last_level) in svga_get_tex_sampler_view() 97 tex->cached_view->max_lod == max_lod) { in svga_get_tex_sampler_view() 101 pt, min_lod, max_lod, pt->last_level); in svga_get_tex_sampler_view() 120 sv->max_lod = max_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() [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() 97 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, last_level); in emit_tex_binding_unit() 103 max_lod = 0; in emit_tex_binding_unit() 108 view->max_lod != max_lod) { in emit_tex_binding_unit() 115 view->max_lod = max_lod; in emit_tex_binding_unit() 121 max_lod); in emit_tex_binding_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() 193 max_lod = ps->max_lod; in define_sampler_state_object() 221 max_lod)); /* float */ in define_sampler_state_object() 267 cso->view_max_lod = MAX2((int) (sampler->max_lod + 0.5), 0); in svga_create_sampler_state()
|
D | svga_sampler_view.h | 67 int max_lod; member 80 unsigned min_lod, unsigned max_lod);
|
/third_party/mesa3d/src/panfrost/include/ |
D | panfrost-job.h | 250 float max_lod = (32.0 - (1.0 / 512.0)); in FIXED_16() local 251 float min_lod = allow_negative ? -max_lod : 0.0; in FIXED_16() 253 x = ((x > max_lod) ? max_lod : ((x < min_lod) ? min_lod : x)); in FIXED_16()
|
/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 125 cs->max_lod = etna_float_to_fixp55(ss->max_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() 251 sv->max_lod = MIN2(sv->base.u.tex.last_level, res->base.last_level) << 5; in etna_create_sampler_view_state() 386 unsigned max_lod = MAX2(MIN2(ss->max_lod + sv->min_lod, sv->max_lod), ss->max_lod_min); in etna_emit_new_texture_state() local 387 unsigned min_lod = MIN2(MAX2(ss->min_lod + sv->min_lod, sv->min_lod), max_lod); in etna_emit_new_texture_state() 392 VIVS_TE_SAMPLER_LOD_CONFIG_MAX(max_lod) | in etna_emit_new_texture_state() 518 unsigned max_lod = MAX2(MIN2(ss->max_lod + sv->min_lod, sv->max_lod), ss->max_lod_min); in etna_emit_texture_state() local 519 unsigned min_lod = MIN2(MAX2(ss->min_lod + sv->min_lod, sv->min_lod), max_lod); in etna_emit_texture_state() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_fragtex.c | 52 unsigned min_lod, max_lod; in nv30_fragtex_validate() local 63 max_lod = sv->base_lod; in nv30_fragtex_validate() 66 max_lod = MIN2(ss->max_lod + sv->base_lod, sv->high_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 | 133 const float max_lod = 15.0 + (255.0 / 256.0); in nv30_sampler_state_create() local 178 so->max_lod = (int)(CLAMP(cso->max_lod, 0.0, max_lod) * 256.0); in nv30_sampler_state_create() 179 so->min_lod = (int)(CLAMP(cso->min_lod, 0.0, max_lod) * 256.0); in nv30_sampler_state_create()
|
D | nv30_state.h | 48 unsigned max_lod; member
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_texture.c | 126 float max_lod; in lima_update_tex_desc() local 152 max_lod = MIN2(sampler->base.max_lod, sampler->base.min_lod + in lima_update_tex_desc() 154 desc->max_lod = lima_float_to_fixed8(max_lod); in lima_update_tex_desc() 165 desc->max_lod = desc->min_lod; in lima_update_tex_desc() 229 (desc->min_lod != desc->max_lod)) in lima_update_tex_desc()
|
D | lima_texture.h | 48 uint32_t max_lod: 8; /* Fixed point, 4.4, unsigned */ member
|
D | lima_parser.c | 740 …intf(fp, "\t max_lod: 0x%x (%d) (%f)\n", desc->max_lod, desc->max_lod, lima_fixed8_to_float(desc->… in parse_texture() 776 int miplevels = (int)lima_fixed8_to_float(desc->max_lod); in parse_texture()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 291 unsigned max_lod = num_levels * 4; in update_map() local 303 max_lod = 1; in update_map() 328 if (max_lod > (sampler->maxlod >> 2)) in update_map() 329 max_lod = sampler->maxlod >> 2; in update_map() 333 ((max_lod) << MS4_MAX_LOD_SHIFT) | in update_map()
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/master/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.6.x/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/ |
D | gles3-hw-issues.txt | 12 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_nearest 13 dEQP-GLES3.functional.texture.mipmap.cube.max_lod.linear_linear
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_errata_lod.c | 63 nir_ssa_def *max_lod = nir_channel(b, params, 1); 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/openglcts/modules/gles31/ |
D | es31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp | 1029 const int max_lod = in iterate() local 1068 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_RED_TYPE, &red_type); in iterate() 1069 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_RED_SIZE, &red_size); in iterate() 1070 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_INTERNAL_FORMAT, in iterate() 1072 gl.getTexLevelParameteriv(texture_target, max_lod, GL_TEXTURE_SAMPLES, &texture_samples); in iterate() 1081 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_TYPE, &float_value); in iterate() 1084 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_RED_SIZE, &float_value); in iterate() 1087 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_INTERNAL_FORMAT, &float_value); in iterate() 1090 gl.getTexLevelParameterfv(texture_target, max_lod, GL_TEXTURE_SAMPLES, &float_value); in iterate()
|
/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/a3xx/ |
D | fd3_texture.c | 113 A3XX_TEX_SAMP_1_MAX_LOD(cso->max_lod); in fd3_sampler_state_create() 120 A3XX_TEX_SAMP_1_MAX_LOD(MIN2(cso->max_lod, 0.125)); in fd3_sampler_state_create()
|
/third_party/mesa3d/src/gallium/drivers/swr/ |
D | swr_tex_sample.cpp | 282 SWR_SAMPLER_MEMBER(max_lod, TRUE) in SWR_SAMPLER_MEMBER() 367 sampler->dynamic_state.base.max_lod = swr_sampler_max_lod; in swr_sampler_soa_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_texture.c | 111 A5XX_TEX_SAMP_1_MAX_LOD(cso->max_lod); in fd5_sampler_state_create() 118 A5XX_TEX_SAMP_1_MAX_LOD(MIN2(cso->max_lod, 0.125)); in fd5_sampler_state_create()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_dirty_surfaces.h | 90 MIN2((unsigned)ceilf(pss->max_lod) + psv->u.tex.first_level, psv->u.tex.last_level), flush); in util_dirty_surfaces_use_for_sampling_with()
|