From: Eric Anholt Date: Wed, 15 Apr 2020 19:07:16 +0000 (-0700) Subject: freedreno/ir3: Set the FS .msaa flag to true during precompiles. X-Git-Tag: upstream/21.0.0~10445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f01fa1fb3bbb94648ab3955860933aefbcb191a;p=platform%2Fupstream%2Fmesa.git freedreno/ir3: Set the FS .msaa flag to true during precompiles. If you're going out of your way to do per-sample interpolation, you are almost surely going to be doing so to an MSAA framebuffer. Should reduce recompiles with MSAA enabled. Part-of: --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c index f5e9349..3507be9 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c @@ -152,6 +152,7 @@ ir3_shader_create(struct ir3_compiler *compiler, */ struct ir3_shader_key key = { .tessellation = IR3_TESS_NONE, + .msaa = true, }; switch (nir->info.stage) {