Lines Matching refs:sampler_arrays
167 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()
609 return sinfo->sampler_arrays[i].first; in shader_lookup_sampler_array()
628 struct vrend_array *last_array = &ctx->sampler_arrays[ctx->num_sampler_arrays - 1]; in add_samplers()
4770 uint32_t first = ctx->sampler_arrays[i].first; in emit_ios()
4771 uint32_t range = ctx->sampler_arrays[i].array_size; in emit_ios()
4932 ctx.sampler_arrays = NULL; in vrend_convert_shader()
5037 sinfo->sampler_arrays = ctx.sampler_arrays; in vrend_convert_shader()