Home
last modified time | relevance | path

Searched refs:mip_offsets (Results 1 – 23 of 23) 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.c284 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
319 mip_offsets[j] = lp_tex->mip_offsets[j]; in prepare_shader_sampling()
329 mip_offsets[j] += view->u.tex.first_layer * in prepare_shader_sampling()
344 mip_offsets[0] = 0; in prepare_shader_sampling()
359 mip_offsets[0] = 0; in prepare_shader_sampling()
369 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
490 uint32_t mip_offset = lp_img->mip_offsets[view->u.tex.level]; in prepare_shader_images()
Dlp_setup.c734 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_setup_set_fs_images()
1011 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
1028 jit_tex->mip_offsets[j] = lp_tex->mip_offsets[j]; in lp_setup_set_fragment_sampler_views()
1047 jit_tex->mip_offsets[j] += view->u.tex.first_layer * in lp_setup_set_fragment_sampler_views()
1065 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
1082 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
Dlp_texture.h72 uint64_t mip_offsets[LP_MAX_TEXTURE_LEVELS]; member
Dlp_state_cs.c962 jit_tex->mip_offsets[0] = 0; in lp_csctx_set_sampler_views()
979 jit_tex->mip_offsets[j] = lp_tex->mip_offsets[j]; in lp_csctx_set_sampler_views()
997 jit_tex->mip_offsets[j] += view->u.tex.first_layer * in lp_csctx_set_sampler_views()
1015 jit_tex->mip_offsets[0] = 0; in lp_csctx_set_sampler_views()
1032 jit_tex->mip_offsets[0] = 0; in lp_csctx_set_sampler_views()
1152 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_csctx_set_cs_images()
Dlp_tex_sample.c184 LP_LLVM_TEXTURE_MEMBER(mip_offsets, LP_JIT_TEXTURE_MIP_OFFSETS, FALSE) in LP_LLVM_TEXTURE_MEMBER()
443 sampler->dynamic_state.base.mip_offsets = lp_llvm_texture_mip_offsets; in lp_llvm_sampler_soa_create()
Dlp_texture.c152 lpr->mip_offsets[level] = total_size; in llvmpipe_texture_layout()
915 offset = lpr->mip_offsets[level]; in llvmpipe_get_texture_image_address()
1074 *value = lpr->mip_offsets[level] + (lpr->img_stride[level] * layer); in llvmpipe_resource_get_param()
Dlp_jit.h62 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/drivers/swr/
Dswr_tex_sample.cpp195 SWR_TEXTURE_MEMBER(mip_offsets, FALSE) in SWR_TEXTURE_MEMBER()
363 sampler->dynamic_state.base.mip_offsets = swr_texture_mip_offsets; in swr_sampler_soa_create()
Dswr_resource.h54 size_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; member
Dswr_context.cpp150 spr->mip_offsets[level]; in swr_transfer_map()
175 return (void*)(spr->swr.xpBaseAddress + offset + spr->mip_offsets[level]); in swr_transfer_map()
197 spr->mip_offsets[transfer->level]; in swr_transfer_flush_region()
Dswr_context.h84 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS];
Dswr_state.cpp896 size_t *mip_offsets = swr_res->mip_offsets; in swr_update_texture_state() local
900 mip_offsets = swr_res->secondary_mip_offsets; in swr_update_texture_state()
930 jit_tex->mip_offsets[level] = mip_offsets[level]; in swr_update_texture_state()
Dswr_screen.cpp795 res->mip_offsets[level] = in swr_texture_layout()
/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_llvm.h60 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; member
945 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]);
Ddraw_context.h209 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]);
Ddraw_context.c1175 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) in draw_set_mapped_texture()
1184 row_stride, img_stride, mip_offsets); in draw_set_mapped_texture()
Ddraw_llvm.c194 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, mip_offsets, in create_jit_texture_type()
2516 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) in draw_llvm_set_mapped_texture()
2553 jit_tex->mip_offsets[j] = mip_offsets[j]; in draw_llvm_set_mapped_texture()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h282 (*mip_offsets)(const struct lp_sampler_dynamic_state *state, member
442 LLVMValueRef mip_offsets; member
Dlp_bld_sample.c1176 mip_offset = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mipmap_level()
1196 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1208 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1223 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
Dlp_bld_sample_soa.c3537 bld.mip_offsets = dynamic_state->mip_offsets(dynamic_state, gallivm, in lp_build_sample_soa_code()
3744 bld4.mip_offsets = bld.mip_offsets; in lp_build_sample_soa_code()