Lines Matching refs:index
325 var->data.index = 1;
640 fbfetch->data.index = 0; /* fix this if more than 1 fbfetch target is supported */
1691 nir_ssa_def *index = deref->arr.index.ssa;
1692 /* this might be an indirect array index:
1698 nir_push_if(&b, nir_ieq_imm(&b, index, idx));
1751 nir_ssa_def *index = deref->arr.index.ssa;
1752 /* this might be an indirect array index:
1755 * - phi the loads using the array index
1762 nir_push_if(&b, nir_ieq_imm(&b, index, idx));
1772 /* component index */
1891 nir_ssa_def *dest = &nir_build_deref_var(&b, members[deref->strct.index])->dest.ssa;
2554 zink_binding(gl_shader_stage stage, VkDescriptorType type, int index, bool compact_descriptors)
2562 return stage * 2 + !!index;
2566 assert(index < PIPE_MAX_SAMPLERS);
2567 return (stage * PIPE_MAX_SAMPLERS) + index;
2574 assert(index < ZINK_MAX_SHADER_IMAGES);
2575 return (stage * ZINK_MAX_SHADER_IMAGES) + index + (compact_descriptors * (ZINK_SHADER_COUNT * PIPE_MAX_SAMPLERS));
3134 ret->bindings[ztype][ret->num_bindings[ztype]].index = var->data.driver_location;
3147 ret->bindings[ztype][ret->num_bindings[ztype]].index = var->data.driver_location;
3167 ret->bindings[ztype][ret->num_bindings[ztype]].index = var->data.driver_location;