i965: remove unused PROGRAM_INTERNAL_PARAM, added comment
authorBrian Paul <brianp@vmware.com>
Fri, 13 Mar 2009 15:15:58 +0000 (09:15 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Mar 2009 15:23:43 +0000 (09:23 -0600)
src/mesa/drivers/dri/i965/brw_wm.h

index c0ffdb10175bc1de2341597bb351a870cfaa9810..7f0e5702f2ebb928e48d3f6f27bf30c602cea3bb 100644 (file)
@@ -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;