i965: Fix a bad comment in gen6 sol setup.
authorEric Anholt <eric@anholt.net>
Tue, 21 Feb 2012 21:04:12 +0000 (13:04 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 21 Feb 2012 21:30:46 +0000 (13:30 -0800)
This was copy and paste from the VS where I had similar code.  We're
only looking at things derived from BRW_NEW_VERTEX_PROGRAM in this
block.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_sol.c

index fbd8e71631f465c5b5a6641e55b3f7f045b1904c..187ddfd4697241893735207ad5ce62cf4508f57d 100644 (file)
@@ -94,9 +94,7 @@ brw_gs_upload_binding_table(struct brw_context *brw)
 
    uint32_t *bind;
 
-   /* CACHE_NEW_GS_PROG: Skip making a binding table if we don't use textures or
-    * pull constants.
-    */
+   /* Skip making a binding table if we don't have anything to put in it. */
    if (!has_surfaces) {
       if (brw->gs.bind_bo_offset != 0) {
         brw->state.dirty.brw |= BRW_NEW_GS_BINDING_TABLE;