projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7448342
)
gallium/noop: fix sampler views
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 8 Jun 2017 00:26:28 +0000
(
02:26
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 12 Jun 2017 16:24:37 +0000
(18:24 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/noop/noop_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/noop/noop_state.c
b/src/gallium/drivers/noop/noop_state.c
index 46d99abe1a4e4b8961fc02798817b0474bdedf59..80cfae8ad4938f59f56b9dea4519695465cead3d 100644
(file)
--- a/
src/gallium/drivers/noop/noop_state.c
+++ b/
src/gallium/drivers/noop/noop_state.c
@@
-76,7
+76,10
@@
static struct pipe_sampler_view *noop_create_sampler_view(struct pipe_context *c
if (!sampler_view)
return NULL;
+
/* initialize base object */
+ *sampler_view = *state;
+ sampler_view->texture = NULL;
pipe_resource_reference(&sampler_view->texture, texture);
pipe_reference_init(&sampler_view->reference, 1);
sampler_view->context = ctx;