Lines Matching defs:format
1335 unsigned format, swap;
1339 * so the SPI color format is set to 32-bit 1-component. */
1348 format = cmd_buffer->device->physical_device->rad_info.gfx_level >= GFX11
1356 VkFormat fmt = cmd_buffer->state.pass->attachments[idx].format;
1357 format = radv_translate_colorformat(fmt);
1365 if (format == V_028C70_COLOR_8 || format == V_028C70_COLOR_16 || format == V_028C70_COLOR_32)
1370 /* Check the colormask and export format. */
1383 if (has_rgb && format == V_028C70_COLOR_5_9_9_9)
1393 switch (format) {
2427 VkImageAspectFlags aspects = vk_format_aspects(image->vk.format);
2835 .format = image->vk.format,
3724 unsigned format = vs_state->formats[i];
3725 unsigned dfmt = format & 0xf;
3726 unsigned nfmt = (format >> 4) & 0x7;
3757 * to include the format/word3 so that the alpha channel is 1 for formats without an
3944 * On GFX8, the format must be non-INVALID, otherwise
4353 if (vk_format_is_depth_or_stencil(image->vk.format)) {
4698 assert(vk_format_is_depth_or_stencil(image->vk.format));
4778 VkImageAspectFlags att_aspects = vk_format_aspects(att->format);
4948 att->format = dyn_info->pColorAttachmentFormats[i];
4975 att->format = fmt;
6089 if (vf->format == attrib->format) {
6098 const struct util_format_description *format_desc = vk_format_description(attrib->format);
6102 radv_translate_vertex_format(cmd_buffer->device->physical_device, attrib->format, format_desc,
6104 found->format = attrib->format;
7826 /* Translates the indirect BO format used by NV_mesh_shader API
7827 * to the BO format used by DRAW_INDIRECT / DRAW_INDIRECT_MULTI.
7859 /* Copy data from the API BO so that the format is suitable for the
7907 /* Translates the indirect BO format used by NV_mesh_shader API
7908 * to the BO format used by DISPATCH_TASKMESH_INDIRECT_MULTI_ACE.
8941 att->format = iview->vk.format;
8968 att->format = resolve_iview->vk.format;
9003 att->format = iview->vk.format;
9066 att->format = resolve_iview->vk.format;
9120 att->format = iview->vk.format;
9569 if (vk_format_has_depth(image->vk.format)) {