From 6dc9958bf33e3340de7c3c9e1790383659bd294c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 10 Nov 2021 11:42:03 -0600 Subject: [PATCH] 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 Part-of: --- 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 =