Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_search_helpers.h378 const nir_alu_instr *const user_alu = nir_instr_as_alu(user_instr); in is_used_by_non_fsat() local
380 assert(instr != user_alu); in is_used_by_non_fsat()
381 if (user_alu->op != nir_op_fsat) in is_used_by_non_fsat()
396 const nir_alu_instr *const user_alu = nir_instr_as_alu(user_instr); in is_only_used_as_float() local
397 assert(instr != user_alu); in is_only_used_as_float()
399 unsigned index = (nir_alu_src*)container_of(src, nir_alu_src, src) - user_alu->src; in is_only_used_as_float()
400 nir_alu_type type = nir_op_infos[user_alu->op].input_types[index]; in is_only_used_as_float()