mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
gallium/noop: implement invalidate_resource
This commit is contained in:
parent
5040319331
commit
5fe943aaee
1 changed files with 6 additions and 0 deletions
|
|
@ -307,6 +307,11 @@ static boolean noop_generate_mipmap(struct pipe_context *ctx,
|
|||
return true;
|
||||
}
|
||||
|
||||
static void noop_invalidate_resource(struct pipe_context *ctx,
|
||||
struct pipe_resource *resource)
|
||||
{
|
||||
}
|
||||
|
||||
static struct pipe_context *noop_create_context(struct pipe_screen *screen,
|
||||
void *priv, unsigned flags)
|
||||
{
|
||||
|
|
@ -345,6 +350,7 @@ static struct pipe_context *noop_create_context(struct pipe_screen *screen,
|
|||
ctx->transfer_unmap = noop_transfer_unmap;
|
||||
ctx->buffer_subdata = noop_buffer_subdata;
|
||||
ctx->texture_subdata = noop_texture_subdata;
|
||||
ctx->invalidate_resource = noop_invalidate_resource;
|
||||
noop_init_state_functions(ctx);
|
||||
|
||||
return ctx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue