Home
last modified time | relevance | path

Searched refs:height0 (Results 1 - 25 of 252) sorted by relevance

1234567891011

/third_party/mesa3d/src/freedreno/fdl/
H A Dfd6_layout_test.c41 .height0 = 32,
64 .height0 = 1,
105 .width0 = 1024, .height0 = 1,
131 .height0 = 1,
150 .height0 = 1,
169 .height0 = 1,
190 .height0 = 1,
209 .height0 = 1,
228 .height0 = 1,
251 .height0
[all...]
H A Dfd_layout_test.c42 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); in fdl_test_layout()
52 MAX2(testcase->layout.height0, 1), in fdl_test_layout()
59 MAX2(testcase->layout.height0, 1), in fdl_test_layout()
79 layout.height0, layout.depth0, layout.nr_samples, l, in fdl_test_layout()
86 layout.height0, layout.depth0, layout.nr_samples, l, in fdl_test_layout()
98 layout.height0, layout.depth0, layout.nr_samples, l, in fdl_test_layout()
108 layout.height0, layout.depth0, layout.nr_samples, l, in fdl_test_layout()
116 layout.height0, layout.depth0, layout.nr_samples, l, in fdl_test_layout()
H A Dfd5_layout.c34 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl5_layout()
40 layout->height0 = height0; in fdl5_layout()
69 util_format_get_nblocksy(format, u_minify(height0, level)); in fdl5_layout()
33 fdl5_layout(struct fdl_layout *layout, enum pipe_format format, uint32_t nr_samples, uint32_t width0, uint32_t height0, uint32_t depth0, uint32_t mip_levels, uint32_t array_size, bool is_3d) fdl5_layout() argument
H A Dfd6_layout.c105 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl6_layout()
114 layout->height0 = height0; in fdl6_layout()
176 uint32_t ubwc_height0 = height0; in fdl6_layout()
185 ubwc_height0 = util_next_power_of_two(height0); in fdl6_layout()
201 uint32_t height = u_minify(height0, level); in fdl6_layout()
104 fdl6_layout(struct fdl_layout *layout, enum pipe_format format, uint32_t nr_samples, uint32_t width0, uint32_t height0, uint32_t depth0, uint32_t mip_levels, uint32_t array_size, bool is_3d, struct fdl_explicit_layout *explicit_layout) fdl6_layout() argument
H A Dfd5_layout_test.c44 .height0 = 32,
68 .height0 = 37,
89 .height0 = 29,
H A Dfreedreno_layout.c36 layout->height0 = 1; in fdl_layout_buffer()
70 u_minify(layout->height0, level), u_minify(layout->depth0, level), in fdl_dump_layout()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_test_dma.c48 tex->layer_stride = (uint64_t)tex->stride * templ->height0; in alloc_cpu_texture()
63 0, 0, 0, tex->width0, tex->height0, in set_random_pixels()
68 for (y = 0; y < tex->height0; y++) { in set_random_pixels()
98 0, 0, 0, tex->width0, tex->height0, in compare_textures()
103 for (y = 0; y < tex->height0; y++) { in compare_textures()
227 tsrc.height0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
233 tsrc.height0 = util_next_power_of_two(tsrc.height0); in r600_test_dma()
245 tdst.height0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
251 tdst.height0 in r600_test_dma()
[all...]
/third_party/mesa3d/src/util/
H A Du_debug_describe.c50 sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
53 sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name(ptr->format)); in debug_describe_resource()
56 sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
59 sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
65 sprintf(buf, "pipe_texture_2darray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
68 sprintf(buf, "pipe_texture_cubearray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_texture_desc.c99 texdim = u_minify(tex->tex.height0, level); in r300_texture_macro_switch()
157 height = u_minify(tex->tex.height0, level); in r300_texture_get_nblocksy()
264 i, u_minify(tex->tex.width0, i), u_minify(tex->tex.height0, i), in r300_setup_miptree()
280 !util_is_power_of_two_or_zero(tex->b.height0) || in r300_setup_flags()
369 height = u_minify(tex->b.height0, i); in r300_setup_hyperz_properties()
455 cmask_num_dw = r300_pixels_to_dwords(stride, tex->b.height0, in r300_setup_cmask_properties()
496 (tex->b.height0 == 1 || dbg_no_tiling)) { in r300_setup_tiling()
534 tex->b.width0, tex->b.height0, tex->b.depth0, in r300_tex_print_info()
547 tex->b.height0 = base->height0; in r300_texture_desc_init()
[all...]
/third_party/mesa3d/src/freedreno/decode/scripts/
H A Dtexturator-to-unit-test-5xx.lua109 local height0 = pkt[1].HEIGHT
118 width0, height0, depth0, pkt[0].FMT, pkt[0].TILE_MODE, tostring(pkt[3].FLAG))
157 printf(" .width0 = %d, .height0 = %d, .depth0 = %d,\n", width0, height0, depth0)
159 printf(" .width0 = %d, .height0 = %d,\n", width0, height0)
168 local h = minify(height0, level)
184 local h = minify(height0, level)
H A Dtexturator-to-unit-test.lua102 local height0 = pkt[1].HEIGHT
111 width0, height0, depth0, pkt[0].FMT, pkt[0].TILE_MODE, pkt[3].MIN_LAYERSZ, tostring(pkt[3].TILE_ALL), tostring(pkt[3].FLAG), pkt[10].FLAG_BUFFER_LOGW, pkt[10].FLAG_BUFFER_LOGH, tostring(pkt[0].SAMPLES))
165 printf(" .height0 = %d,\n", height0)
178 local h = minify(height0, level)
202 local h = minify(height0, level)
H A Dtex3d-layout.lua71 local height0 = pkt[1].HEIGHT
75 width0, height0, depth0, pkt[3].MIN_LAYERSZ)
106 local h = height0 -- mipmap level
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_resource.c204 unsigned height0 = rsc->b.b.height0; in setup_lrz() local
212 height0 *= 2; in setup_lrz()
216 unsigned lrz_height = align(DIV_ROUND_UP(height0, 8), 16); in setup_lrz()
238 prsc->width0, prsc->height0, prsc->depth0, prsc->last_level + 1, in fd6_setup_slices()
260 prsc->width0, prsc->height0, prsc->depth0, in fill_ubwc_buffer_sizes()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_resource.c34 uint32_t height0 = util_format_get_nblocksy(format, prsc->height0); in fd2_setup_slices() local
43 uint32_t nblocksy = align(u_minify(height0, level), 32); in fd2_setup_slices()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c49 unsigned height = u_minify(templ->height0, level); in alloc_cpu_texture()
65 unsigned height = u_minify(tex->height0, level); in set_random_pixels()
101 unsigned height = align(u_minify(tex1->height0, level), util_format_get_blockheight(tex1->format)); in set_random_pixels_for_2_textures()
145 unsigned height = u_minify(tex->height0, level); in compare_textures()
178 unsigned height = u_minify(tex1->height0, level); in compare_gpu_textures()
377 templ->height0 = 1; in set_random_image_attrs()
389 templ->height0 = (rand() % max_tex_size) + 1; in set_random_image_attrs()
399 while ((uint64_t)util_format_get_nblocks(templ->format, templ->width0, templ->height0) * in set_random_image_attrs()
408 if (templ->height0 > 1) in set_random_image_attrs()
409 templ->height0 / in set_random_image_attrs()
[all...]
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_texture.c198 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout()
201 } else if (pt->width0 == 64 && pt->height0 == 64) { in i9x5_scanout_layout()
203 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout()
214 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout()
241 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_display_target_layout()
246 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_display_target_layout()
333 assert(pt->width0 == pt->height0); /* cubemap images are square */ in i9x5_texture_layout_cube()
366 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_2d()
395 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_3d()
470 unsigned height = util_next_power_of_two(pt->height0); in i945_texture_layout_2d()
[all...]
H A Di915_surface.c45 unsigned width0, unsigned height0);
82 unsigned src_height0 = src->height0; in i915_surface_copy_render()
84 unsigned dst_height0 = dst->height0; in i915_surface_copy_render()
387 unsigned width0, unsigned height0) in i915_create_surface_custom()
406 ps->height = u_minify(height0, surf_tmpl->u.tex.level); in i915_create_surface_custom()
441 pt->height0); in i915_create_surface()
385 i915_create_surface_custom(struct pipe_context *ctx, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl, unsigned width0, unsigned height0) i915_create_surface_custom() argument
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_tests.c55 templ.height0 = height; in util_create_texture2d()
80 fb.height = tex->height0; in util_set_framebuffer_cb0()
124 viewport.scale[1] = 0.5f * tex->height0; in util_set_max_viewport()
127 viewport.translate[1] = 0.5f * tex->height0; in util_set_max_viewport()
357 cb->width0, cb->height0, red); in tgsi_vs_window_space_position()
410 cb->width0, cb->height0, expected, in null_sampler_view()
468 cb->height0, zero); in util_test_constant_buffer()
550 u_box_2d(0, 0, tex->width0, tex->height0, &box); in test_sync_file_fences()
787 cb->width0, cb->height0, expected); in test_texture_barrier()
853 info.grid[1] = cb->height0 / in test_compute_clear_image()
[all...]
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_surface.c35 if (tex->height0 > 1) in amdgpu_surface_sanity()
48 if (tex->height0 > 1) in amdgpu_surface_sanity()
84 config.info.height = tex->height0; in amdgpu_surface_init()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_texture.c62 unsigned height = pt->height0; in softpipe_resource_layout()
142 spr->base.height0, in softpipe_displaytarget_layout()
170 util_is_power_of_two_or_zero(templat->height0) && in softpipe_resource_create_front()
235 util_is_power_of_two_or_zero(templat->height0) && in softpipe_resource_from_handle()
306 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); in softpipe_create_surface()
317 ps->height = pt->height0; in softpipe_create_surface()
378 assert(box->y + box->height <= (int) u_minify(resource->height0, level)); in softpipe_transfer_map()
502 spr->base.height0 = 1; in softpipe_user_buffer_create()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_texture.c51 * width0, height0, depth0 are the dimensions of the level 0 image
61 GLuint height0, in st_texture_create()
73 assert(height0 > 0); in st_texture_create()
90 pt.height0 = height0; in st_texture_create()
230 ptHeight != u_minify(pt->height0, image->Level) || in st_texture_match_image()
332 region.y = src->height0 / 2; in print_center_pixel()
359 GLuint height = u_minify(dst->height0, dstLevel); in st_texture_image_copy()
365 u_minify(src->height0, srcLevel) != height || in st_texture_image_copy()
56 st_texture_create(struct st_context *st, enum pipe_texture_target target, enum pipe_format format, GLuint last_level, GLuint width0, GLuint height0, GLuint depth0, GLuint layers, GLuint nr_samples, GLuint bind, bool sparse) st_texture_create() argument
/third_party/mesa3d/src/gallium/frontends/vdpau/
H A Doutput.c89 res_tmpl.height0 = height; in vlVdpOutputSurfaceCreate()
187 *height = vlsurface->sampler_view->texture->height0; in vlVdpOutputSurfaceGetParameters()
340 res_tmpl.height0 = destination_rect->y1 - destination_rect->y0; in vlVdpOutputSurfacePutBitsIndexed()
344 res_tmpl.height0 = vlsurface->surface->texture->height0; in vlVdpOutputSurfacePutBitsIndexed()
362 box.height = res->height0; in vlVdpOutputSurfacePutBitsIndexed()
367 source_pitch[0] * res->height0); in vlVdpOutputSurfacePutBitsIndexed()
383 res_tmpl.height0 = 1; in vlVdpOutputSurfacePutBitsIndexed()
395 box.height = res->height0; in vlVdpOutputSurfacePutBitsIndexed()
480 vtmpl.height = vlsurface->surface->texture->height0; in vlVdpOutputSurfacePutBitsYCbCr()
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_renderer.c86 r->scissor.maxy = r->dst->tex->height0; in renderer_draw()
224 tc0[1] /= src->height0; in compute_src_coords()
225 tc1[1] /= src->height0; in compute_src_coords()
226 tc2[1] /= src->height0; in compute_src_coords()
227 tc3[1] /= src->height0; in compute_src_coords()
301 t0 = spt0[1] / tex->height0; in setup_vertex_data_yuv()
303 t1 = spt1[1] / tex->height0; in setup_vertex_data_yuv()
523 r->scissor.maxy = r->dst->tex->height0; in renderer_draw_yuv()
H A Dxa_tracker.c361 template->height0 = height; in surface_create()
463 if (width == template->width0 && height == template->height0 && in xa_surface_redefine()
489 save_height = template->height0; in xa_surface_redefine()
493 template->height0 = height; in xa_surface_redefine()
499 template->height0 = save_height; in xa_surface_redefine()
508 xa_min(save_height, template->height0), &src_box); in xa_surface_redefine()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_resource.c34 unsigned lrz_height = DIV_ROUND_UP(rsc->b.b.height0, 8); in setup_lrz()
64 prsc->width0, prsc->height0, prsc->depth0, prsc->last_level + 1, in fd5_setup_slices()

Completed in 14 milliseconds

1234567891011