mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
gallium: rename transfer flags -> map flags in comments
Acked-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5749>
This commit is contained in:
parent
3586068557
commit
31765340fd
2 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@
|
|||
struct threaded_context;
|
||||
struct tc_unflushed_batch_token;
|
||||
|
||||
/* These are transfer flags sent to drivers. */
|
||||
/* These are map flags sent to drivers. */
|
||||
/* Never infer whether it's safe to use unsychronized mappings: */
|
||||
#define TC_TRANSFER_MAP_NO_INFER_UNSYNCHRONIZED (1u << 29)
|
||||
/* Don't invalidate buffers: */
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ etna_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc,
|
|||
* resources, but only if the RS can blit them. */
|
||||
if (usage & PIPE_MAP_DIRECTLY) {
|
||||
slab_free(&ctx->transfer_pool, trans);
|
||||
BUG("unsupported transfer flags %#x with tile status/tiled layout", usage);
|
||||
BUG("unsupported map flags %#x with tile status/tiled layout", usage);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue