Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c116 unsigned readmask = 0; in analyse_tex() local
121 readmask = TGSI_WRITEMASK_X; in analyse_tex()
126 readmask = TGSI_WRITEMASK_XY; in analyse_tex()
136 readmask = TGSI_WRITEMASK_XYZ; in analyse_tex()
142 readmask = TGSI_WRITEMASK_XYZW; in analyse_tex()
149 readmask = TGSI_WRITEMASK_XYZW; in analyse_tex()
166 readmask |= TGSI_WRITEMASK_W; in analyse_tex()
174 if (readmask & (1 << chan)) { in analyse_tex()
214 unsigned readmask; in analyse_sample() local
220 readmask = TGSI_WRITEMASK_X; in analyse_sample()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c559 unsigned int readmask = 0; in get_source_readmask() local
567 readmask |= rc_swizzle_to_writemask(sub->Arg[i].Swizzle); in get_source_readmask()
569 return readmask; in get_source_readmask()
589 unsigned int readmask = 0; in rc_pair_remove_src() local
591 readmask |= get_source_readmask(&inst->U.P.RGB, source, src_type); in rc_pair_remove_src()
592 readmask |= get_source_readmask(&inst->U.P.Alpha, source, src_type); in rc_pair_remove_src()
594 if ((new_readmask & readmask) != readmask) in rc_pair_remove_src()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_temprename.cpp519 void temp_access::record_read(int line, prog_scope *scope, int readmask) in record_read() argument
521 update_access_mask(readmask); in record_read()
523 if (readmask & WRITEMASK_X) in record_read()
525 if (readmask & WRITEMASK_Y) in record_read()
527 if (readmask & WRITEMASK_Z) in record_read()
529 if (readmask & WRITEMASK_W) in record_read()
1046 int readmask = 0; in record_read() local
1049 readmask |= (1 << swz) & 0xF; in record_read()
1053 temp_acc[src.index].record_read(line, scope, readmask); in record_read()
1057 array_acc[src.array_id - 1].record_access(line, scope, readmask); in record_read()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_liverange.cpp316 void temp_access::record_read(int line, prog_scope *scope, int readmask, bool is_array_elm) in record_read() argument
318 update_access_mask(readmask); in record_read()
321 if (readmask & WRITEMASK_X) in record_read()
323 if (readmask & WRITEMASK_Y) in record_read()
325 if (readmask & WRITEMASK_Z) in record_read()
327 if (readmask & WRITEMASK_W) in record_read()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_copy_propagation.cpp87 get_copy_value(const copy_entry &entry, unsigned readmask) in get_copy_value() argument
93 if (readmask & (1 << i)) { in get_copy_value()
120 brw_compose_swizzle(brw_swizzle_for_mask(readmask), in get_copy_value()
Dbrw_vec4.cpp656 unsigned readmask; in pack_uniform_registers() local
661 readmask = 0xf; in pack_uniform_registers()
664 readmask = 0x7; in pack_uniform_registers()
667 readmask = 0x3; in pack_uniform_registers()
670 readmask = inst->dst.writemask; in pack_uniform_registers()
683 if (!(readmask & (1 << c))) in pack_uniform_registers()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_schedule.c131 … unsigned readmask = mir_bytemask_of_read_components(instructions[i], src); in mir_create_dependency_graph() local
132 add_dependency(last_write, src, readmask, instructions, i); in mir_create_dependency_graph()
146 … unsigned readmask = mir_bytemask_of_read_components(instructions[i], src); in mir_create_dependency_graph() local
147 mark_access(last_read, src, readmask, i); in mir_create_dependency_graph()