projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7ac28
)
svga: replace 0 with PIPE_OK in a few places
author
Brian Paul
<brianp@vmware.com>
Mon, 26 Aug 2013 21:49:16 +0000
(15:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 26 Aug 2013 21:49:16 +0000
(15:49 -0600)
src/gallium/drivers/svga/svga_state_need_swtnl.c
patch
|
blob
|
history
src/gallium/drivers/svga/svga_state_tss.c
patch
|
blob
|
history
src/gallium/drivers/svga/svga_swtnl_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_state_need_swtnl.c
b/src/gallium/drivers/svga/svga_state_need_swtnl.c
index 38ed77cfff0199aaded0cb1dc1b13aa1c7e6c342..c0bfd2c14d06f14a480e97201ba1ee5c290e498f 100644
(file)
--- a/
src/gallium/drivers/svga/svga_state_need_swtnl.c
+++ b/
src/gallium/drivers/svga/svga_state_need_swtnl.c
@@
-74,7
+74,7
@@
update_need_swvfetch(struct svga_context *svga, unsigned dirty)
if (!svga->curr.velems) {
/* No vertex elements bound. */
- return
0
;
+ return
PIPE_OK
;
}
for (i = 0; i < svga->curr.velems->count; i++) {
diff --git
a/src/gallium/drivers/svga/svga_state_tss.c
b/src/gallium/drivers/svga/svga_state_tss.c
index 861a0dff03b333427843ee5e2278fc67d134d4c6..137e2086c0c5bf32374d6cbb4af9ea40391d6583 100644
(file)
--- a/
src/gallium/drivers/svga/svga_state_tss.c
+++ b/
src/gallium/drivers/svga/svga_state_tss.c
@@
-164,7
+164,7
@@
update_tss_binding(struct svga_context *svga,
svga->rebind.texture_samplers = FALSE;
- return
0
;
+ return
PIPE_OK
;
fail:
return PIPE_ERROR_OUT_OF_MEMORY;
diff --git
a/src/gallium/drivers/svga/svga_swtnl_state.c
b/src/gallium/drivers/svga/svga_swtnl_state.c
index d60af3fb8343c439497eaef073dc56c126baa9bf..d66f1a1515a441a5640b49015075f4a547f253fa 100644
(file)
--- a/
src/gallium/drivers/svga/svga_swtnl_state.c
+++ b/
src/gallium/drivers/svga/svga_swtnl_state.c
@@
-125,7
+125,7
@@
update_swtnl_draw( struct svga_context *svga,
draw_set_mrd(svga->swtnl.draw,
svga->curr.depthscale);
- return
0
;
+ return
PIPE_OK
;
}
@@
-223,12
+223,12
@@
svga_swtnl_update_vdecl( struct svga_context *svga )
vdecl[i].array.stride = offset;
if (memcmp(svga_render->vdecl, vdecl, sizeof(vdecl)) == 0)
- return
0
;
+ return
PIPE_OK
;
memcpy(svga_render->vdecl, vdecl, sizeof(vdecl));
svga->swtnl.new_vdecl = TRUE;
- return
0
;
+ return
PIPE_OK
;
}