mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 09:10:32 +01:00
i965: Remove BRW_WM_LOCK dirty bit, introduced to work around lack of relocs.
This was causing a prepare of wm state at every primitive emit.
This commit is contained in:
parent
3f973de07c
commit
287d719a93
4 changed files with 1 additions and 6 deletions
|
|
@ -133,7 +133,6 @@ struct brw_context;
|
|||
#define BRW_NEW_PSP 0x800
|
||||
#define BRW_NEW_METAOPS 0x1000
|
||||
#define BRW_NEW_FENCE 0x2000
|
||||
#define BRW_NEW_LOCK 0x4000
|
||||
#define BRW_NEW_INDICES 0x8000
|
||||
#define BRW_NEW_VERTICES 0x10000
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -235,7 +235,6 @@ static struct dirty_bit_map brw_bits[] = {
|
|||
DEFINE_BIT(BRW_NEW_PSP),
|
||||
DEFINE_BIT(BRW_NEW_METAOPS),
|
||||
DEFINE_BIT(BRW_NEW_FENCE),
|
||||
DEFINE_BIT(BRW_NEW_LOCK),
|
||||
DEFINE_BIT(BRW_NEW_INDICES),
|
||||
DEFINE_BIT(BRW_NEW_VERTICES),
|
||||
DEFINE_BIT(BRW_NEW_BATCH),
|
||||
|
|
|
|||
|
|
@ -171,8 +171,6 @@ static void brw_note_unlock( struct intel_context *intel )
|
|||
struct brw_context *brw = brw_context(&intel->ctx);
|
||||
|
||||
brw_state_cache_check_size(brw);
|
||||
|
||||
brw_context(&intel->ctx)->state.dirty.brw |= BRW_NEW_LOCK;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -280,8 +280,7 @@ const struct brw_tracked_state brw_wm_unit = {
|
|||
_NEW_COLOR),
|
||||
|
||||
.brw = (BRW_NEW_FRAGMENT_PROGRAM |
|
||||
BRW_NEW_CURBE_OFFSETS |
|
||||
BRW_NEW_LOCK),
|
||||
BRW_NEW_CURBE_OFFSETS),
|
||||
|
||||
.cache = (CACHE_NEW_SURFACE |
|
||||
CACHE_NEW_WM_PROG |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue