projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5040319
)
gallium/noop: implement invalidate_resource
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 27 Jul 2018 06:34:30 +0000
(
02:34
-0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 27 Jul 2018 20:31:56 +0000
(16:31 -0400)
src/gallium/auxiliary/driver_noop/noop_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/driver_noop/noop_pipe.c
b/src/gallium/auxiliary/driver_noop/noop_pipe.c
index d1e795dab16309370054ba17d2bb4c5464637122..9e39e65b4d004087943164041eb6211567fb9318 100644
(file)
--- a/
src/gallium/auxiliary/driver_noop/noop_pipe.c
+++ b/
src/gallium/auxiliary/driver_noop/noop_pipe.c
@@
-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;