spirv/nir: add support for AMD_shader_ballot and Groups capability

This commit also renames existing AMD capabilities:
 - gcn_shader -> amd_gcn_shader
 - trinary_minmax -> amd_trinary_minmax

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
Daniel Schürmann
2018-05-09 20:41:23 +02:00
committed by Connor Abbott
parent ea51275e07
commit 7a858f274c
6 changed files with 139 additions and 11 deletions

View File

@@ -45,7 +45,6 @@ struct spirv_supported_capabilities {
bool fragment_shader_sample_interlock;
bool fragment_shader_pixel_interlock;
bool geometry_streams;
bool gcn_shader;
bool image_ms_array;
bool image_read_without_format;
bool image_write_without_format;
@@ -72,9 +71,11 @@ struct spirv_supported_capabilities {
bool subgroup_vote;
bool tessellation;
bool transform_feedback;
bool trinary_minmax;
bool variable_pointers;
bool float16;
bool amd_gcn_shader;
bool amd_shader_ballot;
bool amd_trinary_minmax;
};
typedef struct shader_info {