Home
last modified time | relevance | path

Searched refs:component_mask (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c151 output->component_mask = comp_mask & 0xf; in add_var_xfb_outputs()
154 *offset += util_bitcount(output->component_mask) * 4; in add_var_xfb_outputs()
281 assert(xfb->outputs[i].component_mask != 0); in nir_gather_xfb_info_with_varyings()
282 unsigned slots = util_bitcount(xfb->outputs[i].component_mask); in nir_gather_xfb_info_with_varyings()
295 if (!a->component_mask) in get_xfb_out_sort_index()
358 out.component_mask = in nir_gather_xfb_info_from_intrinsics()
374 assert(!(out.component_mask & BITFIELD_MASK(out.component_offset))); in nir_gather_xfb_info_from_intrinsics()
394 if (!cur->component_mask) in nir_gather_xfb_info_from_intrinsics()
402 if (outputs[j].component_mask && in nir_gather_xfb_info_from_intrinsics()
408 unsigned merged_mask = cur->component_mask | outputs[j].component_mask; in nir_gather_xfb_info_from_intrinsics()
[all …]
Dnir_xfb_info.h45 uint8_t component_mask; member
Dnir_lower_tex.c751 unsigned component_mask; in lower_gradient() local
754 component_mask = 7; in lower_gradient()
757 component_mask = 1; in lower_gradient()
760 component_mask = 3; in lower_gradient()
766 component_mask); in lower_gradient()
Dnir_validate.c827 unsigned component_mask = BITFIELD_MASK(instr->num_components); in validate_intrinsic_instr() local
828 validate_assert(state, (nir_intrinsic_write_mask(instr) & ~component_mask) == 0); in validate_intrinsic_instr()
Dnir_lower_io.c3043 unsigned xfb_mask = writemask & out->component_mask; in nir_io_add_intrinsic_xfb_info()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_xfb.c174 output->NumComponents = util_bitcount(xfb_output->component_mask); in gl_nir_link_assign_xfb_resources()
221 xfb->outputs[i].component_mask = in gl_to_nir_xfb_info()
Dlinker.cpp2958 unsigned component_mask = in assign_attribute_or_color_locations() local
2961 if (assigned_component_mask & component_mask) { in assign_attribute_or_color_locations()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_helpers.c45 so->output[i].num_components = util_bitcount(info->outputs[i].component_mask); in nir_gather_stream_output_info()
/third_party/mesa3d/src/amd/compiler/
Daco_shader_info.h93 uint8_t component_mask; member
Daco_instruction_selection.cpp11461 unsigned writemask = output->component_mask & ctx->outputs.mask[loc]; in emit_stream_output()
11471 unsigned offset = output->offset + (start - (ffs(output->component_mask) - 1)) * 4; in emit_stream_output()
/third_party/mesa3d/src/intel/vulkan/
DgenX_pipeline.c1308 uint8_t component_mask = output->component_mask; in emit_3dstate_streamout() local
1317 component_mask = 1 << 0; // SO_DECL_COMPMASK_X in emit_3dstate_streamout()
1320 component_mask = 1 << 1; // SO_DECL_COMPMASK_Y in emit_3dstate_streamout()
1323 component_mask = 1 << 2; // SO_DECL_COMPMASK_Z in emit_3dstate_streamout()
1325 component_mask = 1 << 3; // SO_DECL_COMPMASK_W in emit_3dstate_streamout()
1329 __builtin_popcount(component_mask) * 4; in emit_3dstate_streamout()
1339 .ComponentMask = component_mask, in emit_3dstate_streamout()
1345 .ComponentMask = component_mask, in emit_3dstate_streamout()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c566 unsigned component_mask = BITFIELD_MASK(blend_output->num_components); in vc4_nir_lower_blend_instr() local
567 nir_intrinsic_set_write_mask(intr, component_mask); in vc4_nir_lower_blend_instr()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c418 output->component_mask = xfb->outputs[i].component_mask; in gather_xfb_info()
Dradv_shader.h178 uint8_t component_mask; member
Dradv_nir_to_llvm.c755 unsigned num_comps = util_bitcount(output->component_mask); in radv_emit_stream_output()
766 start = ffs(output->component_mask) - 1; in radv_emit_stream_output()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c284 if (c->tmu.flush[i].component_mask > 0) { in ntq_flush_tmu()
289 if (c->tmu.flush[i].component_mask & (1 << j)) { in ntq_flush_tmu()
313 uint32_t component_mask) in ntq_add_pending_tmu_flush() argument
315 const uint32_t num_components = util_bitcount(component_mask); in ntq_add_pending_tmu_flush()
325 c->tmu.flush[c->tmu.flush_count].component_mask = component_mask; in ntq_add_pending_tmu_flush()
707 const uint32_t component_mask = in ntq_emit_tmu_general() local
710 component_mask); in ntq_emit_tmu_general()
Dv3d_compiler.h645 uint8_t component_mask; member
1139 uint32_t component_mask);
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c605 …eline->stream_output.output[i].num_components = util_bitcount(xfb_info->outputs[i].component_mask); in lvp_pipeline_xfb_init()
606 … pipeline->stream_output.output[i].start_component = ffs(xfb_info->outputs[i].component_mask) - 1; in lvp_pipeline_xfb_init()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c712 util_bitcount(xfb->outputs[i].component_mask); in tu_gather_xfb_info()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c2571 unsigned component_mask = s->output_info[slot].components_mask; in ms_emit_arrayed_outputs() local
2573 while (component_mask) { in ms_emit_arrayed_outputs()
2575 u_bit_scan_consecutive_range(&component_mask, &start_comp, &num_components); in ms_emit_arrayed_outputs()