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.
This commit is contained in:
Chia-I Wu 2015-03-06 15:04:47 +08:00
parent 56ede80940
commit dda4823844
1 changed files with 1 additions and 2 deletions

View File

@ -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) {
/*