From aaac436c6c06232e383d5cee3c6dfc69eb820c83 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 24 Oct 2007 17:01:23 -0600 Subject: added some comments --- src/mesa/pipe/tgsi/exec/tgsi_exec.c | 3 +++ src/mesa/pipe/tgsi/exec/tgsi_exec.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/mesa/pipe') diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c index 24ee98061d..d5a2639af1 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 978c2d574e..6c1d368342 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 -- cgit v1.2.3