OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad7477
)
r600g: fix incorrect state naming in pipe_sampler vs pipe_sampler_view
author
Dave Airlie
<airlied@redhat.com>
Thu, 2 Sep 2010 01:16:31 +0000
(11:16 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 2 Sep 2010 01:17:37 +0000
(11:17 +1000)
fixes problems in valgrind with uninitialised values.
src/gallium/drivers/r600/r600_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state.c
b/src/gallium/drivers/r600/r600_state.c
index
4f00cfb
..
8885077
100644
(file)
--- a/
src/gallium/drivers/r600/r600_state.c
+++ b/
src/gallium/drivers/r600/r600_state.c
@@
-92,7
+92,7
@@
static struct pipe_sampler_view *r600_create_sampler_view(struct pipe_context *c
struct r600_context *rctx = r600_context(ctx);
struct r600_context_state *rstate;
- rstate = r600_context_state(rctx, pipe_sampler_type, state);
+ rstate = r600_context_state(rctx, pipe_sampler_
view_
type, state);
pipe_reference(NULL, &texture->reference);
rstate->state.sampler_view.texture = texture;
rstate->state.sampler_view.reference.count = 1;