Home
last modified time | relevance | path

Searched refs:lp_res (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c1161 struct llvmpipe_resource *lp_res = llvmpipe_resource(res); in lp_csctx_set_cs_images() local
1165 if (!lp_res) in lp_csctx_set_cs_images()
1167 if (!lp_res->dt) { in lp_csctx_set_cs_images()
1170 jit_image->base = lp_res->tex_data; in lp_csctx_set_cs_images()
1172 jit_image->base = lp_res->data; in lp_csctx_set_cs_images()
1180 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_csctx_set_cs_images()
1201 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
1205 jit_image->row_stride = lp_res->row_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()
1207 jit_image->sample_stride = lp_res->sample_stride; in lp_csctx_set_cs_images()
[all …]
Dlp_setup.c697 struct llvmpipe_resource *lp_res = llvmpipe_resource(res); in lp_setup_set_fs_images() local
700 if (!lp_res) in lp_setup_set_fs_images()
703 if (!lp_res->dt) { in lp_setup_set_fs_images()
706 jit_image->base = lp_res->tex_data; in lp_setup_set_fs_images()
708 jit_image->base = lp_res->data; in lp_setup_set_fs_images()
717 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_setup_set_fs_images()
738 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_setup_set_fs_images()
742 jit_image->row_stride = lp_res->row_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()
744 jit_image->sample_stride = lp_res->sample_stride; in lp_setup_set_fs_images()