Mesa (master): i965: Add missing DEFINE_BITS for brw dirty bits.
Kenneth Graunke
kwg at kemper.freedesktop.org
Wed Feb 9 00:56:59 UTC 2011
Module: Mesa
Branch: master
Commit: f6f04ae29c25ec93ee7e28bd8525e43332262e28
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6f04ae29c25ec93ee7e28bd8525e43332262e28
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Feb 8 16:56:07 2011 -0800
i965: Add missing DEFINE_BITS for brw dirty bits.
These are only used for debugging, but should be there.
Found by inspection.
---
src/mesa/drivers/dri/i965/brw_state_upload.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 1a5eb3b..9d120cf 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -278,6 +278,10 @@ static struct dirty_bit_map brw_bits[] = {
DEFINE_BIT(BRW_NEW_VERTICES),
DEFINE_BIT(BRW_NEW_BATCH),
DEFINE_BIT(BRW_NEW_DEPTH_BUFFER),
+ DEFINE_BIT(BRW_NEW_NR_WM_SURFACES),
+ DEFINE_BIT(BRW_NEW_NR_VS_SURFACES),
+ DEFINE_BIT(BRW_NEW_VS_CONSTBUF),
+ DEFINE_BIT(BRW_NEW_WM_CONSTBUF),
{0, 0, 0}
};
More information about the mesa-commit
mailing list