Home
last modified time | relevance | path

Searched refs:last_array (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/common/nir/
Dac_nir_lower_resinfo.c87 nir_def *last_array = NULL, *depth = NULL; in lower_query_size() local
108 last_array = get_field(b, desc, 4, ~C_00A010_DEPTH_GFX12); in lower_query_size()
110 last_array = get_field(b, desc, 4, ~C_00A010_DEPTH_GFX10); in lower_query_size()
125 last_array = get_field(b, desc, 4, ~C_008F20_DEPTH); in lower_query_size()
127 last_array = get_field(b, desc, 5, ~C_008F24_LAST_ARRAY); in lower_query_size()
142 last_array = nir_bcsel(b, is_2d, nir_imm_int(b, 0), last_array); in lower_query_size()
154 layers = nir_isub(b, last_array, base_array); in lower_query_size()
/external/virglrenderer/src/
Dvrend_shader.c877 struct vrend_array *last_array = &ctx->image_arrays[ctx->num_image_arrays - 1]; in add_images() local
882 if ((last_array->first + last_array->array_size == first) && in add_images()
883 …!memcmp(&ctx->images[last_array->first].decl, &ctx->images[first].decl, sizeof(ctx->images[first].… in add_images()
884 ctx->images[last_array->first].image_return == ctx->images[first].image_return) { in add_images()
885 last_array->array_size += last - first + 1; in add_images()
955 struct vrend_array *last_array = &ctx->sampler_arrays[ctx->num_sampler_arrays - 1]; in add_samplers() local
956 if ((last_array->first + last_array->array_size == first) && in add_samplers()
957 ctx->samplers[last_array->first].tgsi_sampler_type == sview_type && in add_samplers()
958 ctx->samplers[last_array->first].tgsi_sampler_return == sview_rtype) { in add_samplers()
959 last_array->array_size += last - first + 1; in add_samplers()