Home
last modified time | relevance | path

Searched refs:fmat (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dformat_info.py27 def get_gl_base_format(fmat): argument
28 if fmat.name == 'MESA_FORMAT_NONE':
30 elif fmat.name in ['MESA_FORMAT_YCBCR', 'MESA_FORMAT_YCBCR_REV']:
32 elif fmat.has_channel('r'):
33 if fmat.has_channel('g'):
34 if fmat.has_channel('b'):
35 if fmat.has_channel('a'):
43 elif fmat.has_channel('l'):
44 if fmat.has_channel('a'):
48 elif fmat.has_channel('a') and fmat.num_channels() == 1:
[all …]