Mesa (master): i965: Remove obsolete comment about the state atoms.
Eric Anholt
anholt at kemper.freedesktop.org
Tue Jan 19 20:33:32 UTC 2010
Module: Mesa
Branch: master
Commit: d1cefabf98ac25832a420b245549492cc3bc6b4d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1cefabf98ac25832a420b245549492cc3bc6b4d
Author: Eric Anholt <eric at anholt.net>
Date: Sun Nov 22 04:30:01 2009 +0100
i965: Remove obsolete comment about the state atoms.
---
src/mesa/drivers/dri/i965/brw_state_upload.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index af8dfb4..d7d4d87 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -36,13 +36,7 @@
#include "intel_batchbuffer.h"
#include "intel_buffers.h"
-/* This is used to initialize brw->state.atoms[]. We could use this
- * list directly except for a single atom, brw_constant_buffer, which
- * has a .dirty value which changes according to the parameters of the
- * current fragment and vertex programs, and so cannot be a static
- * value.
- */
-const struct brw_tracked_state *atoms[] =
+static const struct brw_tracked_state *atoms[] =
{
&brw_check_fallback,
More information about the mesa-commit
mailing list