Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_shader.h107 struct vrend_array *sampler_arrays; member
Dvrend_shader.c218 struct vrend_array *sampler_arrays; member
817 …ctx->sampler_arrays = realloc(ctx->sampler_arrays, sizeof(struct vrend_array) * ctx->num_sampler_a… in add_sampler_array()
818 if (!ctx->sampler_arrays) in add_sampler_array()
821 ctx->sampler_arrays[idx].first = first; in add_sampler_array()
822 ctx->sampler_arrays[idx].array_size = last - first + 1; in add_sampler_array()
830 int last = ctx->sampler_arrays[i].first + ctx->sampler_arrays[i].array_size - 1; in lookup_sampler_array()
831 if (index >= ctx->sampler_arrays[i].first && in lookup_sampler_array()
833 return ctx->sampler_arrays[i].first; in lookup_sampler_array()
843 int last = sinfo->sampler_arrays[i].first + sinfo->sampler_arrays[i].array_size - 1; in vrend_shader_lookup_sampler_array()
844 if (index >= sinfo->sampler_arrays[i].first && in vrend_shader_lookup_sampler_array()
[all …]
Dvrend_renderer.c1108 free(sel->sinfo.sampler_arrays); in vrend_destroy_shader_selector()