Lines Matching refs:format
32 #include "util/format/u_format.h"
39 if (!util_format_is_etc(prsc->format))
45 switch (prsc->format) {
80 enum pipe_format format,
83 const unsigned bw = util_format_get_blockwidth(format);
84 const unsigned bh = util_format_get_blockheight(format);
85 const unsigned bs = util_format_get_blocksize(format);
90 if (format == PIPE_FORMAT_ETC2_RGB8A1 ||
91 format == PIPE_FORMAT_ETC2_SRGB8A1)
94 if (format == PIPE_FORMAT_ETC2_RGBA8 ||
95 format == PIPE_FORMAT_ETC2_SRGBA8 ||
96 format == PIPE_FORMAT_ETC2_SRGB8A1)