projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812c55b
)
freedreno/ir3: Set the FS .msaa flag to true during precompiles.
author
Eric Anholt
<eric@anholt.net>
Wed, 15 Apr 2020 19:07:16 +0000
(12:07 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 1 May 2020 16:26:32 +0000
(16:26 +0000)
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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4562>
src/gallium/drivers/freedreno/ir3/ir3_gallium.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
index f5e93495d20622682f63e46d19ac4af42d7b29c7..3507be9bc2ebfe15264e4a2cc4dcf93a6f736c5e 100644
(file)
--- 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) {