Searched refs:bind_layout (Results 1 – 4 of 4) sorted by relevance
1280 const struct anv_descriptor_set_binding_layout *bind_layout = in anv_descriptor_set_write_image_view() local1283 &set->descriptors[bind_layout->descriptor_index + element]; in anv_descriptor_set_write_image_view()1290 assert(type == bind_layout->type || in anv_descriptor_set_write_image_view()1295 sampler = bind_layout->immutable_samplers ? in anv_descriptor_set_write_image_view()1296 bind_layout->immutable_samplers[element] : in anv_descriptor_set_write_image_view()1302 sampler = bind_layout->immutable_samplers ? in anv_descriptor_set_write_image_view()1303 bind_layout->immutable_samplers[element] : in anv_descriptor_set_write_image_view()1324 void *desc_map = set->desc_mem.map + bind_layout->descriptor_offset + in anv_descriptor_set_write_image_view()1325 element * anv_descriptor_size(bind_layout); in anv_descriptor_set_write_image_view()1326 memset(desc_map, 0, anv_descriptor_size(bind_layout)); in anv_descriptor_set_write_image_view()[all …]
67 const struct anv_descriptor_set_binding_layout *bind_layout = in add_binding() local77 if (anv_descriptor_size(bind_layout)) in add_binding()217 const struct anv_descriptor_set_binding_layout *bind_layout = in build_index_for_res_reindex() local221 uint32_t array_size = bind_layout->array_size; in build_index_for_res_reindex()365 const struct anv_descriptor_set_binding_layout *bind_layout = in lower_res_index_intrinsic() local369 uint32_t array_size = bind_layout->array_size; in lower_res_index_intrinsic()384 assert(bind_layout->dynamic_offset_index < MAX_DYNAMIC_BUFFERS); in lower_res_index_intrinsic()386 if (bind_layout->dynamic_offset_index >= 0) { in lower_res_index_intrinsic()389 bind_layout->dynamic_offset_index; in lower_res_index_intrinsic()393 bind_layout->descriptor_offset << 16 | in lower_res_index_intrinsic()[all …]
346 const struct tu_descriptor_set_binding_layout *bind_layout = in build_bindless() local350 if (bind_layout->type == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) { in build_bindless()355 ((1ull << (bind_layout->array_size * 2)) - 1) << (idx * 2); in build_bindless()377 if (is_sampler && bind_layout->type == in build_bindless()382 nir_imm_int(b, (bind_layout->offset / (4 * A6XX_TEX_CONST_DWORDS)) + in build_bindless()384 descriptor_stride = bind_layout->size / (4 * A6XX_TEX_CONST_DWORDS); in build_bindless()
328 const struct lvp_descriptor_set_binding_layout *bind_layout = in lvp_UpdateDescriptorSets() local331 &set->descriptors[bind_layout->descriptor_index]; in lvp_UpdateDescriptorSets()