summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-09-02 18:39:21 -0400
committerZack Rusin <[email protected]>2009-09-02 18:39:21 -0400
commit206eb504930e5c5f8c947949bcaf20b11627fac7 (patch)
treec44ec3892dd649ab626ed84aeb00ec259d51210a /src
parentd6b58a97c2f94ca54852414103c4ac2832279f2f (diff)
st/xorg: fix warnings
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa_tgsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
index 4fe8a30e3de..38b3a3aaab9 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
+++ b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
@@ -146,13 +146,13 @@ create_fs(struct pipe_context *pipe,
unsigned fs_traits)
{
struct ureg_program *ureg;
- struct ureg_src dst_sampler, src_sampler, mask_sampler;
- struct ureg_src dst_pos, src_pos, mask_pos;
+ struct ureg_src /*dst_sampler,*/ src_sampler, mask_sampler;
+ struct ureg_src /*dst_pos,*/ src_pos, mask_pos;
struct ureg_src src, mask;
struct ureg_dst out;
boolean is_fill = fs_traits & VS_FILL;
boolean is_composite = fs_traits & VS_COMPOSITE;
- boolean has_mask = fs_traits & VS_MASK;
+ /*boolean has_mask = fs_traits & VS_MASK;*/
ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
if (ureg == NULL)