Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c299 unsigned attrib_count = glsl_count_attribute_slots(var->type, true); in gather_info_input_decl_vs() local
305 for (unsigned i = 0; i < attrib_count; ++i) { in gather_info_input_decl_vs()
318 unsigned attrib_count = glsl_count_attribute_slots(type, false); in mark_16bit_ps_input() local
320 info->ps.float16_shaded_mask |= ((1ull << attrib_count) - 1) << location; in mark_16bit_ps_input()
339 unsigned attrib_count = glsl_count_attribute_slots(var->type, false); in gather_info_input_decl_ps() local
355 info->ps.num_input_clips_culls += attrib_count; in gather_info_input_decl_ps()
372 attrib_count = (component_count + 3) / 4; in gather_info_input_decl_ps()
377 uint64_t mask = ((1ull << attrib_count) - 1); in gather_info_input_decl_ps()
Dradv_nir_to_llvm.c1120 unsigned attrib_count = glsl_count_attribute_slots(variable->type, true); in handle_vs_input_decl() local
1124 for (unsigned i = 0; i < attrib_count; ++i) { in handle_vs_input_decl()
1328 unsigned attrib_count = glsl_count_attribute_slots(variable->type, false); in scan_shader_output_decl() local
1347 attrib_count = (component_count + 3) / 4; in scan_shader_output_decl()
1350 mask_attribs = ((1ull << attrib_count) - 1) << idx; in scan_shader_output_decl()
/external/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()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c506 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader() local
519 for (unsigned j = 0; j < attrib_count; j++, i++) { in nir_tgsi_scan_shader()
606 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader() local
608 for (unsigned k = 0; k < attrib_count; k++, i++) { in nir_tgsi_scan_shader()
761 assert(attrib_count == 1); in nir_tgsi_scan_shader()
/external/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()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c4734 unsigned attrib_count = glsl_count_attribute_slots(variable->type, false); in ac_handle_shader_output_decl() local
4747 attrib_count = 2; in ac_handle_shader_output_decl()
4749 attrib_count = 1; in ac_handle_shader_output_decl()
4755 for (unsigned i = 0; i < attrib_count; ++i) { in ac_handle_shader_output_decl()