mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 14:08:05 +02:00
i915: Absolute HW offset for static state instead of relative to batch_start.
With the corresponding Mesa change, I can see rendering from the HWB, if not quite correct yet...
This commit is contained in:
parent
0db4b34424
commit
b04896ca96
1 changed files with 1 additions and 2 deletions
|
|
@ -1313,8 +1313,7 @@ static int i915_hwz_render(drm_device_t *dev, struct drm_i915_hwz_render *render
|
|||
|
||||
BEGIN_RING(&dev_priv->ring, 4);
|
||||
OUT_RING(GFX_OP_LOAD_INDIRECT | (1<<8) | (0<<14) | 1);
|
||||
OUT_RING((render->batch_start + render->static_state_offset) |
|
||||
(1<<1) | (1<<0));
|
||||
OUT_RING(render->static_state_offset | (1<<1) | (1<<0));
|
||||
OUT_RING(render->static_state_size - 1);
|
||||
OUT_RING(0);
|
||||
ADVANCE_RING();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue