• Home
  • Raw
  • Download

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()
53 for (i = 0; i < ARRAY_SIZE(linkage->prevShader.output_map); i++) { in svga_link_shaders()
54 linkage->prevShader.output_map[i] = INVALID_INDEX; in svga_link_shaders()
79 linkage->input_map[i] = j; in svga_link_shaders()
80 linkage->prevShader.output_map[j] = i; in svga_link_shaders()
92 linkage->input_map[i] = out_index; in svga_link_shaders()
93 linkage->prevShader.output_map[out_index] = i; in svga_link_shaders()
95 free_slot = MAX2(free_slot, linkage->input_map[i] + 1); in svga_link_shaders()
100 linkage->position_index = 0; in svga_link_shaders()
103 linkage->position_index = i; in svga_link_shaders()
108 linkage->num_inputs = inshader_info->num_inputs; in svga_link_shaders()
109 linkage->prevShader.num_outputs = outshader_info->num_outputs; in svga_link_shaders()
113 if (linkage->input_map[i] == INVALID_INDEX) { in svga_link_shaders()
115 linkage->input_map[i] = j; in svga_link_shaders()
116 linkage->prevShader.output_map[j] = i; in svga_link_shaders()
119 linkage->input_map_max = free_slot - 1; in svga_link_shaders()
128 linkage->num_inputs, linkage->input_map_max, in svga_link_shaders()
129 linkage->prevShader.num_outputs); in svga_link_shaders()
131 for (i = 0; i < linkage->num_inputs; i++) { in svga_link_shaders()
133 assert(linkage->input_map[i] != INVALID_INDEX); in svga_link_shaders()
137 linkage->input_map[i], in svga_link_shaders()
143 assert((reg & (one << linkage->input_map[i])) == 0); in svga_link_shaders()
144 reg |= one << linkage->input_map[i]; in svga_link_shaders()