mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
i915: Fix most of the clear problems
trivial/clear-undefined still fails
This commit is contained in:
parent
39bd7eb6dc
commit
c341094921
2 changed files with 2 additions and 0 deletions
|
|
@ -44,4 +44,5 @@ i915_clear(struct pipe_context *pipe, struct pipe_surface *ps,
|
|||
unsigned clearValue)
|
||||
{
|
||||
pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
|
||||
ps->status = PIPE_SURFACE_STATUS_DEFINED;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -635,6 +635,7 @@ i915_get_tex_surface(struct pipe_screen *screen,
|
|||
ps->pitch = tex->pitch;
|
||||
ps->offset = offset;
|
||||
ps->usage = flags;
|
||||
ps->status = PIPE_SURFACE_STATUS_DEFINED;
|
||||
}
|
||||
return ps;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue