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.h56 #define ZINK_BINDLESS_IS_BUFFER(HANDLE) (HANDLE >= ZINK_MAX_BINDLESS_HANDLES)
Dzink_context.h33 #define ZINK_MAX_BINDLESS_HANDLES 1024 macro
Dzink_context.c1844 handle += ZINK_MAX_BINDLESS_HANDLES; in zink_create_texture_handle()
1931 handle -= ZINK_MAX_BINDLESS_HANDLES; in zink_make_texture_handle_resident()
1953 uint32_t h = is_buffer ? handle + ZINK_MAX_BINDLESS_HANDLES : handle; in zink_make_texture_handle_resident()
1992 handle += ZINK_MAX_BINDLESS_HANDLES; in zink_create_image_handle()
2049 handle -= ZINK_MAX_BINDLESS_HANDLES; in zink_make_image_handle_resident()
2072 uint32_t h = is_buffer ? handle + ZINK_MAX_BINDLESS_HANDLES : handle; in zink_make_image_handle_resident()
4602 util_idalloc_init(&ctx->di.bindless[i].tex_slots, ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
4604 util_idalloc_init(&ctx->di.bindless[i].img_slots, ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
4606 … ctx->di.bindless[i].buffer_infos = malloc(sizeof(VkBufferView) * ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
4607 … ctx->di.bindless[i].img_infos = malloc(sizeof(VkDescriptorImageInfo) * ZINK_MAX_BINDLESS_HANDLES); in zink_context_create()
Dzink_descriptors.c1955 bindings[i].descriptorCount = ZINK_MAX_BINDLESS_HANDLES; in zink_descriptors_init_bindless()
1972 sizes[i].descriptorCount = ZINK_MAX_BINDLESS_HANDLES; in zink_descriptors_init_bindless()
2013 wd.dstArrayElement = is_buffer ? handle - ZINK_MAX_BINDLESS_HANDLES : handle; in zink_descriptors_update_bindless()
Dzink_batch.c54 util_idalloc_free(ids, is_buffer ? handle - ZINK_MAX_BINDLESS_HANDLES : handle); in zink_reset_batch_state()
Dzink_compiler.c2389 …able_create(nir, nir_var_uniform, glsl_array_type(sampler_type, ZINK_MAX_BINDLESS_HANDLES, 0), "bi… in create_bindless_texture()
2403 …variable_create(nir, nir_var_image, glsl_array_type(image_type, ZINK_MAX_BINDLESS_HANDLES, 0), "bi… in create_bindless_image()
2618 bindless->bindless[binding]->type = glsl_array_type(type, ZINK_MAX_BINDLESS_HANDLES, 0); in handle_bindless_var()