diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 17:01:23 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-25 20:32:45 -0600 |
commit | aaac436c6c06232e383d5cee3c6dfc69eb820c83 (patch) | |
tree | e04daf73b5d6786d8897a8f40a04117f19e23ba8 | |
parent | 3dde3715db671e32261bfb8b11fb599e5a0e6c5a (diff) | |
download | external_mesa3d-aaac436c6c06232e383d5cee3c6dfc69eb820c83.zip external_mesa3d-aaac436c6c06232e383d5cee3c6dfc69eb820c83.tar.gz external_mesa3d-aaac436c6c06232e383d5cee3c6dfc69eb820c83.tar.bz2 |
added some comments
-rw-r--r-- | src/mesa/pipe/tgsi/exec/tgsi_exec.c | 3 | ||||
-rw-r--r-- | src/mesa/pipe/tgsi/exec/tgsi_exec.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c index 24ee980..d5a2639 100644 --- a/src/mesa/pipe/tgsi/exec/tgsi_exec.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.c @@ -65,6 +65,9 @@ #define TILE_BOTTOM_LEFT 2 #define TILE_BOTTOM_RIGHT 3 +/* + * Shorthand locations of various utility registers (_I = Index, _C = Channel) + */ #define TEMP_0_I TGSI_EXEC_TEMP_00000000_I #define TEMP_0_C TGSI_EXEC_TEMP_00000000_C #define TEMP_7F_I TGSI_EXEC_TEMP_7FFFFFFF_I diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.h b/src/mesa/pipe/tgsi/exec/tgsi_exec.h index 978c2d5..6c1d368 100644 --- a/src/mesa/pipe/tgsi/exec/tgsi_exec.h +++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.h @@ -53,6 +53,9 @@ struct tgsi_exec_labels unsigned count; }; +/* + * Locations of various utility registers (_I = Index, _C = Channel) + */ #define TGSI_EXEC_TEMP_00000000_I 32 #define TGSI_EXEC_TEMP_00000000_C 0 |