Home
last modified time | relevance | path

Searched refs:width0 (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/third_party/mesa3d/src/freedreno/fdl/
Dfd6_layout_test.c40 .width0 = 32,
63 .width0 = 1024,
105 .width0 = 1024, .height0 = 1,
130 .width0 = 128,
149 .width0 = 129,
168 .width0 = 130,
189 .width0 = 129,
208 .width0 = 129,
227 .width0 = 129,
250 .width0 = 385,
[all …]
Dfd_layout_test.c41 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); in fdl_test_layout()
50 MAX2(testcase->layout.nr_samples, 1), testcase->layout.width0, in fdl_test_layout()
57 MAX2(testcase->layout.nr_samples, 1), testcase->layout.width0, in fdl_test_layout()
77 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
84 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
93 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
101 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
Dfreedreno_layout.h126 uint32_t width0, height0, depth0; member
209 unsigned w = u_minify(layout->width0, level); in fdl_level_linear()
236 uint32_t nr_samples, uint32_t width0, uint32_t height0,
241 uint32_t nr_samples, uint32_t width0, uint32_t height0,
248 uint32_t nblocksx = util_format_get_nblocksx(layout->format, layout->width0); in fdl_set_pitchalign()
Dfd5_layout_test.c43 .width0 = 32,
67 .width0 = 59,
88 .width0 = 63,
Dfd6_layout.c99 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl6_layout() argument
107 layout->width0 = width0; in fdl6_layout()
168 uint32_t ubwc_width0 = width0; in fdl6_layout()
177 ubwc_width0 = util_next_power_of_two(width0); in fdl6_layout()
Dfd5_layout.c34 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl5_layout() argument
39 layout->width0 = width0; in fdl5_layout()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_blit.c47 tex->stride = align(util_format_get_stride(templ->format, templ->width0), RAND_NUM_SIZE); in alloc_cpu_texture()
61 map = pipe_texture_map_3d(ctx, tex, 0, PIPE_MAP_WRITE, 0, 0, 0, tex->width0, tex->height0, in set_random_pixels()
90 unsigned stride = util_format_get_stride(tex->format, tex->width0); in compare_textures()
92 map = pipe_texture_map_3d(ctx, tex, 0, PIPE_MAP_READ, 0, 0, 0, tex->width0, tex->height0, in compare_textures()
222 tsrc.width0 = (rand() % max_tex_side_gen) + 1; in si_test_blit()
227 tsrc.width0 = align(tsrc.width0, 2); in si_test_blit()
231 tsrc.width0 = util_next_power_of_two(tsrc.width0); in si_test_blit()
243 tdst.width0 = (rand() % max_tex_side_gen) + 1; in si_test_blit()
249 tdst.width0 = util_next_power_of_two(tdst.width0); in si_test_blit()
255 if ((uint64_t)util_format_get_nblocks(tsrc.format, tsrc.width0, tsrc.height0) * in si_test_blit()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c47 tex->stride = align(templ->width0 * bpp, RAND_NUM_SIZE); in alloc_cpu_texture()
63 0, 0, 0, tex->width0, tex->height0, in set_random_pixels()
98 0, 0, 0, tex->width0, tex->height0, in compare_textures()
108 if (memcmp(ptr, cpu_ptr, tex->width0 * bpp)) { in compare_textures()
226 tsrc.width0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
232 tsrc.width0 = util_next_power_of_two(tsrc.width0); in r600_test_dma()
244 tdst.width0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
250 tdst.width0 = util_next_power_of_two(tdst.width0); in r600_test_dma()
256 if ((uint64_t)tsrc.width0 * tsrc.height0 * tsrc.array_size * bpp + in r600_test_dma()
257 (uint64_t)tdst.width0 * tdst.height0 * tdst.array_size * bpp > in r600_test_dma()
[all …]
/third_party/mesa3d/src/util/
Du_debug_describe.c44 sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); in debug_describe_resource()
47 …sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->la… in debug_describe_resource()
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()
62 …sprintf(buf, "pipe_texture_1darray<%u,%u,%s,%u>", ptr->width0, ptr->array_size, util_format_short_… 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/
Dr300_texture_desc.c97 texdim = u_minify(tex->tex.width0, level); in r300_texture_macro_switch()
133 width = u_minify(tex->tex.width0, level); in r300_texture_get_stride()
264 i, u_minify(tex->tex.width0, i), u_minify(tex->tex.height0, i), in r300_setup_miptree()
273 !util_is_power_of_two_or_zero(tex->b.width0) || in r300_setup_flags()
276 tex->tex.stride_in_bytes_override) != tex->b.width0); in r300_setup_flags()
534 tex->b.width0, tex->b.height0, tex->b.depth0, in r300_tex_print_info()
546 tex->b.width0 = base->width0; in r300_texture_desc_init()
552 tex->tex.width0 = base->width0; in r300_texture_desc_init()
569 tex->b.nr_samples == 6 && tex->b.width0 > 1360) { in r300_texture_desc_init()
576 tex->b.nr_samples == 4 && tex->b.width0 > 2048) { in r300_texture_desc_init()
[all …]
/third_party/mesa3d/src/freedreno/decode/scripts/
Dtexturator-to-unit-test-5xx.lua108 local width0 = pkt[1].WIDTH
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)
167 local w = minify(width0, level)
183 local w = minify(width0, level)
Dtexturator-to-unit-test.lua97 local width0 = pkt[1].WIDTH
107width0, height0, depth0, pkt[0].FMT, pkt[0].TILE_MODE, pkt[3].MIN_LAYERSZ, tostring(pkt[3].TILE_AL…
156 printf(" .width0 = %d, .height0 = %d, .depth = %d,\n", width0, height0, depth0)
158 printf(" .width0 = %d, .height0 = %d,\n", width0, height0)
166 local w = minify(width0, level)
182 local w = minify(width0, level)
Dtex3d-layout.lua70 local width0 = pkt[1].WIDTH
75 width0, height0, depth0, pkt[3].MIN_LAYERSZ)
105 local w = width0 -- track current width/height to detect changing
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_resource.c34 uint32_t width0 = prsc->width0; in setup_slices() local
37 width0 = util_next_power_of_two(width0); in setup_slices()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c196 if (pt->width0 >= 240) { in i9x5_scanout_layout()
197 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_scanout_layout()
201 } else if (pt->width0 == 64 && pt->height0 == 64) { in i9x5_scanout_layout()
202 tex->stride = get_pot_stride(pt->format, pt->width0); in i9x5_scanout_layout()
214 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout()
234 if (pt->width0 < 240) in i9x5_display_target_layout()
240 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_display_target_layout()
246 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_display_target_layout()
328 unsigned width = util_next_power_of_two(pt->width0); in i9x5_texture_layout_cube()
333 assert(pt->width0 == pt->height0); /* cubemap images are square */ in i9x5_texture_layout_cube()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_resource.c203 unsigned width0 = rsc->b.b.width0; in setup_lrz() local
209 width0 *= 2; in setup_lrz()
215 unsigned lrz_pitch = align(DIV_ROUND_UP(width0, 8), 32); 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/frontends/clover/core/
Dresource.cpp147 info.u.buf.last_element = pipe->width0 - 1; in bind_surface()
164 info.width0 = img->width(); in root_resource()
168 info.width0 = obj.size(); in root_resource()
196 box rect { {{ 0, 0, 0 }}, {{ info.width0, info.height0, info.depth0 }} }; in root_resource()
201 0, info.width0, data_ptr); in root_resource()
204 rect, data_ptr, cpp * info.width0, in root_resource()
205 cpp * info.width0 * info.height0); in root_resource()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_tests.c54 templ.width0 = width; in util_create_texture2d()
79 fb.width = tex->width0; in util_set_framebuffer_cb0()
123 viewport.scale[0] = 0.5f * tex->width0; in util_set_max_viewport()
126 viewport.translate[0] = 0.5f * tex->width0; 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()
467 pass = pass && util_probe_rect_rgba(ctx, cb, 0, 0, cb->width0, in util_test_constant_buffer()
546 ctx->clear_buffer(ctx, buf, 0, buf->width0, &value, sizeof(value)); in test_sync_file_fences()
550 u_box_2d(0, 0, tex->width0, tex->height0, &box); in test_sync_file_fences()
576 ctx->clear_buffer(ctx, buf, 0, buf->width0, &value, sizeof(value)); in test_sync_file_fences()
[all …]
Du_suballoc.c95 templ.width0 = allocator->size; in u_suballocator_alloc()
125 assert(allocator->offset < allocator->buffer->width0); in u_suballocator_alloc()
126 assert(allocator->offset + size <= allocator->buffer->width0); in u_suballocator_alloc()
Du_surface.c282 assert(src_box.x + src_box.width <= (int)u_minify(src->width0, src_level)); in util_resource_copy_region()
284 assert(dst_box.x + dst_box.width <= (int)u_minify(dst->width0, dst_level)); in util_resource_copy_region()
702 width = res->width0; in is_box_inside_resource()
707 width = u_minify(res->width0, level); in is_box_inside_resource()
713 width = u_minify(res->width0, level); in is_box_inside_resource()
718 width = u_minify(res->width0, level); in is_box_inside_resource()
723 width = u_minify(res->width0, level); in is_box_inside_resource()
728 width = u_minify(res->width0, level); in is_box_inside_resource()
733 width = u_minify(res->width0, level); in is_box_inside_resource()
738 width = u_minify(res->width0, level); in is_box_inside_resource()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c182 vbuffer->buffer.resource->width0); in st_feedback_draw_vbo()
259 unsigned size = buf->width0 - offset; in st_feedback_draw_vbo()
289 unsigned size = buf->width0 - binding->Offset; in st_feedback_draw_vbo()
327 unsigned width0 = res->width0; in st_feedback_draw_vbo() local
352 u_minify(res->width0, j), in st_feedback_draw_vbo()
372 width0 = view->u.buf.size / util_format_get_blocksize(view->format); in st_feedback_draw_vbo()
387 draw_set_mapped_texture(draw, PIPE_SHADER_VERTEX, i, width0, in st_feedback_draw_vbo()
411 width = u_minify(res->width0, img->u.tex.level); in st_feedback_draw_vbo()
Dst_texture.c61 GLuint width0, in st_texture_create() argument
72 assert(width0 > 0); in st_texture_create()
89 pt.width0 = width0; in st_texture_create()
229 if (ptWidth != u_minify(pt->width0, image->Level) || in st_texture_match_image()
333 region.x = src->width0 / 2; in print_center_pixel()
360 GLuint width = u_minify(dst->width0, dstLevel); in st_texture_image_copy()
366 if (u_minify(src->width0, srcLevel) != width || in st_texture_image_copy()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c258 (sbuf->b.width0 + 1023)/1024); in svga_buffer_transfer_map()
261 sbuf->swbuf = align_malloc(sbuf->b.width0, 16); in svga_buffer_transfer_map()
370 svga_buffer_add_range(sbuf, 0, sbuf->b.width0); in svga_buffer_transfer_unmap()
490 sbuf->b.width0 = align(sbuf->b.width0, 16); in svga_buffer_create()
520 sbuf->swbuf = align_malloc(sbuf->b.width0, 64); in svga_buffer_create()
570 sbuf->b.width0 = bytes; in svga_user_buffer_create()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_buffer.c44 bview->buffer_offset > bview->buffer->width0 || in sp_tgsi_ssbo_lookup()
45 bview->buffer_size > bview->buffer->width0 - bview->buffer_offset) { in sp_tgsi_ssbo_lookup()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Doutput.c88 res_tmpl.width0 = width; in vlVdpOutputSurfaceCreate()
186 *width = vlsurface->sampler_view->texture->width0; in vlVdpOutputSurfaceGetParameters()
339 res_tmpl.width0 = destination_rect->x1 - destination_rect->x0; in vlVdpOutputSurfacePutBitsIndexed()
343 res_tmpl.width0 = vlsurface->surface->texture->width0; in vlVdpOutputSurfacePutBitsIndexed()
361 box.width = res->width0; in vlVdpOutputSurfacePutBitsIndexed()
381 res_tmpl.width0 = 1 << util_format_get_component_bits( in vlVdpOutputSurfacePutBitsIndexed()
394 box.width = res->width0; in vlVdpOutputSurfacePutBitsIndexed()
399 util_format_get_stride(colortbl_format, res->width0), 0); in vlVdpOutputSurfacePutBitsIndexed()
479 vtmpl.width = vlsurface->surface->texture->width0; in vlVdpOutputSurfacePutBitsYCbCr()
502 sv->texture->width0, sv->texture->height0, 1 in vlVdpOutputSurfacePutBitsYCbCr()

12345678910>>...13