summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-08-07 11:24:02 -0700
committerEric Anholt <eric@anholt.net>2019-08-20 13:31:13 -0700
commit98c58355d31233a1d30bc7b418512af919c5ac8b (patch)
tree107ba996ba95677a29920d1f09fd0e2ea0fbf745
parent553cd82d64c25f5d790a48e082c47b1d523ecfd2 (diff)
tgsi: drop a stale comment
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>
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 0633a4e708c..66dd940466d 100644
--- 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];
}