aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-03-31 14:23:34 -0600
committerBrian Paul <[email protected]>2016-04-02 08:05:20 -0600
commit36d8fed798c9c3f008e7bbd5b98d3ad37d47b0bd (patch)
tree46d352c2633741f6114ec52da5e8b9d24eb2dc11 /src/gallium
parentb283c763425983480f85ed5b92ac8a984b6aa942 (diff)
svga: remove unused svga_compile_key::texture_msaa field
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/svga_shader.c1
-rw-r--r--src/gallium/drivers/svga/svga_shader.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_shader.c b/src/gallium/drivers/svga/svga_shader.c
index 78eb3f65b61..d56cce49de5 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 3f915740b1f..b53a4bf514c 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;