Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_multiview.c231 int view_count = util_bitcount(view_mask); in nir_lower_multiview() local
240 var->type = glsl_array_type(glsl_vec4_type(), view_count, 0); in nir_lower_multiview()
267 entrypoint, glsl_array_type(glsl_uint_type(), view_count, 0), "view_index"); in nir_lower_multiview()
300 nir_ssa_def *cmp = nir_ige(&b, loop_index, nir_imm_int(&b, view_count)); in nir_lower_multiview()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_render_pass.c293 const uint32_t view_count = imageless ? 0 : pCreateInfo->attachmentCount; in vn_CreateFramebuffer() local
296 vk_zalloc(alloc, sizeof(*fb) + sizeof(*fb->image_views) * view_count, in vn_CreateFramebuffer()
303 fb->image_view_count = view_count; in vn_CreateFramebuffer()
305 sizeof(*pCreateInfo->pAttachments) * view_count); in vn_CreateFramebuffer()
Dvn_descriptor_set.c629 uint32_t view_count, in vn_update_descriptor_sets_alloc() argument
642 views_offset + sizeof(VkBufferView) * view_count; in vn_update_descriptor_sets_alloc()
799 uint32_t view_count = 0; in vn_update_descriptor_sets_parse_template() local
815 view_count += entry->descriptorCount; in vn_update_descriptor_sets_parse_template()
834 view_count, iub_count, alloc, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_update_descriptor_sets_parse_template()
840 view_count = 0; in vn_update_descriptor_sets_parse_template()
872 write->pTexelBufferView = &update->views[view_count]; in vn_update_descriptor_sets_parse_template()
873 view_count += entry->descriptorCount; in vn_update_descriptor_sets_parse_template()
Dvn_command_buffer.c375 ASSERTED uint32_t view_count; in vn_cmd_begin_render_pass() local
378 view_count = fb->image_view_count; in vn_cmd_begin_render_pass()
385 view_count = imageless_info->attachmentCount; in vn_cmd_begin_render_pass()
398 assert(index < view_count); in vn_cmd_begin_render_pass()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c319 int view_count = util_bitcount(view_mask); in anv_check_for_primitive_replication() local
320 if (view_count == 1 || view_count > primitive_replication_max_views) in anv_check_for_primitive_replication()
DgenX_pipeline.c2150 int view_count = util_bitcount(rp->view_mask); in emit_3dstate_primitive_replication() local
2151 assert(view_count > 1 && view_count <= MAX_VIEWS_FOR_PRIMITIVE_REPLICATION); in emit_3dstate_primitive_replication()
2154 pr.ReplicaMask = (1 << view_count) - 1; in emit_3dstate_primitive_replication()
2155 pr.ReplicationCount = view_count - 1; in emit_3dstate_primitive_replication()