Home
last modified time | relevance | path

Searched refs:ZINK_MAX_BINDLESS_HANDLES (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.h54 #define ZINK_BINDLESS_IS_BUFFER(HANDLE) (HANDLE >= ZINK_MAX_BINDLESS_HANDLES)
Dzink_context.h33 #define ZINK_MAX_BINDLESS_HANDLES 1024 macro
Dzink_context.c1558 handle += ZINK_MAX_BINDLESS_HANDLES; in zink_create_texture_handle()
1645 handle -= ZINK_MAX_BINDLESS_HANDLES; in zink_make_texture_handle_resident()
1667 uint32_t h = is_buffer ? handle + ZINK_MAX_BINDLESS_HANDLES : handle; in zink_make_texture_handle_resident()
1705 handle += ZINK_MAX_BINDLESS_HANDLES; in zink_create_image_handle()
1762 handle -= ZINK_MAX_BINDLESS_HANDLES; in zink_make_image_handle_resident()
1785 uint32_t h = is_buffer ? handle + ZINK_MAX_BINDLESS_HANDLES : handle; in zink_make_image_handle_resident()
4208 util_idalloc_init(&ctx->di.bindless[i].tex_slots, ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
4210 util_idalloc_init(&ctx->di.bindless[i].img_slots, ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
4212 ctx->di.bindless[i].buffer_infos = malloc(sizeof(VkImageView) * ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
4213 … ctx->di.bindless[i].img_infos = malloc(sizeof(VkDescriptorImageInfo) * ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
Dzink_compiler.c1053 …able_create(nir, nir_var_uniform, glsl_array_type(sampler_type, ZINK_MAX_BINDLESS_HANDLES, 0), "bi… in create_bindless_texture()
1067 …riable_create(nir, nir_var_uniform, glsl_array_type(image_type, ZINK_MAX_BINDLESS_HANDLES, 0), "bi… in create_bindless_image()
1284 bindless[binding]->type = glsl_array_type(type, ZINK_MAX_BINDLESS_HANDLES, 0); in handle_bindless_var()
Dzink_descriptors.c1816 bindings[i].descriptorCount = ZINK_MAX_BINDLESS_HANDLES; in zink_descriptors_init_bindless()
1832 sizes[i].descriptorCount = ZINK_MAX_BINDLESS_HANDLES; in zink_descriptors_init_bindless()
1872 wd.dstArrayElement = is_buffer ? handle - ZINK_MAX_BINDLESS_HANDLES : handle; in zink_descriptors_update_bindless()
Dzink_batch.c52 util_idalloc_free(ids, is_buffer ? handle - ZINK_MAX_BINDLESS_HANDLES : handle); in zink_reset_batch_state()