From b80dd22d573ac9276efb19c0f5ea8dae39ab3ab1 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 2 Apr 2024 12:59:53 +0300 Subject: [PATCH] intel/brw: add min_sample_shading value in wm_prog_data Signed-off-by: Lionel Landwerlin Reviewed-by: Ivan Briano Part-of: --- src/intel/compiler/brw_compiler.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index 8f3f66f850d..b26044b3238 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -659,6 +659,13 @@ struct brw_wm_prog_data { */ bool sample_shading; + /** Min sample shading value + * + * Not used by the compiler, but useful for restore from the cache. The + * driver is expected to write the value it wants. + */ + float min_sample_shading; + /** Should this shader be dispatched per-sample */ enum brw_sometimes persample_dispatch;