Home
last modified time | relevance | path

Searched refs:img_stride (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c265 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
303 img_stride[j] = lp_tex->img_stride[j]; in prepare_shader_sampling()
312 lp_tex->img_stride[j]; in prepare_shader_sampling()
328 img_stride[0] = 0; in prepare_shader_sampling()
346 img_stride[0] = lp_tex->img_stride[0]; in prepare_shader_sampling()
357 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
418 uint32_t img_stride; in prepare_shader_images() local
455 mip_offset += view->u.tex.first_layer * lp_img->img_stride[view->u.tex.level]; in prepare_shader_images()
459 img_stride = lp_img->img_stride[view->u.tex.level]; in prepare_shader_images()
468 img_stride = 0; in prepare_shader_images()
[all …]
Dlp_texture.h66 unsigned img_stride[LP_MAX_TEXTURE_LEVELS]; member
189 return lpr->img_stride[level]; in llvmpipe_layer_stride()
Dlp_tex_sample.c183 LP_LLVM_TEXTURE_MEMBER(img_stride, LP_JIT_TEXTURE_IMG_STRIDE, FALSE) in LP_LLVM_TEXTURE_MEMBER()
332 LP_LLVM_IMAGE_MEMBER(img_stride, LP_JIT_IMAGE_IMG_STRIDE, TRUE) in LP_LLVM_IMAGE_MEMBER()
441 sampler->dynamic_state.base.img_stride = lp_llvm_texture_img_stride; in lp_llvm_sampler_soa_create()
535 image->dynamic_state.base.img_stride = lp_llvm_image_img_stride; in lp_llvm_image_soa_create()
Dlp_texture.c134 lpr->img_stride[level] = lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout()
152 mipsize = (uint64_t)lpr->img_stride[level] * num_slices; in llvmpipe_texture_layout()
607 pt->layer_stride = lpr->img_stride[level]; in llvmpipe_transfer_map_ms()
775 return lpr->img_stride[level]; in tex_image_face_size()
920 *value = lpr->mip_offsets[level] + (lpr->img_stride[level] * layer); in llvmpipe_resource_get_param()
923 *value = lpr->img_stride[level]; in llvmpipe_resource_get_param()
Dlp_setup.c725 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_setup_set_fs_images()
730 jit_image->img_stride = lp_res->img_stride[image->u.tex.level]; in lp_setup_set_fs_images()
937 jit_tex->img_stride[0] = 0; in lp_setup_set_fragment_sampler_views()
954 jit_tex->img_stride[j] = lp_tex->img_stride[j]; in lp_setup_set_fragment_sampler_views()
972 lp_tex->img_stride[j]; in lp_setup_set_fragment_sampler_views()
991 jit_tex->img_stride[0] = 0; in lp_setup_set_fragment_sampler_views()
1011 jit_tex->img_stride[0] = lp_tex->img_stride[0]; in lp_setup_set_fragment_sampler_views()
Dlp_state_cs.c926 jit_tex->img_stride[0] = 0; in lp_csctx_set_sampler_views()
943 jit_tex->img_stride[j] = lp_tex->img_stride[j]; in lp_csctx_set_sampler_views()
960 lp_tex->img_stride[j]; in lp_csctx_set_sampler_views()
979 jit_tex->img_stride[0] = 0; in lp_csctx_set_sampler_views()
999 jit_tex->img_stride[0] = lp_tex->img_stride[0]; in lp_csctx_set_sampler_views()
1136 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
1141 jit_image->img_stride = lp_res->img_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
Dlp_jit.h59 uint32_t img_stride[LP_MAX_TEXTURE_LEVELS]; member
91 uint32_t img_stride; member
Dlp_jit.c83 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, img_stride, in create_jit_texture_type()
170 LP_CHECK_MEMBER_OFFSET(struct lp_jit_image, img_stride, in create_jit_image_type()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c177 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
216 img_stride[j] = sp_tex->img_stride[j]; in prepare_shader_sampling()
225 sp_tex->img_stride[j]; in prepare_shader_sampling()
241 img_stride[0] = 0; in prepare_shader_sampling()
259 img_stride[0] = sp_tex->img_stride[0]; in prepare_shader_sampling()
269 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
Dsp_texture.c89 spr->img_stride[level] = spr->stride[level] * nblocksy; in softpipe_resource_layout()
91 buffer_size += (uint64_t) spr->img_stride[level] * slices; in softpipe_resource_layout()
281 offset += layer * spr->img_stride[level]; in softpipe_get_tex_image_offset()
425 pt->layer_stride = spr->img_stride[level]; in softpipe_transfer_map()
Dsp_texture.h50 unsigned img_stride[SP_MAX_TEXTURE_2D_LEVELS]; member
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c316 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; in st_feedback_draw_vbo() local
340 img_stride[j] = sv_transfer[i][j]->layer_stride; in st_feedback_draw_vbo()
361 img_stride[0] = 0; in st_feedback_draw_vbo()
374 img_stride, mip_offset); in st_feedback_draw_vbo()
391 unsigned width, height, num_layers, row_stride, img_stride; in st_feedback_draw_vbo() local
405 img_stride = img_transfer[i]->layer_stride; in st_feedback_draw_vbo()
411 img_stride = 0; in st_feedback_draw_vbo()
420 num_layers, addr, row_stride, img_stride, 0, 0); in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c271 DRAW_LLVM_TEXTURE_MEMBER(img_stride, DRAW_JIT_TEXTURE_IMG_STRIDE, FALSE) in DRAW_LLVM_TEXTURE_MEMBER()
311 DRAW_LLVM_IMAGE_MEMBER(img_stride, DRAW_JIT_IMAGE_IMG_STRIDE, TRUE)
399 sampler->dynamic_state.base.img_stride = draw_llvm_texture_img_stride; in draw_llvm_sampler_soa_create()
486 image->dynamic_state.base.img_stride = draw_llvm_image_img_stride; in draw_llvm_image_soa_create()
Ddraw_llvm.h57 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; member
99 uint32_t img_stride; member
914 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS],
924 uint32_t img_stride,
Ddraw_context.h208 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS],
218 uint32_t img_stride,
Ddraw_context.c1178 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS], in draw_set_mapped_texture()
1188 row_stride, img_stride, mip_offsets); in draw_set_mapped_texture()
1199 uint32_t img_stride, in draw_set_mapped_image() argument
1210 row_stride, img_stride, in draw_set_mapped_image()
Ddraw_llvm.c185 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, img_stride, in create_jit_texture_type()
288 LP_CHECK_MEMBER_OFFSET(struct draw_jit_image, img_stride, in create_jit_image_type()
2481 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS], in draw_llvm_set_mapped_texture()
2521 jit_tex->img_stride[j] = img_stride[j]; in draw_llvm_set_mapped_texture()
2532 uint32_t img_stride, in draw_llvm_set_mapped_image() argument
2566 jit_image->img_stride = img_stride; in draw_llvm_set_mapped_image()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp194 SWR_TEXTURE_MEMBER(img_stride, FALSE) in SWR_TEXTURE_MEMBER()
362 sampler->dynamic_state.base.img_stride = swr_texture_img_stride; in swr_sampler_soa_create()
Dswr_context.h83 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS];
Dswr_state.cpp913 jit_tex->img_stride[level] = swr->qpitch * swr->pitch; in swr_update_texture_state()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c395 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; in i915_prepare_vertex_sampling() local
427 img_stride[j] = 0; /* FIXME */ in i915_prepare_vertex_sampling()
436 row_stride, img_stride, mip_offsets); in i915_prepare_vertex_sampling()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h269 (*img_stride)(const struct lp_sampler_dynamic_state *state, member
Dlp_bld_sample_soa.c3075 bld.img_stride_array = dynamic_state->img_stride(dynamic_state, gallivm, in lp_build_sample_soa_code()
4164 LLVMValueRef img_stride = dynamic_state->img_stride(dynamic_state, gallivm, in lp_build_img_op_soa() local
4191 img_stride_vec = lp_build_broadcast_scalar(&int_coord_bld, img_stride); in lp_build_img_op_soa()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c1570 … unsigned img_stride = util_format_get_2d_size(dst_format, buffer_row_len, buffer_image_height); in handle_copy_image_to_buffer() local
1573 buffer_row_len, img_stride, in handle_copy_image_to_buffer()
1581 buffer_row_len, img_stride, in handle_copy_image_to_buffer()
1651 … unsigned img_stride = util_format_get_2d_size(src_format, buffer_row_len, buffer_image_height); in handle_copy_buffer_to_image() local
1660 buffer_row_len, img_stride, 0, 0, 0); in handle_copy_buffer_to_image()
1669 buffer_row_len, img_stride, 0, 0, 0); in handle_copy_buffer_to_image()