Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_shader.h71 struct vrend_array *sampler_arrays; member
Dvrend_shader.c167 struct vrend_array *sampler_arrays; member
580 …ctx->sampler_arrays = realloc(ctx->sampler_arrays, sizeof(struct vrend_array) * ctx->num_sampler_a… in add_sampler_array()
581 if (!ctx->sampler_arrays) in add_sampler_array()
584 ctx->sampler_arrays[idx].first = first; in add_sampler_array()
585 ctx->sampler_arrays[idx].array_size = last - first + 1; in add_sampler_array()
593 int last = ctx->sampler_arrays[i].first + ctx->sampler_arrays[i].array_size - 1; in lookup_sampler_array()
594 if (index >= ctx->sampler_arrays[i].first && in lookup_sampler_array()
596 return ctx->sampler_arrays[i].first; in lookup_sampler_array()
606 int last = sinfo->sampler_arrays[i].first + sinfo->sampler_arrays[i].array_size - 1; in shader_lookup_sampler_array()
607 if (index >= sinfo->sampler_arrays[i].first && in shader_lookup_sampler_array()
[all …]
Dvrend_renderer.c805 free(sel->sinfo.sampler_arrays); in vrend_destroy_shader_selector()