Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dformat_info.py100 def get_channel_bits(fmat, chan_name): argument
105 return 4 if fmat.has_channel(chan_name) else 0
107 if chan_name in 'rgb':
109 elif chan_name == 'a':
114 return 8 if fmat.has_channel(chan_name) else 0
116 if fmat.name.endswith('_ALPHA1') and chan_name == 'a':
120 return bits if fmat.has_channel(chan_name) else 0
123 return bits if fmat.has_channel(chan_name) else 0
126 return bits if fmat.has_channel(chan_name) else 0
128 return 8 if fmat.has_channel(chan_name) else 0
[all …]