mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 08:30:10 +01:00
r600, compute: Do not overwrite pipe_resource.screen
found by inspection. Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
5b51b2e000
commit
e377037bef
1 changed files with 1 additions and 1 deletions
|
|
@ -961,8 +961,8 @@ struct pipe_resource *r600_compute_global_buffer_create(
|
|||
templ->array_size);
|
||||
|
||||
result->base.b.vtbl = &r600_global_buffer_vtbl;
|
||||
result->base.b.b.screen = screen;
|
||||
result->base.b.b = *templ;
|
||||
result->base.b.b.screen = screen;
|
||||
pipe_reference_init(&result->base.b.b.reference, 1);
|
||||
|
||||
size_in_dw = (templ->width0+3) / 4;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue