mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
virgl: remove unnessecary code
With commit 89b479, we moved to tracking buffer cleanliness when binding. TEST=dEQP-GLES31.functional.image_load_store.buffer.load_store.r32ui Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
This commit is contained in:
parent
6d13d1aadb
commit
6e7d396ad3
1 changed files with 0 additions and 3 deletions
|
|
@ -163,9 +163,6 @@ struct pipe_resource *virgl_buffer_create(struct virgl_screen *vs,
|
|||
vbind = pipe_to_virgl_bind(template->bind);
|
||||
size = template->width0;
|
||||
|
||||
/* SSBOs and texture buffers can written to by host compute shaders. */
|
||||
if (vbind == VIRGL_BIND_SHADER_BUFFER || vbind == VIRGL_BIND_SAMPLER_VIEW)
|
||||
buf->base.clean = FALSE;
|
||||
buf->base.hw_res = vs->vws->resource_create(vs->vws, template->target, template->format, vbind, template->width0, 1, 1, 1, 0, 0, size);
|
||||
|
||||
util_range_set_empty(&buf->valid_buffer_range);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue