tgsi: add comment about potential code removal

This commit is contained in:
Brian Paul
2010-04-18 10:01:53 -06:00
parent 8fd0e453d7
commit 0490116f96
+6
View File
@@ -1796,6 +1796,12 @@ exec_declaration(struct tgsi_exec_machine *mach,
last = decl->Range.Last;
mask = decl->Declaration.UsageMask;
/* XXX we could remove this special-case code since
* mach->InterpCoefs[first].a0 should already have the
* front/back-face value. But we should first update the
* ureg code to emit the right UsageMask value (WRITEMASK_X).
* Then, we could remove the tgsi_exec_machine::Face field.
*/
if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) {
uint i;