diff options
author | Chia-I Wu <[email protected]> | 2015-03-06 15:04:47 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-03-07 01:38:35 +0800 |
commit | dda482384446dae9b48077a2e1bd51b3c1fce8fc (patch) | |
tree | 4f01af9633fb12674047a29712e68e572cda730d /src/gallium/drivers/ilo | |
parent | 56ede80940751bfcdaf26e9c23e439d37ef0e96b (diff) |
ilo: do not check for interleaved_samples
interleaved_samples is only zero-initialized when layout_want_mcs() is called.
We should not check for it. There is also no need to.
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_layout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_layout.c b/src/gallium/drivers/ilo/ilo_layout.c index 8f83ccb3a08..a99e445780e 100644 --- a/src/gallium/drivers/ilo/ilo_layout.c +++ b/src/gallium/drivers/ilo/ilo_layout.c @@ -737,8 +737,7 @@ layout_want_mcs(struct ilo_layout *layout, * "This field must be set to 0 for all SINT MSRTs when all RT channels * are not written" */ - if (templ->nr_samples > 1 && !layout->interleaved_samples && - !util_format_is_pure_sint(templ->format)) { + if (templ->nr_samples > 1 && !util_format_is_pure_sint(templ->format)) { want_mcs = true; } else if (templ->nr_samples <= 1) { /* |