From: Eric Anholt Date: Sun, 22 Nov 2009 03:30:01 +0000 (+0100) Subject: i965: Remove obsolete comment about the state atoms. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1cefabf98ac25832a420b245549492cc3bc6b4d;p=mesa.git i965: Remove obsolete comment about the state atoms. --- diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c index af8dfb4c15c..d7d4d876de2 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,