[Mesa-dev] [PATCH 2/4] svga: update comment (s/SVGA_NEW_VS_RESULT/SVGA_NEW_VS_PRESCALE/)

Brian Paul brianp at vmware.com
Thu Aug 9 09:15:27 PDT 2012


---
 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) {
-- 
1.7.3.4



More information about the mesa-dev mailing list