[Mesa-dev] [PATCH 03/13] i965: Remove outdated comment about CACHE_NEW_SURF_BIND dirty bit.

Kenneth Graunke kenneth at whitecape.org
Tue Nov 8 14:32:02 PST 2011

The comment states that brw_update_vs_constant_surface produces a
CACHE_NEW_SURF_BIND dirty bit, but it doesn't.   In fact, that bit
no longer even exists.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
 src/mesa/drivers/dri/i965/brw_vs_surface_state.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c
index 5f94bda..84d3101 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c
@@ -138,8 +138,7 @@ brw_update_vs_constant_surface( struct gl_context *ctx,
  * Vertex shader surfaces (constant buffer).
  * This consumes the state updates for the constant buffer needing
- * to be updated, and produces BRW_NEW_NR_VS_SURFACES for the VS unit and
- * CACHE_NEW_SURF_BIND for the binding table upload.
+ * to be updated, and produces BRW_NEW_NR_VS_SURFACES for the VS unit.
 static void
 brw_upload_vs_surfaces(struct brw_context *brw)

More information about the mesa-dev mailing list