Lines Matching refs:format
28 #include "util/format/u_format.h"
63 /* FIXME: expand format table to describe whether the format is supported
207 * We map this to the V3D RGB4 texture format, which really, is ABGR4 with
224 v3dX(get_format)(VkFormat format)
227 if (format < ARRAY_SIZE(format_table) && format_table[format].supported)
228 return &format_table[format];
230 switch (format) {
234 return &format_table_4444[VK_ENUM_OFFSET(format)];
242 v3dX(get_internal_type_bpp_for_output_format)(uint32_t format,
246 switch (format) {
363 * creation time, even if an RB with this format isn't supported.
372 v3dX(format_supports_tlb_resolve)(const struct v3dv_format *format)
375 v3dX(get_internal_type_bpp_for_output_format)(format->rt_type, &type, &bpp);
380 v3dX(format_supports_blending)(const struct v3dv_format *format)
386 v3dX(get_internal_type_bpp_for_output_format)(format->rt_type, &type, &bpp);
440 v3dX(get_internal_depth_type)(VkFormat format)
442 switch (format) {
451 unreachable("Invalid depth format");
462 /* We can't store depth/stencil pixel formats to a raster format, so
463 * instead we load our depth/stencil aspects to a compatible color format.
476 /* Use RGBA8 format so we can relocate the X/S bits in the appropriate
483 assert(!"unsupported format");
487 const struct v3dv_format *format = v3dX(get_format)(vk_format);
488 v3dX(get_internal_type_bpp_for_output_format)(format->rt_type,