projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd0e45
)
tgsi: add comment about potential code removal
author
Brian Paul
<brianp@vmware.com>
Sun, 18 Apr 2010 16:01:53 +0000
(10:01 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sun, 18 Apr 2010 16:02:11 +0000
(10:02 -0600)
src/gallium/auxiliary/tgsi/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_exec.c
b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index f853ea2820e52880fba57a999db9166c762341fb..11045e4ba2f7de98a74649678e5b084e4a1cddbf 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_exec.c
@@
-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;