Home
last modified time | relevance | path

Searched refs:src_templ (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c617 struct pipe_sampler_view src_templ, *src_view; in r600_resource_copy_region() local
650 util_blitter_default_src_texture(&src_templ, src, src_level); in r600_resource_copy_region()
657 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; /* 64-bit block */ in r600_resource_copy_region()
659 src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT; /* 128-bit block */ in r600_resource_copy_region()
660 dst_templ.format = src_templ.format; in r600_resource_copy_region()
684 src_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; in r600_resource_copy_region()
703 src_templ.format = PIPE_FORMAT_R8_UNORM; in r600_resource_copy_region()
707 src_templ.format = PIPE_FORMAT_R8G8_UNORM; in r600_resource_copy_region()
711 src_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; in r600_resource_copy_region()
715 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; in r600_resource_copy_region()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c1409 void util_blitter_default_src_texture(struct pipe_sampler_view *src_templ, in util_blitter_default_src_texture() argument
1413 memset(src_templ, 0, sizeof(*src_templ)); in util_blitter_default_src_texture()
1414 src_templ->target = src->target; in util_blitter_default_src_texture()
1415 src_templ->format = util_format_linear(src->format); in util_blitter_default_src_texture()
1416 src_templ->u.tex.first_level = srclevel; in util_blitter_default_src_texture()
1417 src_templ->u.tex.last_level = srclevel; in util_blitter_default_src_texture()
1418 src_templ->u.tex.first_layer = 0; in util_blitter_default_src_texture()
1419 src_templ->u.tex.last_layer = in util_blitter_default_src_texture()
1422 src_templ->swizzle_r = PIPE_SWIZZLE_X; in util_blitter_default_src_texture()
1423 src_templ->swizzle_g = PIPE_SWIZZLE_Y; in util_blitter_default_src_texture()
[all …]
Du_blitter.h271 void util_blitter_default_src_texture(struct pipe_sampler_view *src_templ,
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c846 struct pipe_sampler_view src_templ, *src_view; in si_resource_copy_region() local
870 util_blitter_default_src_texture(&src_templ, src, src_level); in si_resource_copy_region()
877 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; /* 64-bit block */ in si_resource_copy_region()
879 src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT; /* 128-bit block */ in si_resource_copy_region()
880 dst_templ.format = src_templ.format; in si_resource_copy_region()
903 src_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; in si_resource_copy_region()
921 src_templ.format = PIPE_FORMAT_R8_UNORM; in si_resource_copy_region()
925 src_templ.format = PIPE_FORMAT_R8G8_UNORM; in si_resource_copy_region()
929 src_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; in si_resource_copy_region()
933 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; in si_resource_copy_region()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c549 struct pipe_sampler_view src_templ, *src_view; in r300_resource_copy_region() local
570 util_blitter_default_src_texture(&src_templ, src, src_level); in r300_resource_copy_region()
576 (!screen->is_format_supported(screen, src_templ.format, src->target, in r300_resource_copy_region()
600 src_templ.format = dst_templ.format; in r300_resource_copy_region()
606 assert(src_templ.format == dst_templ.format); in r300_resource_copy_region()
635 src_templ.format = dst_templ.format; in r300_resource_copy_region()
648 !screen->is_format_supported(screen, src_templ.format, in r300_resource_copy_region()
666 src_view = r300_create_sampler_view_custom(pipe, src, &src_templ, src_width0, src_height0); in r300_resource_copy_region()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c1363 struct pipe_resource src_templ; in st_TexSubImage() local
1497 memset(&src_templ, 0, sizeof(src_templ)); in st_TexSubImage()
1498 src_templ.target = gl_target_to_pipe(gl_target); in st_TexSubImage()
1499 src_templ.format = src_format; in st_TexSubImage()
1500 src_templ.bind = PIPE_BIND_SAMPLER_VIEW; in st_TexSubImage()
1501 src_templ.usage = PIPE_USAGE_STAGING; in st_TexSubImage()
1504 &src_templ.width0, &src_templ.height0, in st_TexSubImage()
1505 &src_templ.depth0, &src_templ.array_size); in st_TexSubImage()
1509 (!util_is_power_of_two(src_templ.width0) || in st_TexSubImage()
1510 !util_is_power_of_two(src_templ.height0) || in st_TexSubImage()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c90 struct pipe_sampler_view src_templ, *src_view; in i915_surface_copy_render() local
108 util_blitter_default_src_texture(&src_templ, src, src_level); in i915_surface_copy_render()
116 src_view = i915_create_sampler_view_custom(pipe, src, &src_templ, src_width0, src_height0); in i915_surface_copy_render()