spirv: Guard against typeless image reads on unsupported devices

This commit is contained in:
ReinUsesLisp 2021-04-11 02:37:03 -03:00 committed by ameerj
parent 9280cd649a
commit ab543f1821
6 changed files with 17 additions and 1 deletions

View file

@ -36,6 +36,7 @@ struct Profile {
bool support_explicit_workgroup_layout{};
bool support_vote{};
bool support_viewport_index_layer_non_geometry{};
bool support_typeless_image_loads{};
bool warp_size_potentially_larger_than_guest{};
// FClamp is broken and OpFMax + OpFMin should be used instead