/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vs.c | 77 GLbitfield64 outputs_written = user_varyings; in brw_vs_outputs_written() local 88 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + i); in brw_vs_outputs_written() 92 if (outputs_written & BITFIELD64_BIT(VARYING_SLOT_BFC0)) in brw_vs_outputs_written() 93 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_COL0); in brw_vs_outputs_written() 94 if (outputs_written & BITFIELD64_BIT(VARYING_SLOT_BFC1)) in brw_vs_outputs_written() 95 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_COL1); in brw_vs_outputs_written() 103 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0); in brw_vs_outputs_written() 104 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST1); in brw_vs_outputs_written() 107 return outputs_written; in brw_vs_outputs_written() 158 uint64_t outputs_written = in brw_codegen_vs_prog() local [all …]
|
D | brw_tcs.c | 179 per_vertex_slots |= prog->info.outputs_written; in brw_tcs_populate_key() 185 key->outputs_written = per_vertex_slots; in brw_tcs_populate_key() 266 key->outputs_written = prog->nir->info.outputs_written; in brw_tcs_populate_default_key()
|
D | brw_gs.c | 112 uint64_t outputs_written = nir->info.outputs_written; in brw_codegen_gs_prog() local 115 &prog_data.base.vue_map, outputs_written, in brw_codegen_gs_prog()
|
D | brw_wm.c | 419 if (prog->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) { in brw_wm_populate_key() 579 uint64_t outputs_written = prog->info.outputs_written; in brw_wm_populate_default_key() local 585 if (outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) in brw_wm_populate_default_key() 598 key->nr_color_regions = util_bitcount64(outputs_written & in brw_wm_populate_default_key()
|
D | brw_link.cpp | 176 prev_info->outputs_written |= infos[i]->inputs_read & in unify_interfaces() 178 infos[i]->inputs_read |= prev_info->outputs_written & in unify_interfaces() 220 info->outputs_written |= 1ull << output->OutputRegister; in update_xfb_info()
|
D | brw_tes.c | 146 per_vertex_slots |= tcp_prog->info.outputs_written & in brw_tes_populate_key() 205 key->inputs_read |= tcp->nir->info.outputs_written & in brw_tes_populate_default_key()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_shader.c | 224 s->info.outputs_written & (1 << VARYING_SLOT_PSIZ); in GENX() 229 if (s->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) in GENX() 231 if (s->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL)) in GENX() 233 if (s->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK)) in GENX() 237 info->fs.outputs_written = s->info.outputs_written >> FRAG_RESULT_DATA0; in GENX() 295 info->outputs_written = s->info.outputs_written; in GENX()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_alpha_to_coverage.c | 86 const uint64_t outputs_written = shader->info.outputs_written; in brw_nir_lower_alpha_to_coverage() local 87 if (!(outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK)) || in brw_nir_lower_alpha_to_coverage() 88 !(outputs_written & (BITFIELD64_BIT(FRAG_RESULT_COLOR) | in brw_nir_lower_alpha_to_coverage()
|
D | brw_vec4_tcs.cpp | 376 nir->info.outputs_written = key->outputs_written; in brw_compile_tcs() 383 nir->info.outputs_written, in brw_compile_tcs()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_fragcolor.c | 82 b->shader->info.outputs_written &= ~BITFIELD64_BIT(FRAG_RESULT_COLOR); in lower_fragcolor_instr() 83 b->shader->info.outputs_written |= BITFIELD64_BIT(FRAG_RESULT_DATA0); in lower_fragcolor_instr() 94 b->shader->info.outputs_written |= BITFIELD64_BIT(FRAG_RESULT_DATA0 + i); in lower_fragcolor_instr()
|
D | nir_lower_passthrough_edgeflags.c | 47 util_bitcount64(shader->info.outputs_written)); in lower_impl() 88 shader->info.outputs_written |= VARYING_BIT_EDGE; in lower_impl()
|
/third_party/mesa3d/src/mesa/program/ |
D | arbprogparse.c | 112 program->info.outputs_written = prog.info.outputs_written; in _mesa_parse_arb_fragment_program() 201 program->info.outputs_written = prog.info.outputs_written; in _mesa_parse_arb_vertex_program()
|
D | programopt.c | 111 vprog->info.outputs_written |= BITFIELD64_BIT(VARYING_SLOT_POS); in insert_mvp_dp4_code() 212 vprog->info.outputs_written |= BITFIELD64_BIT(VARYING_SLOT_POS); in insert_mvp_mad_code() 267 if (!(fprog->info.outputs_written & (1 << FRAG_RESULT_COLOR))) { in _mesa_append_fog_code() 412 assert(fprog->info.outputs_written & (1 << FRAG_RESULT_COLOR)); in _mesa_append_fog_code()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_nir.c | 462 info->writes_z = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH); in si_nir_scan_shader() 463 info->writes_stencil = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL); in si_nir_scan_shader() 464 info->writes_samplemask = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK); in si_nir_scan_shader() 466 info->colors_written = nir->info.outputs_written >> FRAG_RESULT_DATA0; in si_nir_scan_shader() 467 if (nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_COLOR)) { in si_nir_scan_shader() 474 info->writes_primid = nir->info.outputs_written & VARYING_BIT_PRIMITIVE_ID; in si_nir_scan_shader() 475 info->writes_viewport_index = nir->info.outputs_written & VARYING_BIT_VIEWPORT; in si_nir_scan_shader() 476 info->writes_layer = nir->info.outputs_written & VARYING_BIT_LAYER; in si_nir_scan_shader() 477 info->writes_psize = nir->info.outputs_written & VARYING_BIT_PSIZ; in si_nir_scan_shader() 478 info->writes_clipvertex = nir->info.outputs_written & VARYING_BIT_CLIP_VERTEX; in si_nir_scan_shader() [all …]
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compiler.cpp | 280 if (fs->initial->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_COLOR)) in frag_result_color_lowering() 341 (vs->initial->info.outputs_written & VARYING_BIT_EDGE || in fill_mode_lowered() 360 gs->initial->info.outputs_written & VARYING_BIT_PSIZ); in needs_point_sprite_lowering() 368 vs->initial->info.outputs_written & VARYING_BIT_PSIZ)) && in needs_point_sprite_lowering() 369 (vs->initial->info.outputs_written & VARYING_BIT_POS)); in needs_point_sprite_lowering() 551 vs->initial->info.outputs_written); in validate_geometry_shader_variant() 671 uint64_t mask = prev->current->nir->info.outputs_written & ~system_out_values; in d3d12_fill_shader_key() 674 key->prev_varying_outputs = prev->current->nir->info.outputs_written; in d3d12_fill_shader_key() 892 mask = key.required_varying_outputs.mask & ~new_nir_variant->info.outputs_written; in select_shader_variant() 991 uint64_t outputs_written) in update_so_info() argument [all …]
|
D | d3d12_pipeline_state.cpp | 204 last_vertex_stage_writes_pos = (shader->nir->info.outputs_written & VARYING_BIT_POS) != 0; in create_gfx_pipeline_state() 211 last_vertex_stage_writes_pos = (shader->nir->info.outputs_written & VARYING_BIT_POS) != 0; in create_gfx_pipeline_state()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_util.h | 110 if (vertProg->info.outputs_written & in st_point_size_per_vertex() 131 return !!(last->info.outputs_written & in st_point_size_per_vertex()
|
D | st_atom_shader.c | 234 (stvp->Base.info.outputs_written & in st_update_vp() 303 (stp->Base.info.outputs_written & in st_update_common_program()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 760 nir->info.outputs_written & (1ull << loc)) { in nir_tgsi_scan_shader() 767 uint64_t outputs_written = nir->info.outputs_written; in nir_tgsi_scan_shader() local 769 while (outputs_written) { in nir_tgsi_scan_shader() 770 unsigned location = u_bit_scan64(&outputs_written); in nir_tgsi_scan_shader() 771 unsigned i = util_bitcount64(nir->info.outputs_written & in nir_tgsi_scan_shader() 782 num_outputs = util_bitcount64(nir->info.outputs_written); in nir_tgsi_scan_shader()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_program.c | 344 nir->info.outputs_written &= ~VARYING_BIT_EDGE; in crocus_fix_edge_flags() 377 uint64_t outputs_written) in update_so_info() argument 381 while (outputs_written) { in update_so_info() 382 reverse_map[slot++] = u_bit_scan64(&outputs_written); in update_so_info() 1112 GLbitfield64 outputs_written = user_varyings; in crocus_vs_outputs_written() local 1117 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_EDGE); in crocus_vs_outputs_written() 1127 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + i); in crocus_vs_outputs_written() 1131 if (outputs_written & BITFIELD64_BIT(VARYING_SLOT_BFC0)) in crocus_vs_outputs_written() 1132 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_COL0); in crocus_vs_outputs_written() 1133 if (outputs_written & BITFIELD64_BIT(VARYING_SLOT_BFC1)) in crocus_vs_outputs_written() [all …]
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_fragprog.c | 207 const GLbitfield64 outputsWritten = program->info.outputs_written; in run_program() 274 if (program->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_COLOR)) { in _swrast_exec_fragment_program() 279 if (program->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) { in _swrast_exec_fragment_program()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_ir.h | 226 BITSET_WORD outputs_written; member 237 uint64_t outputs_written; member
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program.c | 121 .outputs_written = key->outputs_written, in iris_to_brw_tcs_key() 371 nir->info.outputs_written &= ~VARYING_BIT_EDGE; in iris_fix_edge_flags() 404 uint64_t outputs_written) in update_so_info() argument 408 while (outputs_written) { in update_so_info() 409 reverse_map[slot++] = u_bit_scan64(&outputs_written); in update_so_info() 1343 &vue_prog_data->vue_map, nir->info.outputs_written, in iris_compile_vs() 1471 *per_vertex_slots |= tcs->outputs_written; in get_unified_tess_slots() 1610 get_unified_tess_slots(ice, &key.outputs_written, in iris_update_compiled_tcs() 1840 &vue_prog_data->vue_map, nir->info.outputs_written, in iris_compile_gs() 2447 update_so_info(&ish->stream_output, nir->info.outputs_written); in iris_create_uncompiled_shader() [all …]
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_vb_program.c | 311 if (program->info.outputs_written & BITFIELD64_BIT(i)) { in run_vp() 385 if (program->info.outputs_written & BITFIELD64_BIT(VARYING_SLOT_FOGC)) { in run_vp() 453 if (program->info.outputs_written & in run_vp()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_set_program_inouts.cpp | 133 prog->info.outputs_written |= bitfield; in mark() 430 prog->info.outputs_written = 0; in do_set_program_inouts()
|