nir/vtn: add caps for some cl related capabilities

vtn supports these, so don't squalk if user is happy with enabling
these.

v2: add new members sorted

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Rob Clark
2018-02-26 18:01:02 -05:00
committed by Karol Herbst
parent ce08e5f39c
commit fa737042ad
3 changed files with 20 additions and 5 deletions

View File

@@ -33,6 +33,7 @@ extern "C" {
#endif
struct spirv_supported_capabilities {
bool address;
bool atomic_storage;
bool descriptor_array_dynamic_indexing;
bool device_group;
@@ -43,9 +44,11 @@ struct spirv_supported_capabilities {
bool image_ms_array;
bool image_read_without_format;
bool image_write_without_format;
bool int8;
bool int16;
bool int64;
bool int64_atomics;
bool kernel;
bool min_lod;
bool multiview;
bool post_depth_coverage;