Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/metal/
Dgen_mtl_format_table.py18 import angle_format as angle_format_utils
228 def gen_image_map_switch_case(angle_format, actual_angle_format_info, angle_to_mtl_map, argument
252 angle_format=angle_format,
260 return gen_image_map_switch_case(angle_format, default_actual_angle_format,
265 angle_format=angle_format,
270 def gen_image_map_switch_simple_case(angle_format, actual_angle_format_info, angle_to_gl, argument
278 angle_to_gl[angle_format], actual_angle_format))
280 return gen_image_map_switch_case(angle_format, actual_angle_format_info, angle_to_mtl_map,
285 def gen_image_map_switch_mac_case(angle_format, actual_angle_format_info, angle_to_gl, argument
287 gl_format = angle_to_gl[angle_format]
[all …]
/external/angle/src/libANGLE/renderer/
Dgen_angle_format_table.py11 import angle_format
99 def is_depth_stencil(angle_format): argument
100 if not 'channels' in angle_format or not angle_format['channels']:
102 return 'd' in angle_format['channels'] or 's' in angle_format['channels']
105 def get_component_suffix(angle_format): argument
106 if angle_format['componentType'] == 'float':
108 if angle_format['componentType'] == 'int' or angle_format['componentType'] == 'snorm':
113 def get_channel_struct(angle_format): argument
114 if 'bits' not in angle_format or angle_format['bits'] is None:
116 if 'BLOCK' in angle_format['id']:
[all …]
Dgen_load_texture_border_functions_table.py15 import angle_format
68 def load_functions_name(internal_format, angle_format): argument
69 return internal_format[3:] + "_to_" + angle_format
102 for angle_format, load_function in sorted(angle_format_func.items()):
103 func_name = load_functions_name(internal_format, angle_format)
105 table_data += s + 'case FormatID::' + angle_format + ':\n'
139 json_data = angle_format.load_json('load_texture_border_functions_data.json')
144 angle_format=angle_format_param,
Dgen_load_functions_table.py16 import angle_format
102 def load_functions_name(internal_format, angle_format): argument
103 return internal_format[3:] + "_to_" + angle_format
154 for angle_format, type_functions in sorted(angle_to_type_map.items()):
156 if angle_format == angle_format_unknown:
159 func_name = load_functions_name(internal_format, angle_format)
162 table_data += s + 'case FormatID::' + angle_format + ':\n'
213 json_data = angle_format.load_json('load_functions_data.json')
218 angle_format=angle_format_param,
Dgen_dxgi_format_table.py11 import angle_format
111 dxgi_map = angle_format.load_json(input_data)
122 all_angle = angle_format.get_all_angle_formats()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
Dgen_texture_format_table.py18 import angle_format
72 def get_swizzle_format_id(internal_format, angle_format): argument
73 angle_format_id = angle_format["formatName"]
77 elif 'swizzleFormat' in angle_format:
80 return angle_format['swizzleFormat']
82 if 'bits' not in angle_format:
86 bits = angle_format['bits']
94 …if "rtvFormat" in angle_format and "srvFormat" in angle_format and "uavFormat" in angle_format and…
95 angle_format['channels']) == 4:
96 return angle_format[
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dgen_vk_format_table.py18 import angle_format
123 for angle_format in vk_json_data[table].keys():
124 if not angle_format in angle_to_gl.keys():
125 print("Invalid format " + angle_format + " in vk_format_map.json in " + table)
153 return angle_format.get_vertex_copy_function(src_format, dst_format)
188 image_initializer=angle_format.get_internal_format_initializer(
253 angle_to_gl = angle_format.load_inverse_table(os.path.join('..', 'angle_format_map.json'))
254 vk_json_data = angle_format.load_json(input_file_name)
Dgen_vk_mandatory_format_support_table.py13 import angle_format
126 vk_map = angle_format.load_json(input_file_name)
127 vk_format_map = angle_format.load_json(vk_format_map_path)
/external/angle/src/libANGLE/
Dgen_format_map.py14 import angle_format
145 format_map = angle_format.load_json(input_script)
153 es3_combo_data = angle_format.load_json(combo_data_file)
Dgen_copy_conversion_table.py13 import angle_format
88 json_data = angle_format.load_json(data_source_name)
/external/angle/src/libANGLE/renderer/metal/shaders/
Dgen_mtl_internal_shaders.py16 import angle_format
97 angle_to_gl = angle_format.load_inverse_table('../../angle_format_map.json')
/external/angle/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py19 import angle_format
280 json_data = angle_format.load_json(data_source_name)
/external/angle/scripts/
Dgen_proc_table.py117 import angle_format