radeonsi: check for FMASK correctly in gfx10_get_bin_sizes
so that this code is skipped on gfx11+ Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28846>
This commit is contained in:
@@ -321,7 +321,7 @@ static void gfx10_get_bin_sizes(struct si_context *sctx, unsigned cb_target_enab
|
||||
const unsigned mmrt = num_fragments == 1 ? 1 : (ps_iter_sample ? num_fragments : 2);
|
||||
|
||||
cColor += tex->surface.bpe * mmrt;
|
||||
if (num_samples >= 2 /* if FMASK is bound */) {
|
||||
if (num_samples >= 2 && tex->surface.fmask_offset) {
|
||||
const unsigned fragmentsLog2 = util_logbase2(num_fragments);
|
||||
const unsigned samplesLog2 = util_logbase2(num_samples);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user