namespace Brutal.VulkanApi { /// /// VkSubgroupFeatureFlagBits - Bitmask describing what group operations are supported with subgroup scope /// /// /// /// Bits which can be set in /// VkPhysicalDeviceSubgroupProperties::supportedOperations /// to specify supported group operations^ with /// subgroup scope^ are: /// /// /// // Provided by VK_VERSION_1_1 /// typedef enum VkSubgroupFeatureFlagBits { /// VK_SUBGROUP_FEATURE_BASIC_BIT = 0x00000001, /// VK_SUBGROUP_FEATURE_VOTE_BIT = 0x00000002, /// VK_SUBGROUP_FEATURE_ARITHMETIC_BIT = 0x00000004, /// VK_SUBGROUP_FEATURE_BALLOT_BIT = 0x00000008, /// VK_SUBGROUP_FEATURE_SHUFFLE_BIT = 0x00000010, /// VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT = 0x00000020, /// VK_SUBGROUP_FEATURE_CLUSTERED_BIT = 0x00000040, /// VK_SUBGROUP_FEATURE_QUAD_BIT = 0x00000080, /// // Provided by VK_VERSION_1_4 /// VK_SUBGROUP_FEATURE_ROTATE_BIT = 0x00000200, /// // Provided by VK_VERSION_1_4 /// VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT = 0x00000400, /// // Provided by VK_EXT_shader_subgroup_partitioned /// VK_SUBGROUP_FEATURE_PARTITIONED_BIT_EXT = 0x00000100, /// // Provided by VK_NV_shader_subgroup_partitioned /// VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV = VK_SUBGROUP_FEATURE_PARTITIONED_BIT_EXT, /// // Provided by VK_KHR_shader_subgroup_rotate /// VK_SUBGROUP_FEATURE_ROTATE_BIT_KHR = VK_SUBGROUP_FEATURE_ROTATE_BIT, /// // Provided by VK_KHR_shader_subgroup_rotate /// VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT_KHR = VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT, /// } VkSubgroupFeatureFlagBits; /// /// [Flags] public enum VkSubgroupFeatureFlags : int { /// No flags set. None = 0, /// /// BasicBit /// BasicBit = 0x00000001, /// /// VoteBit /// VoteBit = 0x00000002, /// /// ArithmeticBit /// ArithmeticBit = 0x00000004, /// /// BallotBit /// BallotBit = 0x00000008, /// /// ShuffleBit /// ShuffleBit = 0x00000010, /// /// ShuffleRelativeBit /// ShuffleRelativeBit = 0x00000020, /// /// ClusteredBit /// ClusteredBit = 0x00000040, /// /// QuadBit /// QuadBit = 0x00000080, /// /// RotateBit /// RotateBit = 0x00000200, /// /// RotateClusteredBit /// RotateClusteredBit = 0x00000400, /// /// PartitionedBitEXT /// PartitionedBitEXT = 0x00000100, /// /// PartitionedBitNV /// PartitionedBitNV = PartitionedBitEXT, /// /// RotateBitKHR /// RotateBitKHR = RotateBit, /// /// RotateClusteredBitKHR /// RotateClusteredBitKHR = RotateClusteredBit, /// /// FlagBitsMaxEnum /// FlagBitsMaxEnum = 0x7FFFFFFF, } }