mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 02:30:37 +02:00
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:
parent
56ede80940
commit
dda4823844
1 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue