Lines Matching refs:sampler_arrays
218 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()
846 return sinfo->sampler_arrays[i].first; in vrend_shader_lookup_sampler_array()
866 struct vrend_array *last_array = &ctx->sampler_arrays[ctx->num_sampler_arrays - 1]; in add_samplers()
5892 uint32_t first = ctx->sampler_arrays[i].first; in emit_ios_common()
5893 uint32_t range = ctx->sampler_arrays[i].array_size; in emit_ios_common()
6896 if (sinfo->sampler_arrays) in fill_sinfo()
6897 free(sinfo->sampler_arrays); in fill_sinfo()
6898 sinfo->sampler_arrays = ctx->sampler_arrays; in fill_sinfo()
6983 ctx.sampler_arrays = NULL; in vrend_convert_shader()