Home
last modified time | relevance | path

Searched refs:width0 (Results 1 - 25 of 306) sorted by relevance

12345678910>>...13

/third_party/mesa3d/src/freedreno/fdl/
H A Dfd6_layout_test.c40 .width0 = 32,
63 .width0 = 1024,
97 * per-level pitch must be derived from level 0's pitch, not width0. We
105 .width0 = 1024, .height0 = 1,
130 .width0 = 128,
149 .width0 = 129,
168 .width0 = 130,
189 .width0 = 129,
208 .width0 = 129,
227 .width0
[all...]
H A Dfd_layout_test.c42 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); in fdl_test_layout()
51 MAX2(testcase->layout.nr_samples, 1), testcase->layout.width0, in fdl_test_layout()
58 MAX2(testcase->layout.nr_samples, 1), testcase->layout.width0, in fdl_test_layout()
78 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
85 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
97 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
107 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
115 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
H A Dfd5_layout_test.c43 .width0 = 32,
67 .width0 = 59,
88 .width0 = 63,
H A Dfreedreno_layout.h126 uint32_t width0, height0, depth0; member
210 unsigned w = u_minify(layout->width0, level); in fdl_level_linear()
237 uint32_t nr_samples, uint32_t width0, uint32_t height0,
242 uint32_t nr_samples, uint32_t width0, uint32_t height0,
249 uint32_t nblocksx = util_format_get_nblocksx(layout->format, layout->width0); in fdl_set_pitchalign()
H A Dfd6_layout.c105 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl6_layout()
113 layout->width0 = width0; in fdl6_layout()
175 uint32_t ubwc_width0 = width0; in fdl6_layout()
184 ubwc_width0 = util_next_power_of_two(width0); 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.c34 uint32_t nr_samples, uint32_t width0, uint32_t height0, in fdl5_layout()
39 layout->width0 = width0; 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
/third_party/mesa3d/src/util/
H A 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->last_level); in debug_describe_resource()
50 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()
62 sprintf(buf, "pipe_texture_1darray<%u,%u,%s,%u>", ptr->width0, ptr->array_size, 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/r600/
H A 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()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A 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()
[all...]
/third_party/mesa3d/src/gallium/drivers/i915/
H A 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 in i9x5_texture_layout_cube()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c48 unsigned width = u_minify(templ->width0, level); in alloc_cpu_texture()
64 unsigned width = u_minify(tex->width0, level); in set_random_pixels()
100 unsigned width = align(u_minify(tex1->width0, level), util_format_get_blockwidth(tex1->format)); in set_random_pixels_for_2_textures()
144 unsigned width = u_minify(tex->width0, level); in compare_textures()
177 unsigned width = u_minify(tex1->width0, level); in compare_gpu_textures()
385 templ->width0 = (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()
404 if (templ->width0 > 1) in set_random_image_attrs()
405 templ->width0 /= 2; in set_random_image_attrs()
421 templ->width0 in set_random_image_attrs()
[all...]
H A Dsi_buffer.c346 assert(box->x + box->width <= resource->width0); in si_buffer_transfer_map()
373 if (usage & PIPE_MAP_DISCARD_RANGE && box->x == 0 && box->width == resource->width0) { in si_buffer_transfer_map()
586 templ->width0 <= sscreen->options.tc_max_cpu_storage_size); in si_buffer_create()
591 si_init_resource_fields(sscreen, buf, templ->width0, alignment); in si_buffer_create()
614 buffer.width0 = size; in pipe_aligned_buffer_create()
638 util_range_add(&buf->b.b, &buf->valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
639 util_range_add(&buf->b.b, &buf->b.valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
644 buf->buf = ws->buffer_from_ptr(ws, user_memory, templ->width0, 0); in si_buffer_from_user_memory()
651 buf->memory_usage_kb = templ->width0 / 1024; in si_buffer_from_user_memory()
660 if (offset + templ->width0 > imported_bu in si_buffer_from_winsys_buffer()
[all...]
/third_party/mesa3d/src/freedreno/decode/scripts/
H A 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)
H A Dtexturator-to-unit-test.lua101 local width0 = pkt[1].WIDTH
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))
164 printf(" .width0 = %d,\n", width0)
177 local w = minify(width0, level)
201 local w = minify(width0, level)
H A 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/a6xx/
H A 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/auxiliary/util/
H A 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, in test_sync_file_fences()
[all...]
H A 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()
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dresource.cpp147 info.u.buf.last_element = pipe->width0 - 1; in bind_surface()
164 info.width0 = img->width(); in root_resource()
169 info.width0 = obj.size(); in root_resource()
197 box rect { {{ 0, 0, 0 }}, {{ info.width0, info.height0, info.depth0 }} }; in root_resource()
202 0, info.width0, data_ptr); in root_resource()
205 rect, data_ptr, cpp * info.width0, in root_resource()
206 cpp * info.width0 * info.height0); in root_resource()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_draw_feedback.c181 vbuffer->buffer.resource->width0); in st_feedback_draw_vbo()
257 unsigned size = buf->width0 - offset; in st_feedback_draw_vbo()
287 unsigned size = buf->width0 - binding->Offset; in st_feedback_draw_vbo()
325 unsigned width0 = res->width0; in st_feedback_draw_vbo() local
350 u_minify(res->width0, j), in st_feedback_draw_vbo()
370 width0 = view->u.buf.size / util_format_get_blocksize(view->format); in st_feedback_draw_vbo()
385 draw_set_mapped_texture(draw, PIPE_SHADER_VERTEX, i, width0, in st_feedback_draw_vbo()
409 width = u_minify(res->width0, img->u.tex.level); in st_feedback_draw_vbo()
H A Dst_texture.c51 * width0, height0, depth0 are the dimensions of the level 0 image
60 GLuint width0, in st_texture_create()
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()
331 region.x = src->width0 / 2; in print_center_pixel()
358 GLuint width = u_minify(dst->width0, dstLevel); in st_texture_image_copy()
364 if (u_minify(src->width0, srcLevel) != width || 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/drivers/svga/
H A Dsvga_resource_buffer_upload.c135 unsigned size = sbuf->b.width0; in svga_buffer_create_hw_storage()
213 sbuf->key.size.width = sbuf->b.width0; in svga_buffer_create_host_surface()
224 sbuf->b.width0); in svga_buffer_create_host_surface()
241 sbuf->handle, sbuf->b.width0); in svga_buffer_create_host_surface()
290 0, 0, sbuf->b.width0)); in svga_buffer_recreate_host_surface()
394 0, 0, sbuf->b.width0)); in svga_buffer_bind_host_surface()
477 bufsurf->handle, sbuf->b.width0); in svga_buffer_destroy_host_surface()
628 pSuffix->maximumOffset = sbuf->b.width0; in svga_buffer_upload_hb_command()
697 assert(box->x <= sbuf->b.width0); in svga_buffer_upload_flush()
698 assert(box->x + box->w <= sbuf->b.width0); in svga_buffer_upload_flush()
[all...]
H A Dsvga_resource_buffer.c282 (sbuf->b.width0 + 1023)/1024); in svga_buffer_transfer_map()
285 sbuf->swbuf = align_malloc(sbuf->b.width0, 16); in svga_buffer_transfer_map()
394 svga_buffer_add_range(sbuf, 0, sbuf->b.width0); in svga_buffer_transfer_unmap()
516 sbuf->b.width0 = align(sbuf->b.width0, 16); in svga_buffer_create()
546 sbuf->swbuf = align_malloc(sbuf->b.width0, 64); in svga_buffer_create()
596 sbuf->b.width0 = bytes; in svga_user_buffer_create()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A 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()
H A Dsp_texture.c61 unsigned width = pt->width0; in softpipe_resource_layout()
141 spr->base.width0, in softpipe_displaytarget_layout()
169 spr->pot = (util_is_power_of_two_or_zero(templat->width0) && in softpipe_resource_create_front()
234 spr->pot = (util_is_power_of_two_or_zero(templat->width0) && in softpipe_resource_from_handle()
305 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); in softpipe_create_surface()
373 assert(box->x + box->width <= (int) u_minify(resource->width0, level)); in softpipe_transfer_map()
501 spr->base.width0 = bytes; in softpipe_user_buffer_create()

Completed in 15 milliseconds

12345678910>>...13