mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
i915g: Don't update I915_HW_PROGRAM in update_framebuffer
It's already going to be updated in update_dst_buf_vars.
This commit is contained in:
parent
762ac0a218
commit
98600c5ff6
1 changed files with 2 additions and 2 deletions
|
|
@ -151,8 +151,7 @@ static void update_framebuffer(struct i915_context *i915)
|
|||
i915->static_dirty |= I915_DST_RECT;
|
||||
}
|
||||
|
||||
/* we also send a new program to make sure the fixup for RGBA surfaces happens */
|
||||
i915->hardware_dirty |= I915_HW_STATIC | I915_HW_PROGRAM;
|
||||
i915->hardware_dirty |= I915_HW_STATIC;
|
||||
|
||||
/* flush the cache in case we sample from the old renderbuffers */
|
||||
i915_set_flush_dirty(i915, I915_FLUSH_CACHE);
|
||||
|
|
@ -244,6 +243,7 @@ static void update_dst_buf_vars(struct i915_context *i915)
|
|||
i915->current.fixup_swizzle != fixup) {
|
||||
i915->current.target_fixup_format = need_fixup;
|
||||
i915->current.fixup_swizzle = fixup;
|
||||
/* we also send a new program to make sure the fixup for RGBA surfaces happens */
|
||||
i915->hardware_dirty |= I915_HW_PROGRAM;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue