Lines Matching defs:formats
141 /* HINT: For array formats, the ISL name should match the VK name. For
142 * packed formats, they should have the channels in reverse order from each
143 * other. The reason for this is that, for packed formats, the ISL (and
144 * bspec) names are in LSB -> MSB order while VK formats are MSB -> LSB.
386 /* TODO: it is possible to enable the following 2 formats, but that
387 * requires further refactoring of how we handle multiplanar formats.
418 const struct anv_format *formats;
421 [0] = { .formats = main_formats,
423 [_VK_EXT_4444_formats_number] = { .formats = _4444_formats,
425 [_VK_KHR_sampler_ycbcr_conversion_number] = { .formats = ycbcr_formats,
440 &anv_formats[ext_number].formats[enum_offset];
498 /* On Ivy Bridge we don't even have enough 24 and 48-bit formats that we
508 /* Tiled formats *must* be power-of-two because we need up upload
509 * them with the render pipeline. For 3-channel formats, we fix
510 * this by switching them over to RGBX or RGBA formats under the
605 * formats with modifiers. We do however interpret ASTC textures with
606 * uncompressed formats during data transfers.
622 /* We can render to swizzled formats. However, if the alpha channel is
630 /* While we can render to swizzled formats, they don't blend correctly
642 * formats from showing up as load/store capable.
651 * it for the list of shader storage extended formats [1]. Before that,
674 /* XXX: We handle 3-channel formats by switching them out for RGBX or
675 * RGBA formats behind-the-scenes. This works fine for textures
678 * substantially more work and we have enough RGBX formats to handle
733 /* Try to restrict the supported formats to those in drm_fourcc.h. The
736 * a DRM_FORMAT), but there exist no users of such non-drm_fourcc formats
760 /* We could support compressed formats if we wanted to. */
764 /* No non-power-of-two fourcc formats exist.
766 * Even if non-power-of-two fourcc formats existed, we could support them
767 * only with DRM_FORMAT_MOD_LINEAR. Tiled formats must be power-of-two
785 anv_finishme("support more multi-planar formats with DRM modifiers");
1169 /* Non-power-of-two formats can never be used as storage images. We
1170 * only check plane 0 because there are no YCbCr formats with