Home
last modified time | relevance | path

Searched refs:attrib_count (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dglthread_varray.c219 int attrib_count = ++vao->Attrib[binding_index].EnabledAttribCount; in enable_buffer() local
221 if (attrib_count == 1) in enable_buffer()
223 else if (attrib_count == 2) in enable_buffer()
230 int attrib_count = --vao->Attrib[binding_index].EnabledAttribCount; in disable_buffer() local
232 if (attrib_count == 0) in disable_buffer()
234 else if (attrib_count == 1) in disable_buffer()
237 assert(attrib_count >= 0); in disable_buffer()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c249 unsigned attrib_count = glsl_count_attribute_slots(var->type, true); in gather_info_input_decl_vs() local
251 for (unsigned i = 0; i < attrib_count; ++i) { in gather_info_input_decl_vs()
270 unsigned attrib_count = glsl_count_attribute_slots(type, false); in mark_16bit_ps_input() local
272 info->ps.float16_shaded_mask |= ((1ull << attrib_count) - 1) << location; in mark_16bit_ps_input()
291 unsigned attrib_count = glsl_count_attribute_slots(var->type, false); in gather_info_input_decl_ps() local
297 info->ps.num_input_clips_culls += attrib_count; in gather_info_input_decl_ps()
305 attrib_count = (component_count + 3) / 4; in gather_info_input_decl_ps()
310 uint64_t mask = ((1ull << attrib_count) - 1); in gather_info_input_decl_ps()
Dradv_nir_to_llvm.c557 unsigned attrib_count = glsl_count_attribute_slots(variable->type, false); in scan_shader_output_decl() local
562 attrib_count = (component_count + 3) / 4; in scan_shader_output_decl()
565 mask_attribs = ((1ull << attrib_count) - 1) << idx; in scan_shader_output_decl()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c499 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader() local
512 for (unsigned j = 0; j < attrib_count; j++, i++) { in nir_tgsi_scan_shader()
599 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader() local
601 for (unsigned k = 0; k < attrib_count; k++, i++) { in nir_tgsi_scan_shader()
757 assert(attrib_count == 1); in nir_tgsi_scan_shader()
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_draw.h44 unsigned attrib_count; member
Dpan_indirect_draw.c90 nir_ssa_def *attrib_count; member
177 uint32_t attrib_count; member
319 builder->attribs.attrib_count = get_input_field(b, attrib_count); in extract_inputs()
587 IF (nir_uge(b, attrib_idx, builder->attribs.attrib_count)) in update_vertex_attribs()
1308 .attrib_count = draw_info->attrib_count, in GENX()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cmd_buffer.c573 unsigned attrib_count = pipeline->layout->num_imgs; in panvk_prepare_non_vs_attribs() local
580 pan_pool_alloc_desc_array(&cmdbuf->desc_pool.base, attrib_count, in panvk_prepare_non_vs_attribs()
600 unsigned attrib_count = pipeline->attribs.attrib_count + num_imgs; in panvk_draw_prepare_vs_attribs() local
602 if (desc_state->vs_attribs || !attrib_count) in panvk_draw_prepare_vs_attribs()
618 pan_pool_alloc_desc_array(&cmdbuf->desc_pool.base, attrib_count, in panvk_draw_prepare_vs_attribs()
629 if (attrib_count > pipeline->attribs.buf_count) { in panvk_draw_prepare_vs_attribs()
Dpanvk_vX_pipeline.c880 attribs->attrib_count = MAX2(attribs->attrib_count, vs->attribute_count); in panvk_pipeline_builder_parse_vertex_input()
Dpanvk_private.h665 unsigned attrib_count; member
Dpanvk_vX_cs.c300 for (unsigned i = 0; i < attribs->attrib_count; i++) in panvk_per_arch()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state_derived.c132 unsigned i, attrib_count; in r300_swtcl_vertex_psc() local
139 attrib_count = vinfo->num_attribs; in r300_swtcl_vertex_psc()
140 DBG(r300, DBG_SWTCL, "r300: attrib count: %d\n", attrib_count); in r300_swtcl_vertex_psc()
141 for (i = 0; i < attrib_count; i++) { in r300_swtcl_vertex_psc()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c3865 unsigned attrib_count = in panfrost_indirect_draw() local
3882 .attrib_count = attrib_count, in panfrost_indirect_draw()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c5373 unsigned attrib_count = glsl_count_attribute_slots(variable->type, false); in ac_handle_shader_output_decl() local
5386 attrib_count = 2; in ac_handle_shader_output_decl()
5388 attrib_count = 1; in ac_handle_shader_output_decl()
5394 for (unsigned i = 0; i < attrib_count; ++i) { in ac_handle_shader_output_decl()
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst1028 - panfrost: Set attribs and attrib_bufs to NULL when attrib_count = 0