Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c284 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
322 img_stride[j] = lp_tex->img_stride[j]; in prepare_shader_sampling()
331 lp_tex->img_stride[j]; in prepare_shader_sampling()
347 img_stride[0] = 0; in prepare_shader_sampling()
359 img_stride[0] = lp_tex->img_stride[0]; in prepare_shader_sampling()
370 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
456 uint32_t img_stride; in prepare_shader_images() local
501 mip_offset += view->u.tex.first_layer * lp_img->img_stride[view->u.tex.level]; in prepare_shader_images()
505 img_stride = lp_img->img_stride[view->u.tex.level]; in prepare_shader_images()
514 img_stride = 0; in prepare_shader_images()
[all …]
Dlp_texture.h73 uint64_t img_stride[LP_MAX_TEXTURE_LEVELS]; member
207 return lpr->img_stride[level]; in llvmpipe_layer_stride()
Dlp_tex_sample.c188 LP_LLVM_TEXTURE_MEMBER(img_stride, LP_JIT_TEXTURE_IMG_STRIDE, FALSE) in LP_LLVM_TEXTURE_MEMBER()
330 LP_LLVM_IMAGE_MEMBER(img_stride, LP_JIT_IMAGE_IMG_STRIDE, TRUE) in LP_LLVM_IMAGE_MEMBER()
443 sampler->dynamic_state.base.img_stride = lp_llvm_texture_img_stride; in lp_llvm_sampler_soa_create()
542 image->dynamic_state.base.img_stride = lp_llvm_image_img_stride; in lp_llvm_image_soa_create()
Dlp_texture.c133 lpr->img_stride[level] = (uint64_t)lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout()
150 mipsize = lpr->img_stride[level] * num_slices; in llvmpipe_texture_layout()
734 pt->layer_stride = lpr->img_stride[level]; in llvmpipe_transfer_map_ms()
903 return lpr->img_stride[level]; in tex_image_face_size()
1084 *value = lpr->mip_offsets[level] + (lpr->img_stride[level] * layer); in llvmpipe_resource_get_param()
1087 *value = lpr->img_stride[level]; in llvmpipe_resource_get_param()
Dlp_setup.c738 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_setup_set_fs_images()
743 jit_image->img_stride = lp_res->img_stride[image->u.tex.level]; in lp_setup_set_fs_images()
990 jit_tex->img_stride[0] = 0; in lp_setup_set_fragment_sampler_views()
1007 jit_tex->img_stride[j] = lp_tex->img_stride[j]; in lp_setup_set_fragment_sampler_views()
1027 lp_tex->img_stride[j]; in lp_setup_set_fragment_sampler_views()
1050 jit_tex->img_stride[0] = 0; in lp_setup_set_fragment_sampler_views()
1064 jit_tex->img_stride[0] = lp_tex->img_stride[0]; in lp_setup_set_fragment_sampler_views()
Dlp_state_cs.c988 jit_tex->img_stride[0] = 0; in lp_csctx_set_sampler_views()
1005 jit_tex->img_stride[j] = lp_tex->img_stride[j]; in lp_csctx_set_sampler_views()
1023 lp_tex->img_stride[j]; in lp_csctx_set_sampler_views()
1045 jit_tex->img_stride[0] = 0; in lp_csctx_set_sampler_views()
1059 jit_tex->img_stride[0] = lp_tex->img_stride[0]; in lp_csctx_set_sampler_views()
1201 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
1206 jit_image->img_stride = lp_res->img_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
Dlp_jit.h60 uint32_t img_stride[LP_MAX_TEXTURE_LEVELS]; member
93 uint32_t img_stride; member
Dlp_jit.c84 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, img_stride, in create_jit_texture_type()
175 LP_CHECK_MEMBER_OFFSET(struct lp_jit_image, img_stride, in create_jit_image_type()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c191 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
230 img_stride[j] = sp_tex->img_stride[j]; in prepare_shader_sampling()
239 sp_tex->img_stride[j]; in prepare_shader_sampling()
255 img_stride[0] = 0; in prepare_shader_sampling()
270 img_stride[0] = sp_tex->img_stride[0]; in prepare_shader_sampling()
280 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
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c330 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; in st_feedback_draw_vbo() local
354 img_stride[j] = sv_transfer[i][j]->layer_stride; in st_feedback_draw_vbo()
375 img_stride[0] = 0; in st_feedback_draw_vbo()
388 img_stride, mip_offset); in st_feedback_draw_vbo()
405 unsigned width, height, num_layers, row_stride, img_stride; in st_feedback_draw_vbo() local
419 img_stride = img_transfer[i]->layer_stride; in st_feedback_draw_vbo()
425 img_stride = 0; in st_feedback_draw_vbo()
434 num_layers, addr, row_stride, img_stride, 0, 0); in st_feedback_draw_vbo()
Dst_pbo_compute.c948 unsigned img_stride = src->target == PIPE_TEXTURE_3D || in download_texture_compute() local
954 unsigned buffer_size = (depth + (dim == 3 ? pack->SkipImages : 0)) * img_stride; in download_texture_compute()
/third_party/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()
312 DRAW_LLVM_IMAGE_MEMBER(img_stride, DRAW_JIT_IMAGE_IMG_STRIDE, TRUE)
400 sampler->dynamic_state.base.img_stride = draw_llvm_texture_img_stride; in draw_llvm_sampler_soa_create()
488 image->dynamic_state.base.img_stride = draw_llvm_image_img_stride; in draw_llvm_image_soa_create()
Ddraw_context.h210 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS],
220 uint32_t img_stride,
Ddraw_llvm.h57 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS]; member
100 uint32_t img_stride; member
972 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS],
982 uint32_t img_stride,
Ddraw_context.c1172 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS], in draw_set_mapped_texture()
1182 row_stride, img_stride, mip_offsets); in draw_set_mapped_texture()
1193 uint32_t img_stride, in draw_set_mapped_image() argument
1204 row_stride, img_stride, in draw_set_mapped_image()
Ddraw_llvm.c184 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, img_stride, in create_jit_texture_type()
291 LP_CHECK_MEMBER_OFFSET(struct draw_jit_image, img_stride, in create_jit_image_type()
2499 uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS], in draw_llvm_set_mapped_texture()
2539 jit_tex->img_stride[j] = img_stride[j]; in draw_llvm_set_mapped_texture()
2550 uint32_t img_stride, in draw_llvm_set_mapped_image() argument
2584 jit_image->img_stride = img_stride; in draw_llvm_set_mapped_image()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h273 (*img_stride)(const struct lp_sampler_dynamic_state *state, member
Dlp_bld_sample_soa.c3566 bld.img_stride_array = dynamic_state->img_stride(dynamic_state, gallivm, in lp_build_sample_soa_code()
4700 LLVMValueRef img_stride = dynamic_state->img_stride(dynamic_state, gallivm, in lp_build_img_op_soa() local
4734 img_stride_vec = lp_build_broadcast_scalar(&int_coord_bld, img_stride); in lp_build_img_op_soa()