asahi: Mark writeable images as such
ail needs this information to select the appropriate layout. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
This commit is contained in:
committed by
Marge Bot
parent
16f081bf2a
commit
92cd946028
@@ -163,6 +163,7 @@ agx_resource_setup(struct agx_device *dev, struct agx_resource *nresource)
|
||||
.depth_px = templ->depth0 * templ->array_size,
|
||||
.sample_count_sa = MAX2(templ->nr_samples, 1),
|
||||
.levels = templ->last_level + 1,
|
||||
.writeable_image = templ->bind & PIPE_BIND_SHADER_IMAGE,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user