[Mesa-dev] [PATCH 3/3] svga: remove unused svga_compile_key::texture_msaa field
Brian Paul
brianp at vmware.com
Fri Apr 1 18:01:12 UTC 2016
---
src/gallium/drivers/svga/svga_shader.c | 1 -
src/gallium/drivers/svga/svga_shader.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/gallium/drivers/svga/svga_shader.c b/src/gallium/drivers/svga/svga_shader.c
index 78eb3f6..d56cce4 100644
--- a/src/gallium/drivers/svga/svga_shader.c
+++ b/src/gallium/drivers/svga/svga_shader.c
@@ -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++;
diff --git a/src/gallium/drivers/svga/svga_shader.h b/src/gallium/drivers/svga/svga_shader.h
index 3f91574..b53a4bf 100644
--- a/src/gallium/drivers/svga/svga_shader.h
+++ b/src/gallium/drivers/svga/svga_shader.h
@@ -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;
--
1.9.1
More information about the mesa-dev
mailing list