svga: remove unused svga_compile_key::texture_msaa field
authorBrian Paul <brianp@vmware.com>
Thu, 31 Mar 2016 20:23:34 +0000 (14:23 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 2 Apr 2016 14:05:20 +0000 (08:05 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_shader.c
src/gallium/drivers/svga/svga_shader.h

index 78eb3f65b618483bd14f65f93e69921c0dceb577..d56cce49de5ebc78f513858dd8150ec22a0ad95b 100644 (file)
@@ -195,7 +195,6 @@ svga_init_shader_key_common(const struct svga_context *svga, unsigned shader,
             }
          }
 
-         key->tex[i].texture_msaa = view->texture->nr_samples > 1;
          if (!svga->curr.sampler[shader][i]->normalized_coords) {
             assert(idx < (1 << 5));  /* width_height_idx:5 bitfield */
             key->tex[i].width_height_idx = idx++;
index 3f915740b1f216462fafd80404fe89bb17105b90..b53a4bf514c0b41c3e5702b3282b5fd678091603 100644 (file)
@@ -99,7 +99,6 @@ struct svga_compile_key
       unsigned unnormalized:1;
       unsigned width_height_idx:5; /**< texture unit */
       unsigned is_array:1;
-      unsigned texture_msaa:1;    /**< A multisample texture? */
       unsigned sprite_texgen:1;
       unsigned swizzle_r:3;
       unsigned swizzle_g:3;