mesa: reorder register file enums
authorBrian Paul <brianp@vmware.com>
Sun, 8 Mar 2009 18:07:41 +0000 (12:07 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 9 Mar 2009 15:42:26 +0000 (09:42 -0600)
src/mesa/main/mtypes.h

index 57b7065b83e4ee1dae21c6e0815a45354e17c1f1..e43a6a82d0246a1136d59cb0042a089ffcfae391 100644 (file)
@@ -1706,15 +1706,15 @@ struct gl_evaluators
 typedef enum
 {
    PROGRAM_TEMPORARY,   /**< machine->Temporary[] */
+   PROGRAM_INPUT,       /**< machine->Inputs[] */
+   PROGRAM_OUTPUT,      /**< machine->Outputs[] */
+   PROGRAM_VARYING,     /**< machine->Inputs[]/Outputs[] */
    PROGRAM_LOCAL_PARAM, /**< gl_program->LocalParams[] */
    PROGRAM_ENV_PARAM,   /**< gl_program->Parameters[] */
    PROGRAM_STATE_VAR,   /**< gl_program->Parameters[] */
-   PROGRAM_INPUT,       /**< machine->Inputs[] */
-   PROGRAM_OUTPUT,      /**< machine->Outputs[] */
    PROGRAM_NAMED_PARAM, /**< gl_program->Parameters[] */
    PROGRAM_CONSTANT,    /**< gl_program->Parameters[] */
    PROGRAM_UNIFORM,     /**< gl_program->Parameters[] */
-   PROGRAM_VARYING,     /**< machine->Inputs[]/Outputs[] */
    PROGRAM_WRITE_ONLY,  /**< A dummy, write-only register */
    PROGRAM_ADDRESS,     /**< machine->AddressReg */
    PROGRAM_SAMPLER,     /**< for shader samplers, compile-time only */