projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aa04375
)
st/xorg: Silence unused variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 07:02:55 +0000
(23:02 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 07:02:55 +0000
(23:02 -0800)
src/gallium/state_trackers/xorg/xorg_exa.c
patch
|
blob
|
history
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
patch
|
blob
|
history
src/gallium/state_trackers/xorg/xorg_renderer.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_exa.c
b/src/gallium/state_trackers/xorg/xorg_exa.c
index 17a032ee87e6778c6e15348d2006ea1e0966326e..37c234af28fd43713e908cabc18d7060829054e2 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_exa.c
+++ b/
src/gallium/state_trackers/xorg/xorg_exa.c
@@
-515,6
+515,7
@@
ExaCopy(PixmapPtr pDstPixmap, int srcX, int srcY, int dstX, int dstY,
#endif
debug_assert(priv == exa->copy.dst);
#endif
debug_assert(priv == exa->copy.dst);
+ (void) priv;
if (exa->copy.use_surface_copy) {
/* XXX: consider exposing >1 box in surface_copy interface.
if (exa->copy.use_surface_copy) {
/* XXX: consider exposing >1 box in surface_copy interface.
diff --git
a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
index 13a9840bdddf76d15111b78b7883abb7d283c364..cb091992ec18f840fe999d6e6279cee4a6fe7a7f 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
+++ b/
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
@@
-492,6
+492,7
@@
create_fs(struct pipe_context *pipe,
/* it has to be either a fill, a composite op or a yuv conversion */
debug_assert((is_fill ^ is_composite) ^ is_yuv);
/* it has to be either a fill, a composite op or a yuv conversion */
debug_assert((is_fill ^ is_composite) ^ is_yuv);
+ (void) is_yuv;
out = ureg_DECL_output(ureg,
TGSI_SEMANTIC_COLOR,
out = ureg_DECL_output(ureg,
TGSI_SEMANTIC_COLOR,
diff --git
a/src/gallium/state_trackers/xorg/xorg_renderer.c
b/src/gallium/state_trackers/xorg/xorg_renderer.c
index cbb84a8c0da6e844d28b861c5152cd63e25590c7..37c8942cff986002a242461dc424ea2ea6fab3bf 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_renderer.c
+++ b/
src/gallium/state_trackers/xorg/xorg_renderer.c
@@
-437,6
+437,7
@@
void renderer_copy_prepare(struct xorg_renderer *r,
PIPE_TEXTURE_2D,
PIPE_TEXTURE_USAGE_RENDER_TARGET,
0));
PIPE_TEXTURE_2D,
PIPE_TEXTURE_USAGE_RENDER_TARGET,
0));
+ (void) screen;
/* set misc state we care about */
/* set misc state we care about */