Home
last modified time | relevance | path

Searched refs:varying_count (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_xfb.c95 prog->TransformFeedback.NumVarying = varyings_info->varying_count; in gl_nir_link_assign_xfb_resources()
97 malloc(sizeof(GLchar *) * varyings_info->varying_count); in gl_nir_link_assign_xfb_resources()
108 varyings_info->varying_count); in gl_nir_link_assign_xfb_resources()
109 linked_xfb->NumVarying = varyings_info->varying_count; in gl_nir_link_assign_xfb_resources()
113 (varyings_info->varying_count > 0) ? in gl_nir_link_assign_xfb_resources()
116 for (unsigned i = 0; i < varyings_info->varying_count; i++) { in gl_nir_link_assign_xfb_resources()
185 linked_xfb->Buffers[buf].NumVaryings = xfb_info->buffers[buf].varying_count; in gl_nir_link_assign_xfb_resources()
Dlink_varyings.cpp149 *num_tfeedback_decls += var->type->varying_count(); in process_xfb_layout_qualifiers()
/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c38 nir_xfb_varying_info *varying = &varyings->varyings[varyings->varying_count++]; in add_var_xfb_varying()
43 xfb->buffers[buffer].varying_count++; in add_var_xfb_varying()
54 nir_xfb_varyings_info_size(uint16_t varying_count) in nir_xfb_varyings_info_size() argument
56 return sizeof(nir_xfb_info) + sizeof(nir_xfb_varying_info) * varying_count; in nir_xfb_varyings_info_size()
60 nir_xfb_varyings_info_create(void *mem_ctx, uint16_t varying_count) in nir_xfb_varyings_info_create() argument
62 return rzalloc_size(mem_ctx, nir_xfb_varyings_info_size(varying_count)); in nir_xfb_varyings_info_create()
270 qsort(varyings_info->varyings, varyings_info->varying_count, in nir_gather_xfb_info_with_varyings()
Dnir_xfb_info.h34 uint16_t varying_count; member
63 uint16_t varying_count; member
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_assemble.c261 unsigned attribute_count = 0, varying_count = 0; in panfrost_shader_compile() local
292 varying_count = util_bitcount64(s->info.outputs_written); in panfrost_shader_compile()
310 varying_count = util_bitcount64(s->info.inputs_read); in panfrost_shader_compile()
379 state->varying_count = varying_count; in panfrost_shader_compile()
385 state->shader.varying_count = varying_count; in panfrost_shader_compile()
Dpan_cmdstream.c1456 for (unsigned i = 0; i < fs->varying_count; i++) { in pan_varying_present()
1587 for (unsigned j = 0; j < other->varying_count; ++j) { in pan_emit_general_varying()
1718 vs_size = MALI_ATTRIBUTE_LENGTH * vs->varying_count; in panfrost_emit_varying_descriptor()
1719 fs_size = MALI_ATTRIBUTE_LENGTH * fs->varying_count; in panfrost_emit_varying_descriptor()
1744 assert(vs->varying_count < ARRAY_SIZE(gen_offsets)); in panfrost_emit_varying_descriptor()
1745 assert(fs->varying_count < ARRAY_SIZE(gen_offsets)); in panfrost_emit_varying_descriptor()
1756 struct mali_attribute_packed *ofs = ovs + vs->varying_count; in panfrost_emit_varying_descriptor()
1758 for (unsigned i = 0; i < vs->varying_count; i++) { in panfrost_emit_varying_descriptor()
1765 for (unsigned i = 0; i < fs->varying_count; i++) { in panfrost_emit_varying_descriptor()
Dpan_context.h229 unsigned attribute_count, varying_count, ubo_count; member
/external/mesa3d/src/panfrost/lib/
Ddecode.c671 stats.varying_count = -128; in pandecode_shader_disassemble()
836 bool has_varying = (stats.varying_count > 0); in pandecode_blend_shader_disassemble()
934 int varying_count = 0, attribute_count = 0, uniform_count = 0, uniform_buffer_count = 0; in pandecode_vertex_tiler_postfix_pre() local
949 .varying_count = 0, in pandecode_vertex_tiler_postfix_pre()
966 varying_count = state.shader.varying_count; in pandecode_vertex_tiler_postfix_pre()
979 pandecode_shader_prop("varying_count", varying_count, info.varying_count, false); in pandecode_vertex_tiler_postfix_pre()
1044 varying_count = pandecode_attribute_meta(varying_count, p->varyings, true, suffix); in pandecode_vertex_tiler_postfix_pre()
1049 … pandecode_attributes(attr_mem, p->varying_buffers, job_no, suffix, varying_count, true, job_type); in pandecode_vertex_tiler_postfix_pre()
Dpan_blit.c231 state->shader.varying_count = 1; in panfrost_load_prepare_rsd()
/external/mesa3d/src/panfrost/midgard/
Ddisassemble.h12 signed varying_count; member
Ddisassemble.c1193 if ((word->arg_2 == 0x1E) && midg_stats.varying_count >= 0) in print_load_store_instr()
1194 update_stats(&midg_stats.varying_count, address); in print_load_store_instr()
1196 midg_stats.varying_count = -16; in print_load_store_instr()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.h13 uint8_t varying_count[4]; member
Dnvc0_shader_state.c314 if (tfb->varying_count[b]) { in nvc0_tfb_validate()
315 unsigned n = (tfb->varying_count[b] + 3) / 4; in nvc0_tfb_validate()
319 PUSH_DATA (push, tfb->varying_count[b]); in nvc0_tfb_validate()
Dnvc0_program.c524 tfb->varying_count[b] = 0; in nvc0_program_create_tfb_state()
540 tfb->varying_count[b] = MAX2(tfb->varying_count[b], p); in nvc0_program_create_tfb_state()
544 for (c = tfb->varying_count[b]; c & 3; ++c) in nvc0_program_create_tfb_state()
/external/mesa3d/src/panfrost/bifrost/test/
Dbi_submit.c178 cfg.shader.attribute_count = cfg.shader.varying_count = 1; in bit_vertex()
/external/mesa3d/src/compiler/
Dglsl_types.cpp1715 glsl_type::varying_count() const in varying_count() function in glsl_type
1737 size += this->fields.structure[i].type->varying_count(); in varying_count()
1744 return this->length * this->fields.array->varying_count(); in varying_count()
1746 return this->fields.array->varying_count(); in varying_count()
Dglsl_types.h545 unsigned varying_count() const;
Dnir_types.cpp190 return type->varying_count(); in glsl_varying_count()
/external/igt-gpu-tools/lib/
Dpanfrost-job.h483 u16 varying_count; member