Searched refs:vattr_sizes (Results 1 – 9 of 9) sorted by relevance
62 if (c->vattr_sizes[attr] != offset + 4) in has_nonremovable_reads()69 for (uint32_t i = 0; i < ARRAY_SIZE(c->vattr_sizes); i++) in has_nonremovable_reads()70 total_size += c->vattr_sizes[i]; in has_nonremovable_reads()138 if (c->vattr_sizes[attr] == offset + 4) { in qir_opt_dead_code()140 c->vattr_sizes[attr] -= 4; in qir_opt_dead_code()
430 uint8_t vattr_sizes[8]; member
754 c->vattr_sizes[attr] = align(attr_size, 4); in emit_vertex_input()1462 c->vattr_sizes[0] = 4; in emit_stub_vpm_read()2625 shader->vattr_offsets[i] + c->vattr_sizes[i]; in vc4_get_compiled_shader()2627 if (c->vattr_sizes[i]) in vc4_get_compiled_shader()
633 for (int i = 0; i < ARRAY_SIZE(prog_data->vattr_sizes); i++) { in v3d_vs_set_prog_data()634 prog_data->vattr_sizes[i] = c->vattr_sizes[i]; in v3d_vs_set_prog_data()635 prog_data->vpm_input_size += c->vattr_sizes[i]; in v3d_vs_set_prog_data()
1611 c->vattr_sizes[loc] = MAX2(c->vattr_sizes[loc], in ntq_setup_vs_inputs()1617 c->vattr_sizes[loc] = MAX2(3, c->vattr_sizes[loc]); in ntq_setup_vs_inputs()1638 for (int i = 0; i < ARRAY_SIZE(c->vattr_sizes); i++) in ntq_setup_vs_inputs()1639 num_components += c->vattr_sizes[i]; in ntq_setup_vs_inputs()1662 for (int loc = 0; loc < ARRAY_SIZE(c->vattr_sizes); loc++) { in ntq_setup_vs_inputs()1666 for (int i = 0; i < c->vattr_sizes[loc]; i++) { in ntq_setup_vs_inputs()2097 index += c->vattr_sizes[i]; in ntq_emit_load_input()
634 uint8_t vattr_sizes[V3D_MAX_VS_INPUTS / 4]; member757 uint8_t vattr_sizes[V3D_MAX_VS_INPUTS / 4]; member
893 v3d->prog.cs->prog_data.vs->vattr_sizes[i]; in v3d_emit_gl_shader_state()895 v3d->prog.vs->prog_data.vs->vattr_sizes[i]; in v3d_emit_gl_shader_state()905 if (v3d->prog.cs->prog_data.vs->vattr_sizes[i]) in v3d_emit_gl_shader_state()
3811 prog_data_vs_bin->vattr_sizes[location]; in emit_gl_shader_state()3813 prog_data_vs->vattr_sizes[location]; in emit_gl_shader_state()3823 if (prog_data_vs_bin->vattr_sizes[location]) in emit_gl_shader_state()
850 - v3d: Fix overly-large vattr_sizes structs.