Mesa (master): i965: remove unused PROGRAM_INTERNAL_PARAM, added comment
Brian Paul
brianp at kemper.freedesktop.org
Fri Mar 13 15:26:03 UTC 2009
Module: Mesa
Branch: master
Commit: 2cf296186e2a2a635a461b2498d4afa7762656f5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cf296186e2a2a635a461b2498d4afa7762656f5
Author: Brian Paul <brianp at vmware.com>
Date: Fri Mar 13 09:15:58 2009 -0600
i965: remove unused PROGRAM_INTERNAL_PARAM, added comment
---
src/mesa/drivers/dri/i965/brw_wm.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index c0ffdb1..7f0e570 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -149,8 +149,6 @@ struct brw_wm_instruction {
};
-#define PROGRAM_INTERNAL_PARAM
-
#define BRW_WM_MAX_INSN (MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS*3 + FRAG_ATTRIB_MAX + 3)
#define BRW_WM_MAX_GRF 128 /* hardware limit */
#define BRW_WM_MAX_VREG (BRW_WM_MAX_INSN * 4)
@@ -249,7 +247,7 @@ struct brw_wm_compile {
struct brw_reg stack;
struct brw_reg emit_mask_reg;
- GLuint reg_index;
+ GLuint reg_index; /**< Index of next free GRF register */
GLuint tmp_regs[BRW_WM_MAX_GRF];
GLuint tmp_index;
GLuint tmp_max;
More information about the mesa-commit
mailing list