Mesa (outputswritten64): Revert " Move vertex shader results above the 32-bit boundry"

Ian Romanick idr at kemper.freedesktop.org
Wed Nov 18 00:28:45 UTC 2009


Module: Mesa
Branch: outputswritten64
Commit: 28dc899a0cc63eafdbb1408b082621085e5248ca
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28dc899a0cc63eafdbb1408b082621085e5248ca

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 17 16:05:12 2009 -0800

Revert "Move vertex shader results above the 32-bit boundry"

This reverts commit 32fda8fe4c5b245a1c6778f6eeca9d418ae63eb8.

This was a temporary hack to help draw out bugs caused by extending
OutputsWritten to 64-bit.  Since several arrays are sized based on
VERT_RESULT_MAX, reveting this commit reduces the size of those arrays
and saves memory.

---

 src/mesa/main/mtypes.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 30aa3df..9d7457f 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -233,7 +233,7 @@ typedef enum
    VERT_RESULT_BFC0 = 13,
    VERT_RESULT_BFC1 = 14,
    VERT_RESULT_EDGE = 15,
-   VERT_RESULT_VAR0 = 32,  /**< shader varying */
+   VERT_RESULT_VAR0 = 16,  /**< shader varying */
    VERT_RESULT_MAX = (VERT_RESULT_VAR0 + MAX_VARYING)
 } gl_vert_result;
 




More information about the mesa-commit mailing list