summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-01-23 17:59:12 -0800
committerEric Anholt <eric@anholt.net>2013-02-11 13:14:51 -0800
commitb9a66da258f5be17d68d8e8466fb2e2fa6ad76e8 (patch)
tree6395e70fab3b21895ebf8bd60a51607d2602f254 /src/mesa/drivers/dri
parente07457d0aec96970a39a2dd1cb4e46da6107eb77 (diff)
downloadexternal_mesa3d-b9a66da258f5be17d68d8e8466fb2e2fa6ad76e8.zip
external_mesa3d-b9a66da258f5be17d68d8e8466fb2e2fa6ad76e8.tar.gz
external_mesa3d-b9a66da258f5be17d68d8e8466fb2e2fa6ad76e8.tar.bz2
i965: Remove some stale comments about the brw_constant_buffer atom.
These have been wrong since f428255bde93a452a7cdd48fba21839c99beb6cb back in 2009! Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_curbe.c6
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_upload.c6
2 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c
index b55453a..b332f19 100644
--- a/src/mesa/drivers/dri/i965/brw_curbe.c
+++ b/src/mesa/drivers/dri/i965/brw_curbe.c
@@ -326,12 +326,6 @@ emit:
ADVANCE_BATCH();
}
-/* This tracked state is unique in that the state it monitors varies
- * dynamically depending on the parameters tracked by the fragment and
- * vertex programs. This is the template used as a starting point,
- * each context will maintain a copy of this internally and update as
- * required.
- */
const struct brw_tracked_state brw_constant_buffer = {
.dirty = {
.mesa = _NEW_PROGRAM_CONSTANTS,
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 5b3930a..1e2a4c3 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -36,12 +36,6 @@
#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.
- */
static const struct brw_tracked_state *gen4_atoms[] =
{
&brw_wm_input_sizes,