Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c174 unsigned usage_mask) in setup_point_fragcoord_coef() argument
177 if (usage_mask & TGSI_WRITEMASK_X) { in setup_point_fragcoord_coef()
184 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_point_fragcoord_coef()
191 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_point_fragcoord_coef()
196 if (usage_mask & TGSI_WRITEMASK_W) { in setup_point_fragcoord_coef()
218 unsigned usage_mask = key->inputs[slot].usage_mask; in setup_point_coefficients() local
223 if (perspective & usage_mask) { in setup_point_coefficients()
234 fragcoord_usage_mask |= usage_mask; in setup_point_coefficients()
252 if (usage_mask & (1 << i)) { in setup_point_coefficients()
264 if (usage_mask & (1 << i)) { in setup_point_coefficients()
[all …]
Dlp_setup_line.c133 unsigned usage_mask) in setup_fragcoord_coef() argument
136 if (usage_mask & TGSI_WRITEMASK_X) { in setup_fragcoord_coef()
143 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_fragcoord_coef()
150 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_fragcoord_coef()
155 if (usage_mask & TGSI_WRITEMASK_W) { in setup_fragcoord_coef()
174 unsigned usage_mask = key->inputs[slot].usage_mask; in setup_line_coefficients() local
181 if (usage_mask & (1 << i)) in setup_line_coefficients()
186 if (usage_mask & (1 << i)) in setup_line_coefficients()
193 if (usage_mask & (1 << i)) in setup_line_coefficients()
199 if (usage_mask & (1 << i)) in setup_line_coefficients()
[all …]
Dlp_setup_tri.c128 (key->inputs[i].usage_mask & 0x1) ? "x" : " ", in lp_setup_print_vertex()
129 (key->inputs[i].usage_mask & 0x2) ? "y" : " ", in lp_setup_print_vertex()
130 (key->inputs[i].usage_mask & 0x4) ? "z" : " ", in lp_setup_print_vertex()
131 (key->inputs[i].usage_mask & 0x8) ? "w" : " "); in lp_setup_print_vertex()
134 if (key->inputs[i].usage_mask & (1<<j)) in lp_setup_print_vertex()
Dlp_bld_interp.h71 uint usage_mask:4; /* bitmask of TGSI_WRITEMASK_x flags */ member
Dlp_state_fs.c1337 shader->inputs[i].usage_mask = shader->info.base.input_usage_mask[i]; in llvmpipe_create_fs_state()
1380 unsigned usage_mask = shader->info.base.input_usage_mask[attrib]; in llvmpipe_create_fs_state() local
1383 usage_mask & TGSI_WRITEMASK_X ? "x" : "", in llvmpipe_create_fs_state()
1384 usage_mask & TGSI_WRITEMASK_Y ? "y" : "", in llvmpipe_create_fs_state()
1385 usage_mask & TGSI_WRITEMASK_Z ? "z" : "", in llvmpipe_create_fs_state()
1386 usage_mask & TGSI_WRITEMASK_W ? "w" : ""); in llvmpipe_create_fs_state()
Dlp_state_setup.c965 unsigned usage_mask = key->inputs[slot].usage_mask; in lp_dump_setup_coef() local
967 if (usage_mask & (1 << i)) { in lp_dump_setup_coef()
Dlp_bld_interp.c737 bld->mask[1 + attrib] = inputs[attrib].usage_mask; in lp_build_interp_soa_init()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c178 unsigned usage_mask; in tgsi_util_get_inst_usage_mask() local
312 usage_mask = 0; in tgsi_util_get_inst_usage_mask()
315 usage_mask |= 1 << tgsi_util_get_full_src_register_swizzle(src, chan); in tgsi_util_get_inst_usage_mask()
319 return usage_mask; in tgsi_util_get_inst_usage_mask()
Dtgsi_scan.c101 unsigned usage_mask; in tgsi_scan_shader() local
102 usage_mask = tgsi_util_get_inst_usage_mask(fullinst, i); in tgsi_scan_shader()
105 info->input_usage_mask[ind] |= usage_mask; in tgsi_scan_shader()
110 info->input_usage_mask[ind] |= usage_mask; in tgsi_scan_shader()
Dtgsi_ureg.c126 unsigned usage_mask; /* = TGSI_WRITEMASK_* */ member
405 unsigned usage_mask ) in ureg_DECL_output_masked() argument
409 assert(usage_mask != 0); in ureg_DECL_output_masked()
414 ureg->output[i].usage_mask |= usage_mask; in ureg_DECL_output_masked()
422 ureg->output[i].usage_mask = usage_mask; in ureg_DECL_output_masked()
1208 unsigned usage_mask) in emit_decl_semantic() argument
1216 out[0].decl.UsageMask = usage_mask; in emit_decl_semantic()
1493 ureg->output[i].usage_mask); in emit_decls()
Dtgsi_build.c120 unsigned usage_mask, in tgsi_build_declaration() argument
135 declaration.UsageMask = usage_mask; in tgsi_build_declaration()
Dtgsi_ureg.h235 unsigned usage_mask );