summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2021-11-19 15:30:08 -0600
committerMarge Bot <emma+marge@anholt.net>2023-02-06 09:12:17 +0000
commit991d54610215786fd4937db24391e7cd5b567919 (patch)
treeb63f790c0f72b7574586d69b4aa82fc51ddd5c04
parent71a6b53192096904cd9726d9cf86b850d6c1155b (diff)
intel/compiler: Document wm_prog_key::persample_interp
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21094>
-rw-r--r--src/intel/compiler/brw_compiler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index b59b84e558d..06fea096d75 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -482,7 +482,17 @@ struct brw_wm_prog_key {
bool alpha_test_replicate_alpha:1;
bool alpha_to_coverage:1;
bool clamp_fragment_color:1;
+
+ /** Whether or inputs are interpolated at sample rate by default
+ *
+ * This corresponds to the sample shading API bit in Vulkan or OpenGL which
+ * controls how inputs with no interpolation qualifier are interpolated.
+ * This is distinct from the way that using gl_SampleID or similar requires
+ * us to run per-sample. Even when running per-sample due to gl_SampleID,
+ * we may still interpolate unqualified inputs at the pixel center.
+ */
bool persample_interp:1;
+
bool multisample_fbo:1;
enum brw_wm_aa_enable line_aa:2;
bool force_dual_color_blend:1;