Home
last modified time | relevance | path

Searched refs:sampler_arrays (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/virglrenderer/src/
H A Dvrend_shader.c242 struct vrend_array *sampler_arrays; member
906 …ctx->sampler_arrays = realloc(ctx->sampler_arrays, sizeof(struct vrend_array) * ctx->num_sampler_a… in add_sampler_array()
907 if (!ctx->sampler_arrays) in add_sampler_array()
910 ctx->sampler_arrays[idx].first = first; in add_sampler_array()
911 ctx->sampler_arrays[idx].array_size = last - first + 1; in add_sampler_array()
919 int last = ctx->sampler_arrays[i].first + ctx->sampler_arrays[i].array_size - 1; in lookup_sampler_array()
920 if (index >= ctx->sampler_arrays[i].first && in lookup_sampler_array()
922 return ctx->sampler_arrays[i].first; in lookup_sampler_array()
932 int last = sinfo->sampler_arrays[i].first + sinfo->sampler_arrays[i].array_size - 1; in vrend_shader_lookup_sampler_array()
933 if (index >= sinfo->sampler_arrays[i].first && in vrend_shader_lookup_sampler_array()
[all …]
H A Dvrend_shader.h127 struct vrend_array *sampler_arrays; member
H A Dvrend_renderer.c1240 free(sel->sinfo.sampler_arrays); in vrend_destroy_shader_selector()