Lines Matching defs:format
26 #include "util/format/u_format.h"
383 enum pipe_format format = c->key->tex[unit].format;
384 if (util_format_is_depth_or_stencil(format)) {
506 enum pipe_format format = c->key->tex[unit].format;
508 if (util_format_is_depth_or_stencil(format)) {
723 enum pipe_format format = c->vs_key->attr_formats[attr];
724 uint32_t attr_size = util_format_get_blocksize(format);
2251 /* Lower the format swizzle and ARB_texture_swizzle-style swizzle.
2252 * The format swizzling applies before sRGB decode, and
2256 enum pipe_format format = c->key->tex[i].format;
2258 if (!format)
2261 const uint8_t *format_swizzle = vc4_get_format_swizzle(format);
2274 if (util_format_is_srgb(format))
2654 key->tex[i].format = sampler->format;
2715 key->color_format = vc4->framebuffer.cbufs[0]->format;