projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
553cd82
)
tgsi: drop a stale comment
author
Eric Anholt
<eric@anholt.net>
Wed, 7 Aug 2019 18:24:02 +0000
(11:24 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 20 Aug 2019 20:31:13 +0000
(13:31 -0700)
This was fixed in
912ed84f8338
("tgsi: move to using vector for system
values.")
Acked-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
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 0633a4e708c64ba81cd1cdeda4d02a1238619389..66dd940466d67452047e6dfe908ed384324f992c 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_exec.c
@@
-1588,9
+1588,6
@@
fetch_src_file_channel(const struct tgsi_exec_machine *mach,
break;
case TGSI_FILE_SYSTEM_VALUE:
- /* XXX no swizzling at this point. Will be needed if we put
- * gl_FragCoord, for example, in a sys value register.
- */
for (i = 0; i < TGSI_QUAD_SIZE; i++) {
chan->u[i] = mach->SystemValue[index->i[i]].xyzw[swizzle].u[i];
}