Mesa (main): intel/compiler: Get rid of wm_prog_key::frag_coord_adds_sample_pos
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Dec 10 21:36:56 UTC 2021
Module: Mesa
Branch: main
Commit: 6dc9958bf33e3340de7c3c9e1790383659bd294c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc9958bf33e3340de7c3c9e1790383659bd294c
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed Nov 10 11:42:03 2021 -0600
intel/compiler: Get rid of wm_prog_key::frag_coord_adds_sample_pos
This hasn't actually done anything for a while.
Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14056>
---
src/intel/compiler/brw_compiler.h | 1 -
src/intel/compiler/brw_debug_recompile.c | 1 -
src/intel/vulkan/anv_pipeline.c | 2 --
3 files changed, 4 deletions(-)
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index 857e75f5eaa..951a99061e5 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -491,7 +491,6 @@ struct brw_wm_prog_key {
bool clamp_fragment_color:1;
bool persample_interp:1;
bool multisample_fbo:1;
- bool frag_coord_adds_sample_pos:1;
enum brw_wm_aa_enable line_aa:2;
bool high_quality_derivatives:1;
bool force_dual_color_blend:1;
diff --git a/src/intel/compiler/brw_debug_recompile.c b/src/intel/compiler/brw_debug_recompile.c
index 0c3b200cd6a..7c7e9db9bdd 100644
--- a/src/intel/compiler/brw_debug_recompile.c
+++ b/src/intel/compiler/brw_debug_recompile.c
@@ -177,7 +177,6 @@ debug_fs_recompile(const struct brw_compiler *c, void *log,
found |= check("fragment color clamping", clamp_fragment_color);
found |= check("per-sample interpolation", persample_interp);
found |= check("multisampled FBO", multisample_fbo);
- found |= check("frag coord adds sample pos", frag_coord_adds_sample_pos);
found |= check("line smoothing", line_aa);
found |= check("high quality derivatives", high_quality_derivatives);
found |= check("force dual color blending", force_dual_color_blend);
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index b2c2339546c..cae9689b326 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -553,8 +553,6 @@ populate_wm_prog_key(const struct anv_graphics_pipeline *pipeline,
(ms_info->minSampleShading * ms_info->rasterizationSamples) > 1;
key->multisample_fbo = true;
}
-
- key->frag_coord_adds_sample_pos = key->persample_interp;
}
key->coarse_pixel =
More information about the mesa-commit
mailing list