Home
last modified time | relevance | path

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

/third_party/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.cpp156 *num_tfeedback_decls += var->type->varying_count(); in process_xfb_layout_qualifiers()
/third_party/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
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c91 unsigned *varying_count) in collect_varyings() argument
93 *varying_count = 0; in collect_varyings()
150 *varying_count = MAX2(*varying_count, loc + sz); in collect_varyings()
Dpan_shader.h201 rsd->shader.varying_count = shader_info->varyings.input_count + in pan_shader_prepare_rsd()
Dpan_blitter.c217 cfg.shader.varying_count = 1; in pan_blitter_emit_rsd()
/third_party/mesa3d/src/panfrost/midgard/
Ddisassemble.h11 signed varying_count; member
Ddisassemble.c1530 if (word->index_reg == 0x7 && ctx->midg_stats.varying_count >= 0) in print_load_store_instr()
1531 update_stats(&ctx->midg_stats.varying_count, in print_load_store_instr()
1534 ctx->midg_stats.varying_count = -16; in print_load_store_instr()
/third_party/mesa3d/src/panfrost/lib/genxml/
Ddecode.c583 stats.varying_count = -128; in pandecode_shader_disassemble()
721 bool has_varying = (stats.varying_count > 0); in pandecode_blend_shader_disassemble()
820 int varying_count = 0, attribute_count = 0, uniform_count = 0, uniform_buffer_count = 0; in pandecode_dcd() local
843 varying_count = state.shader.varying_count; in pandecode_dcd()
906 varying_count = pandecode_attribute_meta(varying_count, p->varyings, true); in pandecode_dcd()
911 … pandecode_attributes(attr_mem, p->varying_buffers, job_no, suffix, varying_count, true, job_type); in pandecode_dcd()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.h13 uint8_t varying_count[4]; member
Dnvc0_shader_state.c324 if (tfb->varying_count[b]) { in nvc0_tfb_validate()
325 unsigned n = (tfb->varying_count[b] + 3) / 4; in nvc0_tfb_validate()
329 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()
/third_party/mesa3d/src/compiler/
Dglsl_types.h547 unsigned varying_count() const;
Dglsl_types.cpp1792 glsl_type::varying_count() const in varying_count() function in glsl_type
1814 size += this->fields.structure[i].type->varying_count(); in varying_count()
1821 return this->length * this->fields.array->varying_count(); in varying_count()
1823 return this->fields.array->varying_count(); in varying_count()
Dnir_types.cpp190 return type->varying_count(); in glsl_varying_count()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.c1326 cfg.varying_count = fs->info.varyings.nr_slots; in demo_interpolation()
1338 cfg.varying_count = vs->info.varyings.nr_slots; in demo_linkage()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c261 cfg.shader.varying_count = 1; in panvk_meta_copy_to_img_emit_rsd()
/third_party/mesa3d/docs/relnotes/
D21.0.0.rst617 - panfrost: Only set varyings and varying_buffers when varying_count \\> 0