/third_party/mesa3d/src/freedreno/fdl/ |
D | fd6_layout_test.c | 41 .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 = 128, [all …]
|
D | fd_layout_test.c | 42 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()
|
D | fd5_layout.c | 34 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl5_layout() argument 40 layout->height0 = height0; in fdl5_layout() 69 util_format_get_nblocksy(format, u_minify(height0, level)); in fdl5_layout()
|
D | fd6_layout.c | 105 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl6_layout() argument 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()
|
D | fd5_layout_test.c | 44 .height0 = 32, 68 .height0 = 37, 89 .height0 = 29,
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_test_dma.c | 48 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 = util_next_power_of_two(tdst.height0); in r600_test_dma() 256 if ((uint64_t)tsrc.width0 * tsrc.height0 * tsrc.array_size * bpp + in r600_test_dma() [all …]
|
/third_party/mesa3d/src/util/ |
D | u_debug_describe.c | 50 …sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr-… in debug_describe_resource() 53 …sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name(ptr-… in debug_describe_resource() 56 …sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(p… in debug_describe_resource() 59 …sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_format… in debug_describe_resource() 65 …sprintf(buf, "pipe_texture_2darray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size, u… in debug_describe_resource() 68 …sprintf(buf, "pipe_texture_cubearray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size,… in debug_describe_resource()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 99 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() 553 tex->tex.height0 = base->height0; in r300_texture_desc_init() [all …]
|
/third_party/mesa3d/src/freedreno/decode/scripts/ |
D | texturator-to-unit-test-5xx.lua | 109 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)
|
D | texturator-to-unit-test.lua | 102 local height0 = pkt[1].HEIGHT 111 …width0, height0, depth0, pkt[0].FMT, pkt[0].TILE_MODE, pkt[3].MIN_LAYERSZ, tostring(pkt[3].TILE_AL… 165 printf(" .height0 = %d,\n", height0) 178 local h = minify(height0, level) 202 local h = minify(height0, level)
|
D | tex3d-layout.lua | 71 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/ |
D | fd6_resource.c | 204 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/radeonsi/ |
D | si_test_image_copy_region.c | 49 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 /= 2; in set_random_image_attrs() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_resource.c | 34 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/i915/ |
D | i915_resource_texture.c | 198 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 …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_tests.c | 55 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 / 8; in test_compute_clear_image() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 62 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/gallium/winsys/amdgpu/drm/ |
D | amdgpu_surface.c | 35 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/mesa/state_tracker/ |
D | st_texture.c | 61 GLuint height0, in st_texture_create() argument 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()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | output.c | 89 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() 502 sv->texture->width0, sv->texture->height0, 1 in vlVdpOutputSurfacePutBitsYCbCr()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_resource.c | 66 scanout_templat.height0 = height; in lima_resource_create_scanout() 92 unsigned width0, unsigned height0, in setup_miptree() argument 98 unsigned height = height0; in setup_miptree() 213 height = templat->height0; in _lima_resource_create_with_modifiers() 216 height = align(templat->height0, 16); in _lima_resource_create_with_modifiers() 235 pres, pres->width0, pres->height0, pres->depth0, in _lima_resource_create_with_modifiers() 353 height = align(pres->height0, 16); in lima_resource_from_handle() 483 int ret = u_box_clip_2d(&b, &b, pres->width0, pres->height0); in get_damage_bound_box() 487 get_scissor_from_box(bound, &b, pres->height0); in get_damage_bound_box() 519 rects[i].y + rects[i].height >= pres->height0) in lima_resource_set_damage_region() [all …]
|
/third_party/mesa3d/src/gallium/drivers/asahi/ |
D | agx_pipe.c | 175 unsigned height = u_minify(templ->height0, l); in agx_resource_create() 178 unsigned tile = agx_select_tile_size(templ->width0, templ->height0, l, blocksize); in agx_resource_create() 207 unsigned width0 = templ->width0, height0 = templ->height0; in agx_resource_create() local 211 height0 = ALIGN_POT(height0, 64); in agx_resource_create() 218 height0, in agx_resource_create() 226 offset = nresource->slices[0].line_stride * ALIGN_POT(templ->height0, 64); in agx_resource_create() 317 agx_select_tile_shift(resource->width0, resource->height0, level, blocksize)); in agx_transfer_map() 372 transfer->resource->height0, in agx_transfer_unmap() 692 0, 0, rsrc->base.width0, rsrc->base.height0, 6); in agx_flush_frontbuffer() 694 memcpy(map, rsrc->bo->ptr.cpu, rsrc->dt_stride * rsrc->base.height0); in agx_flush_frontbuffer()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | basetexture9.c | 325 box.height = u_minify(This->base.info.height0, l); in NineBaseTexture9_UploadSelf() 338 box.height = u_minify(This->base.info.height0, l); in NineBaseTexture9_UploadSelf() 350 box.height = u_minify(This->base.info.height0, l); in NineBaseTexture9_UploadSelf() 431 templ.height0 = u_minify(templ.height0, This->managed.lod); in NineBaseTexture9_CreatePipeResource() 439 old->height0 == templ.height0 && in NineBaseTexture9_CreatePipeResource() 459 box.height = u_minify(templ.height0, l); in NineBaseTexture9_CreatePipeResource() 617 This->base.info.width0, This->base.info.height0, This->base.info.depth0, in NineBaseTexture9_Dump()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_renderer.c | 86 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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_resource.c | 34 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()
|