Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c250 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
281 mip_offsets[j] = lp_tex->mip_offsets[j]; in prepare_shader_sampling()
291 mip_offsets[j] += view->u.tex.first_layer * in prepare_shader_sampling()
306 mip_offsets[0] = 0; in prepare_shader_sampling()
327 mip_offsets[0] = 0; in prepare_shader_sampling()
336 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
Dlp_tex_sample.c157 LP_LLVM_TEXTURE_MEMBER(mip_offsets, LP_JIT_TEXTURE_MIP_OFFSETS, FALSE) in LP_LLVM_TEXTURE_MEMBER()
312 sampler->dynamic_state.base.mip_offsets = lp_llvm_texture_mip_offsets; in lp_llvm_sampler_soa_create()
Dlp_setup.c843 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
856 jit_tex->mip_offsets[j] = lp_tex->mip_offsets[j]; in lp_setup_set_fragment_sampler_views()
873 jit_tex->mip_offsets[j] += view->u.tex.first_layer * in lp_setup_set_fragment_sampler_views()
891 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
914 jit_tex->mip_offsets[0] = 0; in lp_setup_set_fragment_sampler_views()
Dlp_texture.h68 unsigned mip_offsets[LP_MAX_TEXTURE_LEVELS]; member
Dlp_jit.h61 uint32_t mip_offsets[LP_MAX_TEXTURE_LEVELS]; member
Dlp_jit.c113 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, mip_offsets, in lp_jit_create_types()
Dlp_texture.c156 lpr->mip_offsets[level] = total_size; in llvmpipe_texture_layout()
738 offset = lpr->mip_offsets[level]; in llvmpipe_get_texture_image_address()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c177 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
213 mip_offsets[j] = sp_tex->level_offset[j]; in prepare_shader_sampling()
223 mip_offsets[j] += view->u.tex.first_layer * in prepare_shader_sampling()
238 mip_offsets[0] = 0; in prepare_shader_sampling()
259 mip_offsets[0] = 0; in prepare_shader_sampling()
268 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c197 DRAW_LLVM_TEXTURE_MEMBER(mip_offsets, DRAW_JIT_TEXTURE_MIP_OFFSETS, FALSE) in DRAW_LLVM_TEXTURE_MEMBER()
286 sampler->dynamic_state.base.mip_offsets = draw_llvm_texture_mip_offsets; in draw_llvm_sampler_soa_create()
Ddraw_llvm.h57 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; member
522 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]);
Ddraw_context.h188 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]);
Ddraw_context.c1021 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) in draw_set_mapped_texture()
1030 row_stride, img_stride, mip_offsets); in draw_set_mapped_texture()
Ddraw_llvm.c163 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, mip_offsets, in create_jit_texture_type()
2078 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) in draw_llvm_set_mapped_texture()
2107 jit_tex->mip_offsets[j] = mip_offsets[j]; in draw_llvm_set_mapped_texture()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp182 SWR_TEXTURE_MEMBER(mip_offsets, FALSE) in SWR_TEXTURE_MEMBER()
341 sampler->dynamic_state.base.mip_offsets = swr_texture_mip_offsets; in swr_sampler_soa_create()
Dswr_resource.h49 size_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; member
Dswr_context.cpp151 spr->mip_offsets[level]; in swr_transfer_map()
176 return spr->swr.pBaseAddress + offset + spr->mip_offsets[level]; in swr_transfer_map()
198 spr->mip_offsets[transfer->level]; in swr_transfer_flush_region()
Dswr_context.h73 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS];
Dswr_state.cpp723 size_t *mip_offsets = swr_res->mip_offsets; in swr_update_texture_state() local
727 mip_offsets = swr_res->secondary_mip_offsets; in swr_update_texture_state()
755 jit_tex->mip_offsets[level] = mip_offsets[level]; in swr_update_texture_state()
Dswr_screen.cpp780 res->mip_offsets[level] = in swr_texture_layout()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h250 (*mip_offsets)(const struct lp_sampler_dynamic_state *state, member
383 LLVMValueRef mip_offsets; member
Dlp_bld_sample.c1029 mip_offset = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mipmap_level()
1049 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1061 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1076 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
Dlp_bld_sample_soa.c2728 bld.mip_offsets = dynamic_state->mip_offsets(dynamic_state, gallivm, in lp_build_sample_soa_code()
2912 bld4.mip_offsets = bld.mip_offsets; in lp_build_sample_soa_code()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c396 uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; in i915_prepare_vertex_sampling() local
425 mip_offsets[j] = i915_texture_offset(i915_tex, j , 0 /* FIXME depth */); in i915_prepare_vertex_sampling()
436 row_stride, img_stride, mip_offsets); in i915_prepare_vertex_sampling()