Home
last modified time | relevance | path

Searched refs:mip_offsets (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c192 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
228 mip_offsets[j] = sp_tex->level_offset[j]; in prepare_shader_sampling()
238 mip_offsets[j] += view->u.tex.first_layer * in prepare_shader_sampling()
253 mip_offsets[0] = 0; in prepare_shader_sampling()
271 mip_offsets[0] = 0; in prepare_shader_sampling()
280 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c285 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
320 mip_offsets[j] = lp_tex->mip_offsets[j]; in prepare_shader_sampling()
330 mip_offsets[j] += view->u.tex.first_layer * in prepare_shader_sampling()
345 mip_offsets[0] = 0; in prepare_shader_sampling()
360 mip_offsets[0] = 0; in prepare_shader_sampling()
370 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
491 uint32_t mip_offset = lp_img->mip_offsets[view->u.tex.level]; in prepare_shader_images()
Dlp_setup.c717 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_setup_set_fs_images()
988 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
1005 jit_tex->mip_offsets[j] = lp_tex->mip_offsets[j]; in lp_setup_set_fragment_sampler_views()
1026 jit_tex->mip_offsets[j] += view->u.tex.first_layer * in lp_setup_set_fragment_sampler_views()
1048 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
1065 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
Dlp_texture.h75 uint64_t mip_offsets[LP_MAX_TEXTURE_LEVELS]; member
Dlp_state_cs.c986 jit_tex->mip_offsets[0] = 0; in lp_csctx_set_sampler_views()
1003 jit_tex->mip_offsets[j] = lp_tex->mip_offsets[j]; in lp_csctx_set_sampler_views()
1022 jit_tex->mip_offsets[j] += view->u.tex.first_layer * in lp_csctx_set_sampler_views()
1043 jit_tex->mip_offsets[0] = 0; in lp_csctx_set_sampler_views()
1060 jit_tex->mip_offsets[0] = 0; in lp_csctx_set_sampler_views()
1180 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_csctx_set_cs_images()
Dlp_tex_sample.c189 LP_LLVM_TEXTURE_MEMBER(mip_offsets, LP_JIT_TEXTURE_MIP_OFFSETS, FALSE) in LP_LLVM_TEXTURE_MEMBER()
444 sampler->dynamic_state.base.mip_offsets = lp_llvm_texture_mip_offsets; in lp_llvm_sampler_soa_create()
Dlp_texture.c151 lpr->mip_offsets[level] = total_size; in llvmpipe_texture_layout()
919 offset = lpr->mip_offsets[level]; in llvmpipe_get_texture_image_address()
1084 *value = lpr->mip_offsets[level] + (lpr->img_stride[level] * layer); in llvmpipe_resource_get_param()
Dlp_jit.h63 uint32_t mip_offsets[LP_MAX_TEXTURE_LEVELS]; member
Dlp_jit.c93 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, mip_offsets, in create_jit_texture_type()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c272 DRAW_LLVM_TEXTURE_MEMBER(mip_offsets, DRAW_JIT_TEXTURE_MIP_OFFSETS, FALSE) in DRAW_LLVM_TEXTURE_MEMBER()
402 sampler->dynamic_state.base.mip_offsets = draw_llvm_texture_mip_offsets; in draw_llvm_sampler_soa_create()
Ddraw_context.h211 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]);
Ddraw_llvm.h60 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; member
973 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]);
Ddraw_context.c1173 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) in draw_set_mapped_texture()
1182 row_stride, img_stride, mip_offsets); in draw_set_mapped_texture()
Ddraw_llvm.c193 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, mip_offsets, in create_jit_texture_type()
2500 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) in draw_llvm_set_mapped_texture()
2537 jit_tex->mip_offsets[j] = mip_offsets[j]; in draw_llvm_set_mapped_texture()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h287 (*mip_offsets)(const struct lp_sampler_dynamic_state *state, member
447 LLVMValueRef mip_offsets; member
Dlp_bld_sample.c1189 LLVMValueRef mip_offset = load_mip(bld->gallivm, bld->mip_offsets, level); in lp_build_get_mipmap_level()
1207 offset1 = load_mip(bld->gallivm, bld->mip_offsets, level); in lp_build_get_mip_offsets()
1216 …offset1 = load_mip(bld->gallivm, bld->mip_offsets, LLVMBuildExtractElement(builder, level, indexi,… in lp_build_get_mip_offsets()
1230 …offset1 = load_mip(bld->gallivm, bld->mip_offsets, LLVMBuildExtractElement(builder, level, indexi,… in lp_build_get_mip_offsets()
Dlp_bld_sample_soa.c3570 bld.mip_offsets = dynamic_state->mip_offsets(dynamic_state, gallivm, in lp_build_sample_soa_code()
3772 bld4.mip_offsets = bld.mip_offsets; in lp_build_sample_soa_code()