mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i915: Fix logic !gen >= 3
The effect of this was that all objects were aligned to 128 bytes on all generations, rather than just gen2. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
ac6ce53af7
commit
415b7c7775
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ void intel_flush_prim(struct intel_context *intel)
|
|||
intel->prim.count = 0;
|
||||
offset = intel->prim.start_offset;
|
||||
intel->prim.start_offset = intel->prim.current_offset;
|
||||
if (!intel->gen >= 3)
|
||||
if (intel->gen < 3)
|
||||
intel->prim.start_offset = ALIGN(intel->prim.start_offset, 128);
|
||||
intel->prim.flush = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue