Lines Matching defs:width
61 (pCreateInfo->extent.width > 8 && pCreateInfo->extent.height <= 2))
129 if (image->info.samples <= 1 && image->info.width * image->info.height <= 512 * 512) {
365 if (image->info.width * image->info.height < 8 * 8 &&
455 unsigned width = image->info.width;
470 width = G_00A004_WIDTH_LO(md->metadata[3]) + (G_00A008_WIDTH_HI(md->metadata[4]) << 2) + 1;
473 width = G_008F18_WIDTH(md->metadata[4]) + 1;
478 if (image->info.width == width && image->info.height == height)
481 if (width < image->info.width || height < image->info.height) {
487 image->info.width, image->info.height, width, height);
491 "Tried to import an image with inconsistent width on GFX10.\n"
493 "an inconsistency in width and will fail this import.\n"
495 image->info.width, image->info.height, width, height);
499 "Tried to import an image with inconsistent width on pre-GFX10.\n"
503 image->info.width, image->info.height, width, height);
505 image_info->width = width;
958 unsigned width, unsigned height, unsigned depth, float min_lod,
1004 S_00A004_WIDTH_LO(width - 1);
1005 state[2] = S_00A008_WIDTH_HI((width - 1) >> 2) | S_00A008_HEIGHT(height - 1) |
1084 S_00A004_WIDTH_LO(width - 1);
1085 fmask_state[2] = S_00A008_WIDTH_HI((width - 1) >> 2) | S_00A008_HEIGHT(height - 1) |
1118 unsigned width, unsigned height, unsigned depth, float min_lod,
1185 state[2] = (S_008F18_WIDTH(width - 1) | S_008F18_HEIGHT(height - 1) | S_008F18_PERF_MOD(4));
1283 fmask_state[2] = S_008F18_WIDTH(width - 1) | S_008F18_HEIGHT(height - 1);
1332 unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state,
1337 first_level, last_level, first_layer, last_layer, width, height,
1341 first_level, last_level, first_layer, last_layer, width, height,
1357 image->info.array_size - 1, image->info.width, image->info.height,
1658 info.width = vk_format_get_plane_width(image->vk.format, plane, info.width);
1760 "width=%" PRIu32 ", height=%" PRIu32 ", "
1762 image->size, image->alignment, image->info.width, image->info.height,
1838 radv_assert(pCreateInfo->extent.width > 0);
1849 image->info.width = pCreateInfo->extent.width;
1965 vk_format_get_plane_width(image->vk.format, plane_id, iview->extent.width),
2127 .width = image->info.width,
2141 iview->extent.width = round_up_u32(iview->extent.width * view_bw, img_bw);
2159 * Fix this by calculating the base mip's width and height, then convert
2176 iview->extent.width = iview->image->planes[0].surface.u.gfx9.base_mip_width;
2179 unsigned lvl_width = radv_minify(image->info.width, range->baseMipLevel);
2188 iview->extent.width = CLAMP(lvl_width, iview->extent.width,