Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c178 unsigned usage_mask) in setup_point_fragcoord_coef() argument
181 if (usage_mask & TGSI_WRITEMASK_X) { in setup_point_fragcoord_coef()
188 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_point_fragcoord_coef()
195 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_point_fragcoord_coef()
200 if (usage_mask & TGSI_WRITEMASK_W) { in setup_point_fragcoord_coef()
222 unsigned usage_mask = key->inputs[slot].usage_mask; in setup_point_coefficients() local
227 if (perspective & usage_mask) { in setup_point_coefficients()
238 fragcoord_usage_mask |= usage_mask; in setup_point_coefficients()
256 if (usage_mask & (1 << i)) { in setup_point_coefficients()
268 if (usage_mask & (1 << i)) { in setup_point_coefficients()
[all …]
Dlp_setup_line.c136 unsigned usage_mask) in setup_fragcoord_coef() argument
139 if (usage_mask & TGSI_WRITEMASK_X) { in setup_fragcoord_coef()
146 if (usage_mask & TGSI_WRITEMASK_Y) { in setup_fragcoord_coef()
153 if (usage_mask & TGSI_WRITEMASK_Z) { in setup_fragcoord_coef()
158 if (usage_mask & TGSI_WRITEMASK_W) { in setup_fragcoord_coef()
177 unsigned usage_mask = key->inputs[slot].usage_mask; in setup_line_coefficients() local
184 if (usage_mask & (1 << i)) in setup_line_coefficients()
189 if (usage_mask & (1 << i)) in setup_line_coefficients()
196 if (usage_mask & (1 << i)) in setup_line_coefficients()
202 if (usage_mask & (1 << i)) in setup_line_coefficients()
[all …]
Dlp_bld_interp.h71 uint usage_mask:4; /* bitmask of TGSI_WRITEMASK_x flags */ member
Dlp_setup_tri.c133 (key->inputs[i].usage_mask & 0x1) ? "x" : " ", in lp_setup_print_vertex()
134 (key->inputs[i].usage_mask & 0x2) ? "y" : " ", in lp_setup_print_vertex()
135 (key->inputs[i].usage_mask & 0x4) ? "z" : " ", in lp_setup_print_vertex()
136 (key->inputs[i].usage_mask & 0x8) ? "w" : " "); in lp_setup_print_vertex()
139 if (key->inputs[i].usage_mask & (1<<j)) in lp_setup_print_vertex()
Dlp_state_setup.c1004 unsigned usage_mask = key->inputs[slot].usage_mask; in lp_dump_setup_coef() local
1006 if (usage_mask & (1 << i)) { in lp_dump_setup_coef()
Dlp_state_fs.c2934 shader->inputs[i].usage_mask = shader->info.base.input_usage_mask[i]; in llvmpipe_create_fs_state()
2978 unsigned usage_mask = shader->info.base.input_usage_mask[attrib]; in llvmpipe_create_fs_state() local
2981 usage_mask & TGSI_WRITEMASK_X ? "x" : "", in llvmpipe_create_fs_state()
2982 usage_mask & TGSI_WRITEMASK_Y ? "y" : "", in llvmpipe_create_fs_state()
2983 usage_mask & TGSI_WRITEMASK_Z ? "z" : "", in llvmpipe_create_fs_state()
2984 usage_mask & TGSI_WRITEMASK_W ? "w" : ""); in llvmpipe_create_fs_state()
Dlp_bld_interp.c741 bld->mask[1 + attrib] = inputs[attrib].usage_mask; in lp_build_interp_soa_init()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c119 unsigned char usage_mask; member
139 unsigned usage_mask; /* = TGSI_WRITEMASK_* */ member
290 unsigned usage_mask, in ureg_DECL_fs_input_cyl_centroid_layout() argument
296 assert(usage_mask != 0); in ureg_DECL_fs_input_cyl_centroid_layout()
297 assert(usage_mask <= TGSI_WRITEMASK_XYZW); in ureg_DECL_fs_input_cyl_centroid_layout()
306 ureg->input[i].usage_mask |= usage_mask; in ureg_DECL_fs_input_cyl_centroid_layout()
309 assert((ureg->input[i].usage_mask & usage_mask) == 0); in ureg_DECL_fs_input_cyl_centroid_layout()
323 ureg->input[i].usage_mask = usage_mask; in ureg_DECL_fs_input_cyl_centroid_layout()
368 unsigned usage_mask, in ureg_DECL_input_layout() argument
374 index, usage_mask, array_id, array_size); in ureg_DECL_input_layout()
[all …]
Dtgsi_util.c178 unsigned usage_mask; in tgsi_util_get_inst_usage_mask() local
418 usage_mask = 0; in tgsi_util_get_inst_usage_mask()
421 usage_mask |= 1 << tgsi_util_get_full_src_register_swizzle(src, chan); in tgsi_util_get_inst_usage_mask()
425 return usage_mask; in tgsi_util_get_inst_usage_mask()
Dtgsi_ureg.h177 unsigned usage_mask,
228 unsigned usage_mask,
250 unsigned usage_mask,
258 unsigned usage_mask,
Dtgsi_build.c123 unsigned usage_mask, in tgsi_build_declaration() argument
141 declaration.UsageMask = usage_mask; in tgsi_build_declaration()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_util.c178 unsigned usage_mask; in tgsi_util_get_inst_usage_mask() local
342 usage_mask = 0; in tgsi_util_get_inst_usage_mask()
345 usage_mask |= 1 << tgsi_util_get_full_src_register_swizzle(src, chan); in tgsi_util_get_inst_usage_mask()
349 return usage_mask; in tgsi_util_get_inst_usage_mask()
Dtgsi_scan.c177 unsigned usage_mask; in tgsi_scan_shader() local
178 usage_mask = tgsi_util_get_inst_usage_mask(fullinst, i); in tgsi_scan_shader()
181 info->input_usage_mask[ind] |= usage_mask; in tgsi_scan_shader()
186 info->input_usage_mask[ind] |= usage_mask; in tgsi_scan_shader()
Dtgsi_ureg.c128 unsigned usage_mask; /* = TGSI_WRITEMASK_* */ member
364 unsigned usage_mask ) in ureg_DECL_output_masked() argument
368 assert(usage_mask != 0); in ureg_DECL_output_masked()
373 ureg->output[i].usage_mask |= usage_mask; in ureg_DECL_output_masked()
381 ureg->output[i].usage_mask = usage_mask; in ureg_DECL_output_masked()
1151 unsigned usage_mask) in emit_decl_semantic() argument
1159 out[0].decl.UsageMask = usage_mask; in emit_decl_semantic()
1391 ureg->output[i].usage_mask); in emit_decls()
Dtgsi_build.c123 unsigned usage_mask, in tgsi_build_declaration() argument
141 declaration.UsageMask = usage_mask; in tgsi_build_declaration()
Dtgsi_ureg.h219 unsigned usage_mask );
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler.c102 unsigned usage_mask : 4; /* usage, per channel */ member
574 file->reg[idx].usage_mask = 0; // we'll compute this ourselves in etna_compile_pass_check_usage()
607 reg_desc->usage_mask |= tgsi_util_get_inst_usage_mask(inst, idx); in etna_compile_pass_check_usage()
2088 sf->reg[sf->num_reg].num_components = util_last_bit(reg->usage_mask); in fill_in_ps_inputs()
2136 sf->reg[sf->num_reg].num_components = util_last_bit(reg->usage_mask); in fill_in_vs_inputs()
2404 c->decl[x].usage_mask, c->decl[x].has_semantic); in etna_compile_shader()
2428 c->decl[x].usage_mask, c->decl[x].has_semantic); in etna_compile_shader()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c2353 unsigned usage_mask = emit->info.input_usage_mask[i]; in emit_input_declarations() local
2357 if (usage_mask == 0) in emit_input_declarations()
2365 if (usage_mask & TGSI_WRITEMASK_W) { in emit_input_declarations()
2412 unsigned usage_mask = emit->info.input_usage_mask[i]; in emit_input_declarations() local
2419 if (usage_mask == 0) in emit_input_declarations()
2465 unsigned usage_mask = emit->info.input_usage_mask[i]; in emit_input_declarations() local
2468 if (usage_mask == 0) in emit_input_declarations()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp125 ubyte usage_mask; /* GLSL-style usage-mask, i.e. single bit per double */ member
2433 decl->usage_mask = u_bit_consecutive(component, num_components); in visit()
2475 decl->usage_mask = u_bit_consecutive(component, num_components); in visit()
2550 GLbitfield64* usage_mask, in shrink_array_declarations() argument
2573 if (*usage_mask & BITFIELD64_BIT(decl->mesa_index+j)) in shrink_array_declarations()
2592 if (*usage_mask & BITFIELD64_BIT(decl->mesa_index+j)) in shrink_array_declarations()
2614 *usage_mask |= BITFIELD64_BIT(decl->mesa_index + j); in shrink_array_declarations()
6295 ubyte tgsi_usage_mask = decl->usage_mask; in st_translate_program()
6360 ubyte tgsi_usage_mask = decl->usage_mask; in st_translate_program()