mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
fix misleading MI_FLUSH defn and usage
This commit is contained in:
parent
4e8845fc0c
commit
fea684c533
2 changed files with 4 additions and 4 deletions
|
|
@ -825,9 +825,9 @@
|
|||
#define ST1_MASK (0xffff)
|
||||
|
||||
|
||||
#define MI_FLUSH ((0<<29)|(4<<23))
|
||||
#define FLUSH_MAP_CACHE (1<<0)
|
||||
#define FLUSH_RENDER_CACHE (1<<1)
|
||||
#define MI_FLUSH ((0<<29)|(4<<23))
|
||||
#define FLUSH_MAP_CACHE (1<<0)
|
||||
#define INHIBIT_FLUSH_RENDER_CACHE (1<<2)
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ static void i915_lost_hardware( struct intel_context *intel )
|
|||
|
||||
static GLuint i915_flush_cmd( void )
|
||||
{
|
||||
return MI_FLUSH | FLUSH_MAP_CACHE | FLUSH_RENDER_CACHE;
|
||||
return MI_FLUSH | FLUSH_MAP_CACHE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue