/external/angle/src/libANGLE/renderer/metal/ |
D | gen_mtl_format_table.py | 18 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/ |
D | gen_angle_format_table.py | 11 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 …]
|
D | gen_load_texture_border_functions_table.py | 15 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,
|
D | gen_load_functions_table.py | 16 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,
|
D | gen_dxgi_format_table.py | 11 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/ |
D | gen_texture_format_table.py | 18 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/ |
D | gen_vk_format_table.py | 18 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)
|
D | gen_vk_mandatory_format_support_table.py | 13 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/ |
D | gen_format_map.py | 14 import angle_format 145 format_map = angle_format.load_json(input_script) 153 es3_combo_data = angle_format.load_json(combo_data_file)
|
D | gen_copy_conversion_table.py | 13 import angle_format 88 json_data = angle_format.load_json(data_source_name)
|
/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | gen_mtl_internal_shaders.py | 16 import angle_format 97 angle_to_gl = angle_format.load_inverse_table('../../angle_format_map.json')
|
/external/angle/src/libANGLE/renderer/gl/ |
D | generate_gl_dispatch_table.py | 19 import angle_format 280 json_data = angle_format.load_json(data_source_name)
|
/external/angle/scripts/ |
D | gen_proc_table.py | 117 import angle_format
|