st/xorg: fix warnings
authorZack Rusin <zackr@vmware.com>
Wed, 2 Sep 2009 22:39:21 +0000 (18:39 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 2 Sep 2009 22:39:21 +0000 (18:39 -0400)
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c

index 4fe8a30..38b3a3a 100644 (file)
@@ -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)