Home
last modified time | relevance | path

Searched refs:blkw (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_device.c2533 uint32_t blkw = util_format_get_blockwidth(pfmt); in dzn_buffer_get_copy_loc() local
2546 .RowPitch = blksz * DIV_ROUND_UP(buffer_row_length, blkw), in dzn_buffer_get_copy_loc()
2576 uint32_t blkw = util_format_get_blockwidth(pfmt); in dzn_buffer_get_line_copy_loc() local
2581 DIV_ROUND_UP(buffer_row_length, blkw) * blksz; in dzn_buffer_get_line_copy_loc()
2598 *start_x = ((offset % offset_alignment) / blksz) * blkw; in dzn_buffer_get_line_copy_loc()
2601 ALIGN_POT(DIV_ROUND_UP(new_loc.PlacedFootprint.Footprint.Width, blkw) * blksz, in dzn_buffer_get_line_copy_loc()
Ddzn_image.c36 uint32_t blkw = util_format_get_blockwidth(pfmt); in dzn_image_align_extent() local
40 assert(util_is_power_of_two_nonzero(blkw) && in dzn_image_align_extent()
44 extent->width = ALIGN_POT(extent->width, blkw); in dzn_image_align_extent()