Mesa (master): svga: update comment (s/SVGA_NEW_VS_RESULT/ SVGA_NEW_VS_PRESCALE/)

Brian Paul brianp at kemper.freedesktop.org
Thu Aug 16 15:00:40 UTC 2012


Module: Mesa
Branch: master
Commit: d55e0f1ba05252af658ca084769a279c956575b9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d55e0f1ba05252af658ca084769a279c956575b9

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug  9 10:14:51 2012 -0600

svga: update comment (s/SVGA_NEW_VS_RESULT/SVGA_NEW_VS_PRESCALE/)

---

 src/gallium/drivers/svga/svga_state_constants.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_state_constants.c b/src/gallium/drivers/svga/svga_state_constants.c
index 1a67c11..a3d61fb 100644
--- a/src/gallium/drivers/svga/svga_state_constants.c
+++ b/src/gallium/drivers/svga/svga_state_constants.c
@@ -336,7 +336,7 @@ emit_vs_consts(struct svga_context *svga, unsigned dirty)
    /* offset = number of constants in the VS const buffer */
    offset = result->shader->info.file_max[TGSI_FILE_CONSTANT] + 1;
 
-   /* SVGA_NEW_VS_RESULT
+   /* SVGA_NEW_VS_PRESCALE
     * Put the viewport pre-scale/translate values into the const buffer.
     */
    if (key->need_prescale) {




More information about the mesa-commit mailing list