Lines Matching refs:format
216 uint32_t format)
221 load.input_image_format = format;
235 uint32_t format)
241 store.output_image_format = format;
249 /* This chooses a tile buffer format that is appropriate for the copy operation.
253 * color format.
273 * have packed stencil values, so we choose an R8UI format for our
280 * that we need to put into the LSB of the 32-bit format (the R
303 return framebuffer->format->rt_type;
307 return framebuffer->format->rt_type;
313 VkFormat format)
315 const uint8_t *swizzle = v3dv_get_format_swizzle(device, format);
321 VkFormat format)
323 const uint8_t *swizzle = v3dv_get_format_swizzle(device, format);
387 * so we need to make sure we respect the format swizzle.
522 /* Handle copy from compressed format */
523 width = DIV_ROUND_UP(width, vk_format_get_blockwidth(image->vk.format));
524 height = DIV_ROUND_UP(height, vk_format_get_blockheight(image->vk.format));
526 /* If we are storing stencil from a combined depth/stencil format the
537 uint32_t format = choose_tlb_format(framebuffer,
543 buffer_offset, buffer_stride, msaa, format);
678 uint32_t format)
688 emit_linear_load(cl, RENDER_TARGET_0, src, src_offset, stride, format);
695 dst, dst_offset, stride, false, format);
714 uint32_t format,
720 stride, format);
731 uint32_t format,
740 framebuffer, format, item_size);
845 const struct v3dv_format *format)
864 tfu.icfg |= format->tex_type << V3D33_TFU_ICFG_TTYPE_SHIFT;
1078 /* Handle copy to compressed format using a compatible format */
1079 width = DIV_ROUND_UP(width, vk_format_get_blockwidth(image->vk.format));
1080 height = DIV_ROUND_UP(height, vk_format_get_blockheight(image->vk.format));
1088 uint32_t format = choose_tlb_format(framebuffer, imgrsc->aspectMask,
1095 buffer_offset, buffer_stride, format);
1098 * use a color tile buffer with a compatible RGBA color format instead.
1233 /* Select appropriate pixel format for the copy operation based on the
1251 uint32_t format;
1255 format = V3D_OUTPUT_IMAGE_FORMAT_RGBA8UI;
1259 format = V3D_OUTPUT_IMAGE_FORMAT_RG8UI;
1263 format = V3D_OUTPUT_IMAGE_FORMAT_R8UI;
1286 &framebuffer, format, item_size);
1362 fb->format = v3dX(get_format)(vk_format);