Lines Matching refs:linkage
45 struct shader_linkage *linkage) in svga_link_shaders() argument
49 for (i = 0; i < ARRAY_SIZE(linkage->input_map); i++) { in svga_link_shaders()
50 linkage->input_map[i] = INVALID_INDEX; in svga_link_shaders()
73 linkage->input_map[i] = outshader_info->num_outputs + 1 + sem_index; in svga_link_shaders()
75 free_slot = MAX2(free_slot, linkage->input_map[i] + 1); in svga_link_shaders()
83 linkage->input_map[i] = j; in svga_link_shaders()
90 linkage->num_inputs = inshader_info->num_inputs; in svga_link_shaders()
94 if (linkage->input_map[i] == INVALID_INDEX) { in svga_link_shaders()
96 linkage->input_map[i] = j; in svga_link_shaders()
105 for (i = 0; i < linkage->num_inputs; i++) { in svga_link_shaders()
107 assert(linkage->input_map[i] != INVALID_INDEX); in svga_link_shaders()
111 linkage->input_map[i], in svga_link_shaders()
117 if (reg & 1 << linkage->input_map[i]) { in svga_link_shaders()
120 reg |= 1 << linkage->input_map[i]; in svga_link_shaders()