Searched refs:inst_table (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 338 def generate_instruction_table(inst_table): argument 349 inst_table = sorted(inst_table, key=lambda k: (k['opcode'], k['opname'])) 352 [inst.get('capabilities', []) for inst in inst_table]) 354 [inst.get('extensions', []) for inst in inst_table]) 356 insts = [generate_instruction(inst, False) for inst in inst_table] 376 inst_table = json_grammar["instructions"] 379 inst_table = sorted(inst_table, key=lambda k: k['opcode']) 380 caps = [inst.get('capabilities', []) for inst in inst_table] 382 insts = [generate_instruction(inst, True) for inst in inst_table]
|
/external/angle/third_party/spirv-tools/src/utils/ |
D | generate_grammar_tables.py | 338 def generate_instruction_table(inst_table): argument 349 inst_table = sorted(inst_table, key=lambda k: (k['opcode'], k['opname'])) 352 [inst.get('capabilities', []) for inst in inst_table]) 354 [inst.get('extensions', []) for inst in inst_table]) 356 insts = [generate_instruction(inst, False) for inst in inst_table] 376 inst_table = json_grammar["instructions"] 379 inst_table = sorted(inst_table, key=lambda k: k['opcode']) 380 caps = [inst.get('capabilities', []) for inst in inst_table] 382 insts = [generate_instruction(inst, True) for inst in inst_table]
|
/external/deqp-deps/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 338 def generate_instruction_table(inst_table): argument 349 inst_table = sorted(inst_table, key=lambda k: (k['opcode'], k['opname'])) 352 [inst.get('capabilities', []) for inst in inst_table]) 354 [inst.get('extensions', []) for inst in inst_table]) 356 insts = [generate_instruction(inst, False) for inst in inst_table] 376 inst_table = json_grammar["instructions"] 379 inst_table = sorted(inst_table, key=lambda k: k['opcode']) 380 caps = [inst.get('capabilities', []) for inst in inst_table] 382 insts = [generate_instruction(inst, True) for inst in inst_table]
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 3056 static const struct sm1_op_info inst_table[] = variable 3179 for (i = 0; i < ARRAY_SIZE(inst_table); ++i) { in create_op_info_map() 3180 assert(inst_table[i].sio < ARRAY_SIZE(tx->op_info_map)); in create_op_info_map() 3181 if (inst_table[i].vert_version.min <= version && in create_op_info_map() 3182 inst_table[i].vert_version.max >= version) in create_op_info_map() 3183 tx->op_info_map[inst_table[i].sio] = i; in create_op_info_map() 3186 for (i = 0; i < ARRAY_SIZE(inst_table); ++i) { in create_op_info_map() 3187 assert(inst_table[i].sio < ARRAY_SIZE(tx->op_info_map)); in create_op_info_map() 3188 if (inst_table[i].frag_version.min <= version && in create_op_info_map() 3189 inst_table[i].frag_version.max >= version) in create_op_info_map() [all …]
|