linker: Update some comments, remove a couple FINISHMEs
This commit is contained in:
@@ -814,7 +814,6 @@ link_shaders(struct glsl_program *prog)
|
|||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
|
||||||
/* FINISHME: Perform inter-stage linking. */
|
|
||||||
prog->_LinkedShaders = (struct glsl_shader **)
|
prog->_LinkedShaders = (struct glsl_shader **)
|
||||||
calloc(2, sizeof(struct glsl_shader *));
|
calloc(2, sizeof(struct glsl_shader *));
|
||||||
prog->_NumLinkedShaders = 0;
|
prog->_NumLinkedShaders = 0;
|
||||||
@@ -829,6 +828,10 @@ link_shaders(struct glsl_program *prog)
|
|||||||
prog->_NumLinkedShaders++;
|
prog->_NumLinkedShaders++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Here begins the inter-stage linking phase. Some initial validation is
|
||||||
|
* performed, then locations are assigned for uniforms, attributes, and
|
||||||
|
* varyings.
|
||||||
|
*/
|
||||||
if (cross_validate_uniforms(prog)) {
|
if (cross_validate_uniforms(prog)) {
|
||||||
/* Validate the inputs of each stage with the output of the preceeding
|
/* Validate the inputs of each stage with the output of the preceeding
|
||||||
* stage.
|
* stage.
|
||||||
@@ -862,8 +865,6 @@ link_shaders(struct glsl_program *prog)
|
|||||||
|
|
||||||
/* FINISHME: Assign fragment shader output locations. */
|
/* FINISHME: Assign fragment shader output locations. */
|
||||||
|
|
||||||
/* FINISHME: Generate code here. */
|
|
||||||
|
|
||||||
done:
|
done:
|
||||||
free(vert_shader_list);
|
free(vert_shader_list);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user