Searched refs:img_idx (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_descriptor_set.c | 67 unsigned dynoffset_idx = 0, img_idx = 0; in panvk_GetDescriptorSetLayoutSupport() local 98 img_idx += binding->descriptorCount; in panvk_GetDescriptorSetLayoutSupport() 111 img_idx > PANVK_MAX_IMAGES / MAX_SETS) in panvk_GetDescriptorSetLayoutSupport() 140 unsigned dyn_ubo_idx = 0, dyn_ssbo_idx = 0, img_idx = 0; in panvk_CreatePipelineLayout() local 150 layout->sets[set].img_offset = img_idx; in panvk_CreatePipelineLayout() 156 img_idx += set_layout->num_imgs; in panvk_CreatePipelineLayout() 187 layout->num_imgs = img_idx; in panvk_CreatePipelineLayout()
|
D | panvk_vX_descriptor_set.c | 130 unsigned dyn_ubo_idx = 0, dyn_ssbo_idx = 0, img_idx = 0; in panvk_per_arch() local 190 binding_layout->img_idx = img_idx; in panvk_per_arch() 191 img_idx += binding_layout->array_size; in panvk_per_arch() 195 binding_layout->img_idx = img_idx; in panvk_per_arch() 196 img_idx += binding_layout->array_size; in panvk_per_arch() 218 set_layout->num_imgs = img_idx; in panvk_per_arch() 506 return binding_layout->img_idx + elem; in panvk_img_idx() 518 unsigned img_idx = panvk_img_idx(set, binding, elem); in panvk_write_img_desc() local 520 (pan_size(ATTRIBUTE_BUFFER) * 2 * img_idx); in panvk_write_img_desc() 522 set->img_fmts[img_idx] = pdev->formats[view->pview.format].hw; in panvk_write_img_desc() [all …]
|
D | panvk_vX_cmd_buffer.c | 546 unsigned img_idx = pipeline->layout->sets[s].img_offset; in panvk_fill_non_vs_attribs() local 547 unsigned offset = img_idx * pan_size(ATTRIBUTE_BUFFER) * 2; in panvk_fill_non_vs_attribs() 552 offset = img_idx * pan_size(ATTRIBUTE); in panvk_fill_non_vs_attribs() 555 cfg.buffer_index = first_buf + (img_idx + i) * 2; in panvk_fill_non_vs_attribs()
|
D | panvk_vX_nir_lower_descriptors.c | 535 bind_layout->img_idx; in get_img_index()
|
D | panvk_private.h | 352 unsigned img_idx; member
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program.c | 492 unsigned img_idx[PIPE_MAX_SHADER_IMAGES]; in iris_setup_uniforms() local 496 memset(img_idx, -1, sizeof(img_idx)); in iris_setup_uniforms() 583 if (img_idx[var->data.binding] == -1) { in iris_setup_uniforms() 591 img_idx[img] = num_system_values; in iris_setup_uniforms() 594 uint32_t *img_sv = &system_values[img_idx[img]]; in iris_setup_uniforms() 618 img_idx[var->data.binding] * 4 + in iris_setup_uniforms()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_program.c | 459 unsigned img_idx[PIPE_MAX_SHADER_IMAGES]; in crocus_setup_uniforms() local 462 memset(img_idx, -1, sizeof(img_idx)); in crocus_setup_uniforms() 546 if (img_idx[var->data.binding] == -1) { in crocus_setup_uniforms() 554 img_idx[img] = num_system_values; in crocus_setup_uniforms() 557 uint32_t *img_sv = &system_values[img_idx[img]]; in crocus_setup_uniforms() 580 nir_imm_int(&b, img_idx[var->data.binding] * 4 + in crocus_setup_uniforms()
|