Lines Matching defs:format
33 #include "util/format/u_format.h"
186 SVGA3dSurfaceFormat format,
207 key->format = format;
232 if (key->format == SVGA3D_FORMAT_INVALID) {
297 SVGA3dSurfaceFormat format;
325 s->base.format = surf_tmpl->format;
335 if (util_format_is_depth_or_stencil(surf_tmpl->format)) {
348 format = tex->key.format;
349 if (util_format_is_srgb(surf_tmpl->format)) {
351 format = svga_linear_to_srgb(format);
355 format = svga_translate_format(ss, surf_tmpl->format, bind);
358 assert(format != SVGA3D_FORMAT_INVALID);
392 /* When we clone the surface view resource, use the format used in
396 tex->key.format,
405 s->key.format = format;
415 s->key.format = format;
604 if (util_format_is_depth_or_stencil(s->base.format)) {
614 s->key.format,
624 SVGA3dSurfaceFormat view_format = s->key.format;
627 * the view format. We do something similar for texture samplers in
631 (stex->key.format == SVGA3D_B8G8R8X8_UNORM ||
632 stex->key.format == SVGA3D_B8G8R8X8_TYPELESS)) {
699 if (util_format_is_depth_or_stencil(s->base.format)) {