intel/compiler: Convert wm_prog_key::persample_interp to a tri-state
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 19 Nov 2021 22:34:19 +0000 (16:34 -0600)
committerMarge Bot <emma+marge@anholt.net>
Mon, 6 Feb 2023 09:12:18 +0000 (09:12 +0000)
commit5644011f063f4049bf5ac1b08addba4b138fa912
tree1bc2c3c8f82c54e5e93fdce860f1a656f2b7e53b
parentd8dfd153c50f24ea50578202832b3eccfb61edf8
intel/compiler: Convert wm_prog_key::persample_interp to a tri-state

This allows for the possibility that we may not know at compile time if
sample shading is enabled through the API.  While we're here, also
document exactly what this bit means so we don't confuse ourselves.

v2: Fixup coarse pixel values (Lionel)

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21094>
src/gallium/drivers/crocus/crocus_state.c
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_state.c
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_visitor.cpp
src/intel/compiler/brw_nir.c
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/genX_pipeline.c
src/intel/vulkan_hasvk/anv_pipeline.c
src/intel/vulkan_hasvk/genX_pipeline.c