Searched refs:readmask (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 117 unsigned readmask = 0; in analyse_tex() local 122 readmask = TGSI_WRITEMASK_X; in analyse_tex() 127 readmask = TGSI_WRITEMASK_XY; in analyse_tex() 137 readmask = TGSI_WRITEMASK_XYZ; in analyse_tex() 143 readmask = TGSI_WRITEMASK_XYZW; in analyse_tex() 150 readmask = TGSI_WRITEMASK_XYZW; in analyse_tex() 167 readmask |= TGSI_WRITEMASK_W; in analyse_tex() 175 if (readmask & (1 << chan)) { in analyse_tex() 215 unsigned readmask; in analyse_sample() local 221 readmask = TGSI_WRITEMASK_X; in analyse_sample() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_compiler_util.c | 559 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()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi_temprename.cpp | 519 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()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_liverange.cpp | 316 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()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4_copy_propagation.cpp | 87 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()
|
D | brw_vec4.cpp | 656 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()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_schedule.c | 133 … unsigned readmask = mir_bytemask_of_read_components(instructions[i], src); in mir_create_dependency_graph() local 134 add_dependency(last_write, src, readmask, instructions, i); in mir_create_dependency_graph() 179 … unsigned readmask = mir_bytemask_of_read_components(instructions[i], src); in mir_create_dependency_graph() local 180 mark_access(last_read, src, readmask, i); in mir_create_dependency_graph()
|