Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_xfb.c98 prog->TransformFeedback.NumVarying = varyings_info->varying_count; in gl_nir_link_assign_xfb_resources()
100 malloc(sizeof(GLchar *) * varyings_info->varying_count); in gl_nir_link_assign_xfb_resources()
111 varyings_info->varying_count); in gl_nir_link_assign_xfb_resources()
112 linked_xfb->NumVarying = varyings_info->varying_count; in gl_nir_link_assign_xfb_resources()
116 (varyings_info->varying_count > 0) ? in gl_nir_link_assign_xfb_resources()
119 for (unsigned i = 0; i < varyings_info->varying_count; i++) { in gl_nir_link_assign_xfb_resources()
189 linked_xfb->Buffers[buf].NumVaryings = xfb_info->buffers[buf].varying_count; in gl_nir_link_assign_xfb_resources()
212 xfb->buffers[i].varying_count = info->Buffers[i].NumVaryings; in gl_to_nir_xfb_info()
/third_party/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c39 nir_xfb_varying_info *varying = &varyings->varyings[varyings->varying_count++]; in add_var_xfb_varying()
44 xfb->buffers[buffer].varying_count++; in add_var_xfb_varying()
55 nir_xfb_varyings_info_size(uint16_t varying_count) in nir_xfb_varyings_info_size() argument
57 return sizeof(nir_xfb_info) + sizeof(nir_xfb_varying_info) * varying_count; in nir_xfb_varyings_info_size()
61 nir_xfb_varyings_info_create(void *mem_ctx, uint16_t varying_count) in nir_xfb_varyings_info_create() argument
63 return rzalloc_size(mem_ctx, nir_xfb_varyings_info_size(varying_count)); in nir_xfb_varyings_info_create()
271 qsort(varyings_info->varyings, varyings_info->varying_count, in nir_gather_xfb_info_with_varyings()
458 info->buffers[outputs[i].buffer].varying_count++; in nir_gather_xfb_info_from_intrinsics()
474 info->buffers[i].varying_count, in nir_print_xfb_info()
Dnir_xfb_info.h38 uint16_t varying_count; member
67 uint16_t varying_count; member
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c92 unsigned *varying_count) in collect_varyings() argument
94 *varying_count = 0; in collect_varyings()
158 *varying_count = MAX2(*varying_count, loc + sz); in collect_varyings()
Dpan_shader.h226 rsd->shader.varying_count = shader_info->varyings.input_count + in pan_shader_prepare_rsd()
/third_party/mesa3d/src/panfrost/midgard/
Ddisassemble.h11 signed varying_count; member
Ddisassemble.c1519 if (word->index_reg == 0x7 && ctx->midg_stats.varying_count >= 0) in print_load_store_instr()
1520 update_stats(&ctx->midg_stats.varying_count, in print_load_store_instr()
1523 ctx->midg_stats.varying_count = -16; in print_load_store_instr()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
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.h13 uint8_t varying_count[4]; member
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/panfrost/lib/genxml/
Ddecode.c746 bool has_varying = (stats.varying_count > 0); in pandecode_blend_shader_disassemble()
845 int varying_count = 0, attribute_count = 0, uniform_count = 0, uniform_buffer_count = 0; in pandecode_dcd() local
868 varying_count = state.shader.varying_count; in pandecode_dcd()
929 varying_count = pandecode_attribute_meta(varying_count, p->varyings, true); in pandecode_dcd()
934 … pandecode_attributes(attr_mem, p->varying_buffers, job_no, suffix, varying_count, true, job_type); in pandecode_dcd()
/third_party/mesa3d/src/compiler/
Dglsl_types.h555 unsigned varying_count() const;
Dglsl_types.cpp1906 glsl_type::varying_count() const in varying_count() function in glsl_type
1928 size += this->fields.structure[i].type->varying_count(); in varying_count()
1935 return this->length * this->fields.array->varying_count(); in varying_count()
1937 return this->fields.array->varying_count(); in varying_count()
Dnir_types.cpp215 return type->varying_count(); in glsl_varying_count()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.c1385 cfg.varying_count = fs->info.varyings.nr_slots; in demo_interpolation()
1397 cfg.varying_count = vs->info.varyings.nr_slots; in demo_linkage()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c228 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