From 98c58355d31233a1d30bc7b418512af919c5ac8b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 7 Aug 2019 11:24:02 -0700 Subject: [PATCH] tgsi: drop a stale comment This was fixed in 912ed84f8338 ("tgsi: move to using vector for system values.") Acked-by: Eric Engestrom Reviewed-By: Gert Wollny --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 3 --- 1 file changed, 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]; } -- 2.30.2