Home
last modified time | relevance | path

Searched refs:ubo_idx (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_descriptor_set.c66 unsigned sampler_idx = 0, tex_idx = 0, ubo_idx = 0; in panvk_GetDescriptorSetLayoutSupport() local
89 ubo_idx += binding->descriptorCount; in panvk_GetDescriptorSetLayoutSupport()
110 ubo_idx > PANVK_MAX_UBOS / MAX_SETS || in panvk_GetDescriptorSetLayoutSupport()
139 unsigned sampler_idx = 0, tex_idx = 0, ubo_idx = 0; in panvk_CreatePipelineLayout() local
147 layout->sets[set].ubo_offset = ubo_idx; in panvk_CreatePipelineLayout()
153 ubo_idx += set_layout->num_ubos; in panvk_CreatePipelineLayout()
184 layout->num_ubos = ubo_idx; in panvk_CreatePipelineLayout()
Dpanvk_vX_descriptor_set.c129 unsigned sampler_idx = 0, tex_idx = 0, ubo_idx = 0; in panvk_per_arch() local
179 binding_layout->ubo_idx = ubo_idx; in panvk_per_arch()
180 ubo_idx += binding_layout->array_size; in panvk_per_arch()
211 set_layout->desc_ubo_index = ubo_idx++; in panvk_per_arch()
215 set_layout->num_ubos = ubo_idx; in panvk_per_arch()
574 unsigned ubo_idx = binding_layout->ubo_idx + elem; in panvk_ubo_desc() local
576 return &((struct mali_uniform_buffer_packed *)set->ubos)[ubo_idx]; in panvk_ubo_desc()
Dpanvk_private.h357 unsigned ubo_idx; member
461 const uint32_t ubo_idx = is_dynamic ? binding_layout->dyn_ubo_idx : in panvk_pipeline_layout_ubo_index() local
462 binding_layout->ubo_idx; in panvk_pipeline_layout_ubo_index()
465 ubo_idx + array_index; in panvk_pipeline_layout_ubo_index()
864 unsigned ubo_idx; member
Dpanvk_vX_nir_lower_descriptors.c112 const unsigned ubo_idx = in build_res_index() local
115 const uint32_t packed = (array_size - 1) << 16 | ubo_idx; in build_res_index()
144 const unsigned ubo_idx = PANVK_SYSVAL_UBO_INDEX; in build_res_index() local
149 const uint32_t packed = (desc_stride << 16) | ubo_idx; in build_res_index()
Dpanvk_vX_pipeline.c246 pipeline->sysvals[stage].ubo_idx = shader->sysval_ubo; in panvk_pipeline_builder_init_sysvals()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_uniforms_to_ubo.c57 nir_ssa_def *ubo_idx = nir_imm_int(b, 0); in lower_instr() local
68 ubo_idx, uniform_offset, .base=nir_intrinsic_base(instr)); in lower_instr()
75 ubo_idx, in lower_instr()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c550 nir_ssa_def *ubo_idx = nir_imm_int(b, binding); in lower_instr() local
554 ubo_idx, ubo_offset, in lower_instr()