spirv: add support for KHR_fragment_shading_rate

v2: Use VARYING (Samuel)

v3: Only allow VERTEX & GEOMETRY stages (Samuel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7795>
This commit is contained in:
Lionel Landwerlin
2020-10-20 10:41:48 +03:00
committed by Marge Bot
parent 244514addd
commit a5b899c7da
3 changed files with 18 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ struct spirv_supported_capabilities {
bool float64_atomic_add;
bool fragment_shader_sample_interlock;
bool fragment_shader_pixel_interlock;
bool fragment_shading_rate;
bool generic_pointers;
bool geometry_streams;
bool image_ms_array;