spirv: add support for SPV_KHR_post_depth_coverage

Allow the capability to be exposed, and convert the new execution mode
into fs state.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Ilia Mirkin
2018-07-20 15:50:01 -06:00
committed by Jason Ekstrand
parent 6cbbd5b4f8
commit 768f143667
2 changed files with 10 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ struct spirv_supported_capabilities {
bool stencil_export;
bool atomic_storage;
bool storage_8bit;
bool post_depth_coverage;
};
typedef struct shader_info {