summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc5')
-rw-r--r--src/gallium/drivers/vc5/vc5_program.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc5/vc5_program.c b/src/gallium/drivers/vc5/vc5_program.c
index 7bad80a1684..6beb3359f29 100644
--- a/src/gallium/drivers/vc5/vc5_program.c
+++ b/src/gallium/drivers/vc5/vc5_program.c
@@ -363,10 +363,7 @@ vc5_setup_shared_key(struct vc5_context *vc5, struct v3d_key *key,
key->tex[i].swizzle[3] = PIPE_SWIZZLE_W;
}
- if (sampler->texture->nr_samples > 1) {
- key->tex[i].msaa_width = sampler->texture->width0;
- key->tex[i].msaa_height = sampler->texture->height0;
- } else if (sampler){
+ if (sampler) {
key->tex[i].compare_mode = sampler_state->compare_mode;
key->tex[i].compare_func = sampler_state->compare_func;
key->tex[i].clamp_s =