Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c283 unsigned sample_stride = 0; in prepare_shader_sampling() local
298 sample_stride = lp_tex->sample_stride; in prepare_shader_sampling()
355 num_samples, sample_stride, in prepare_shader_sampling()
419 uint32_t sample_stride; in prepare_shader_images() local
460 sample_stride = lp_img->sample_stride; in prepare_shader_images()
469 sample_stride = 0; in prepare_shader_images()
488 sample_stride = 0; in prepare_shader_images()
497 num_samples, sample_stride); in prepare_shader_images()
Dlp_rast.c160 void *map = (char *)scene->cbufs[cbuf].map + scene->cbufs[cbuf].sample_stride * s; in lp_rast_clear_color()
211 uint8_t *dst_layer = task->depth_tile + (s * scene->zsbuf.sample_stride); in lp_rast_clear_zstencil()
335 unsigned sample_stride[PIPE_MAX_COLOR_BUFS]; in lp_rast_shade_tile() local
345 sample_stride[i] = scene->cbufs[i].sample_stride; in lp_rast_shade_tile()
351 sample_stride[i] = 0; in lp_rast_shade_tile()
361 depth_sample_stride = scene->zsbuf.sample_stride; in lp_rast_shade_tile()
385 sample_stride, in lp_rast_shade_tile()
430 unsigned sample_stride[PIPE_MAX_COLOR_BUFS]; in lp_rast_shade_quads_mask_sample() local
451 sample_stride[i] = scene->cbufs[i].sample_stride; in lp_rast_shade_quads_mask_sample()
457 sample_stride[i] = 0; in lp_rast_shade_quads_mask_sample()
[all …]
Dlp_rast_priv.h237 unsigned sample_stride[PIPE_MAX_COLOR_BUFS]; in lp_rast_shade_quads_all() local
247 sample_stride[i] = scene->cbufs[i].sample_stride; in lp_rast_shade_quads_all()
253 sample_stride[i] = 0; in lp_rast_shade_quads_all()
260 depth_sample_stride = scene->zsbuf.sample_stride; in lp_rast_shade_quads_all()
290 sample_stride, in lp_rast_shade_quads_all()
Dlp_texture.h93 unsigned sample_stride; member
206 return lpr->sample_stride; in llvmpipe_sample_stride()
Dlp_tex_sample.c186 LP_LLVM_TEXTURE_MEMBER(sample_stride, LP_JIT_TEXTURE_SAMPLE_STRIDE, TRUE) in LP_LLVM_TEXTURE_MEMBER()
334 LP_LLVM_IMAGE_MEMBER(sample_stride, LP_JIT_IMAGE_SAMPLE_STRIDE, TRUE) in LP_LLVM_IMAGE_MEMBER()
444 sampler->dynamic_state.base.sample_stride = lp_llvm_texture_sample_stride; in lp_llvm_sampler_soa_create()
537 image->dynamic_state.base.sample_stride = lp_llvm_image_sample_stride; in lp_llvm_image_soa_create()
Dlp_scene.c173 scene->cbufs[i].sample_stride = 0; in lp_scene_begin_rasterization()
184 scene->cbufs[i].sample_stride = llvmpipe_sample_stride(cbuf->texture); in lp_scene_begin_rasterization()
198 scene->cbufs[i].sample_stride = 0; in lp_scene_begin_rasterization()
210 scene->zsbuf.sample_stride = llvmpipe_sample_stride(zsbuf->texture); in lp_scene_begin_rasterization()
Dlp_jit.h64 uint32_t sample_stride; member
93 uint32_t sample_stride; member
Dlp_setup.c731 jit_image->sample_stride = lp_res->sample_stride; in lp_setup_set_fs_images()
939 jit_tex->sample_stride = 0; in lp_setup_set_fragment_sampler_views()
948 jit_tex->sample_stride = 0; in lp_setup_set_fragment_sampler_views()
957 jit_tex->sample_stride = lp_tex->sample_stride; in lp_setup_set_fragment_sampler_views()
1018 jit_tex->sample_stride = 0; in lp_setup_set_fragment_sampler_views()
Dlp_state_cs.c928 jit_tex->sample_stride = 0; in lp_csctx_set_sampler_views()
937 jit_tex->sample_stride = 0; in lp_csctx_set_sampler_views()
945 jit_tex->sample_stride = lp_tex->sample_stride; in lp_csctx_set_sampler_views()
1006 jit_tex->sample_stride = 0; in lp_csctx_set_sampler_views()
1142 jit_image->sample_stride = lp_res->sample_stride; in lp_csctx_set_cs_images()
Dlp_jit.c98 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, sample_stride, in create_jit_texture_type()
176 LP_CHECK_MEMBER_OFFSET(struct lp_jit_image, sample_stride, in create_jit_image_type()
Dlp_scene.h148 unsigned sample_stride; member
Dlp_texture.c171 lpr->sample_stride = total_size; in llvmpipe_texture_layout()
655 map += sample * lpr->sample_stride; in llvmpipe_transfer_map_ms()
Dlp_state_fs.c510 LLVMValueRef sample_stride = LLVMBuildLoad(builder, in fs_fb_fetch() local
513 LLVMValueRef sample_offset = LLVMBuildMul(builder, sample_stride, fs_iface->sample_id, ""); in fs_fb_fetch()
3269 LLVMValueRef sample_stride = NULL; in generate_fragment() local
3287 sample_stride = LLVMBuildLoad(builder, in generate_fragment()
3297 …LLVMValueRef sample_offset = LLVMBuildMul(builder, sample_stride, lp_build_const_int32(gallivm, s)… in generate_fragment()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c274 DRAW_LLVM_TEXTURE_MEMBER(sample_stride, DRAW_JIT_TEXTURE_SAMPLE_STRIDE, TRUE) in DRAW_LLVM_TEXTURE_MEMBER()
313 DRAW_LLVM_IMAGE_MEMBER(sample_stride, DRAW_JIT_IMAGE_SAMPLE_STRIDE, TRUE)
403 sampler->dynamic_state.base.sample_stride = draw_llvm_texture_sample_stride; in draw_llvm_sampler_soa_create()
488 image->dynamic_state.base.sample_stride = draw_llvm_image_sample_stride; in draw_llvm_image_soa_create()
Ddraw_llvm.h62 uint32_t sample_stride; member
101 uint32_t sample_stride; member
911 uint32_t sample_stride,
926 uint32_t sample_stride);
Ddraw_context.h205 uint32_t sample_stride,
220 uint32_t sample_stride);
Ddraw_context.c1175 uint32_t sample_stride, in draw_set_mapped_texture() argument
1187 last_level, num_samples, sample_stride, base_ptr, in draw_set_mapped_texture()
1201 uint32_t sample_stride) in draw_set_mapped_image() argument
1211 num_samples, sample_stride); in draw_set_mapped_image()
Ddraw_llvm.c200 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, sample_stride, in create_jit_texture_type()
294 LP_CHECK_MEMBER_OFFSET(struct draw_jit_image, sample_stride, in create_jit_image_type()
2478 uint32_t sample_stride, in draw_llvm_set_mapped_texture() argument
2516 jit_tex->sample_stride = sample_stride; in draw_llvm_set_mapped_texture()
2534 uint32_t sample_stride) in draw_llvm_set_mapped_image() argument
2568 jit_image->sample_stride = sample_stride; in draw_llvm_set_mapped_image()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp192 SWR_TEXTURE_MEMBER(sample_stride, TRUE) in SWR_TEXTURE_MEMBER()
365 sampler->dynamic_state.base.sample_stride = swr_texture_sample_stride; in swr_sampler_soa_create()
Dswr_context.h81 uint32_t sample_stride;
Dswr_state.cpp891 jit_tex->sample_stride = 0; in swr_update_texture_state()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h297 (*sample_stride)(const struct lp_sampler_dynamic_state *state, member
438 LLVMValueRef sample_stride; member
Dlp_bld_sample_soa.c2728 lp_build_mul(int_coord_bld, bld->sample_stride, ms_index)); in lp_build_fetch_texel()
3083 …bld.sample_stride = lp_build_broadcast_scalar(&bld.int_coord_bld, dynamic_state->sample_stride(dyn… in lp_build_sample_soa_code()
4174 LLVMValueRef num_samples = NULL, sample_stride = NULL; in lp_build_img_op_soa() local
4178 sample_stride = dynamic_state->sample_stride(dynamic_state, gallivm, in lp_build_img_op_soa()
4217 … lp_build_mul(&int_coord_bld, lp_build_broadcast_scalar(&int_coord_bld, sample_stride), in lp_build_img_op_soa()
/external/mesa3d/docs/relnotes/
D20.2.0.rst230 - Overwriting value of `jit_tex->sample_stride` in lp_setup.c
1349 - draw: add support for num_samples + sample_stride to the image paths
1350 - llvmpipe: add num_samples/sample_stride support to jit textures