Lines Matching refs:format
60 sys.exit("error, could not determine base format for {0}, check swizzle".format(fmat.name));
185 print(' [{0}] = {{'.format(fmat.name))
186 print(' .Name = {0},'.format(fmat.name))
187 print(' .StrName = "{0}",'.format(fmat.name))
188 print(' .Layout = {0},'.format('MESA_FORMAT_LAYOUT_' + fmat.layout.upper()))
189 print(' .BaseFormat = {0},'.format(get_gl_base_format(fmat)))
190 print(' .DataType = {0},'.format(get_gl_data_type(fmat)))
193 print(' {0},'.format(', '.join(format_channel_bits(fmat, bits))))
195 print(' {0},'.format(', '.join(format_channel_bits(fmat, bits))))
197 print(' .IsSRGBFormat = {0:d},'.format(fmat.colorspace == 'srgb'))
199 print(' .BlockWidth = {0}, .BlockHeight = {1}, .BlockDepth = {2},'.format(fmat.block_width, fmat.block_height, fmat.block_depth))
200 print(' .BytesPerBlock = {0},'.format(int(fmat.block_size() / 8)))
202 print(' .Swizzle = {{ {0} }},'.format(', '.join(map(str, fmat.swizzle))))
206 print(' .ArrayFormat = MESA_ARRAY_FORMAT({0}),'.format(', '.join([