intel/brw: add min_sample_shading value in wm_prog_data

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27803>
This commit is contained in:
Lionel Landwerlin 2024-04-02 12:59:53 +03:00 committed by Marge Bot
parent bdfa25dc77
commit b80dd22d57

View file

@ -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;