Documentation ¶
Index ¶
- Constants
- type AcquireNextImageInfo
- type BindBufferMemoryDeviceGroupInfo
- type BindImageMemoryDeviceGroupInfo
- type BindImageMemorySwapchainInfo
- type DeviceGroupBindSparseInfo
- type DeviceGroupCommandBufferBeginInfo
- type DeviceGroupPresentCapabilities
- type DeviceGroupPresentInfo
- type DeviceGroupPresentModeFlags
- type DeviceGroupRenderPassBeginInfo
- type DeviceGroupSubmitInfo
- type DeviceGroupSwapchainCreateInfo
- type Extension
- type ExtensionWithKHRSurface
- type ExtensionWithKHRSwapchain
- type ImageSwapchainCreateInfo
- type MemoryAllocateFlags
- type MemoryAllocateFlagsInfo
- type PeerMemoryFeatures
- type VulkanExtension
- func (v *VulkanExtension) CmdDispatchBase(commandBuffer core1_0.CommandBuffer, ...)
- func (v *VulkanExtension) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)
- func (v *VulkanExtension) DeviceGroupPeerMemoryFeatures(device core1_0.Device, heapIndex, localDeviceIndex, remoteDeviceIndex int) PeerMemoryFeatures
- func (v *VulkanExtension) WithKHRSurface() ExtensionWithKHRSurface
- func (v *VulkanExtension) WithKHRSwapchain() ExtensionWithKHRSwapchain
- type VulkanExtensionWithKHRSurface
- func (v *VulkanExtensionWithKHRSurface) DeviceGroupPresentCapabilities(device core1_0.Device, outData *DeviceGroupPresentCapabilities) (common.VkResult, error)
- func (v *VulkanExtensionWithKHRSurface) DeviceGroupSurfacePresentModes(device core1_0.Device, surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error)
- func (v *VulkanExtensionWithKHRSurface) PhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
- type VulkanExtensionWithKHRSwapchain
Constants ¶
View Source
const ( ExtensionName string = C.VK_KHR_DEVICE_GROUP_EXTENSION_NAME DependencyDeviceGroup core1_0.DependencyFlags = C.VK_DEPENDENCY_DEVICE_GROUP_BIT_KHR MemoryAllocateDeviceMask MemoryAllocateFlags = C.VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT_KHR DeviceGroupPresentModeLocal DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR DeviceGroupPresentModeRemote DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR DeviceGroupPresentModeSum DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR DeviceGroupPresentModeLocalMultiDevice DeviceGroupPresentModeFlags = C.VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR PeerMemoryFeatureCopyDst PeerMemoryFeatures = C.VK_PEER_MEMORY_FEATURE_COPY_DST_BIT_KHR PeerMemoryFeatureCopySrc PeerMemoryFeatures = C.VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT_KHR PeerMemoryFeatureGenericDst PeerMemoryFeatures = C.VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT_KHR PeerMemoryFeatureGenericSrc PeerMemoryFeatures = C.VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT_KHR PipelineCreateDispatchBase core1_0.PipelineCreateFlags = C.VK_PIPELINE_CREATE_DISPATCH_BASE_KHR PipelineCreateViewIndexFromDeviceIndex core1_0.PipelineCreateFlags = C.VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR ImageCreateSplitInstanceBindRegions core1_0.ImageCreateFlags = C.VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR SwapchainCreateSplitInstanceBindRegions khr_swapchain.SwapchainCreateFlags = C.VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquireNextImageInfo ¶
type BindBufferMemoryDeviceGroupInfo ¶
type BindBufferMemoryDeviceGroupInfo struct { DeviceIndices []int common.NextOptions }
type BindImageMemoryDeviceGroupInfo ¶
type BindImageMemoryDeviceGroupInfo struct { DeviceIndices []int SplitInstanceBindRegions []core1_0.Rect2D common.NextOptions }
type BindImageMemorySwapchainInfo ¶
type BindImageMemorySwapchainInfo struct { Swapchain khr_swapchain.Swapchain ImageIndex int common.NextOptions }
type DeviceGroupBindSparseInfo ¶
type DeviceGroupBindSparseInfo struct { ResourceDeviceIndex int MemoryDeviceIndex int common.NextOptions }
type DeviceGroupCommandBufferBeginInfo ¶
type DeviceGroupCommandBufferBeginInfo struct { DeviceMask uint32 common.NextOptions }
type DeviceGroupPresentCapabilities ¶
type DeviceGroupPresentCapabilities struct { PresentMask [khr_device_group_creation.MaxDeviceGroupSize]uint32 Modes DeviceGroupPresentModeFlags common.NextOutData }
func (*DeviceGroupPresentCapabilities) PopulateHeader ¶
func (*DeviceGroupPresentCapabilities) PopulateOutData ¶
type DeviceGroupPresentInfo ¶
type DeviceGroupPresentInfo struct { DeviceMasks []uint32 Mode DeviceGroupPresentModeFlags common.NextOptions }
type DeviceGroupPresentModeFlags ¶
type DeviceGroupPresentModeFlags int32
func (DeviceGroupPresentModeFlags) Register ¶
func (f DeviceGroupPresentModeFlags) Register(str string)
func (DeviceGroupPresentModeFlags) String ¶
func (f DeviceGroupPresentModeFlags) String() string
type DeviceGroupRenderPassBeginInfo ¶
type DeviceGroupRenderPassBeginInfo struct { DeviceMask uint32 DeviceRenderAreas []core1_0.Rect2D common.NextOptions }
type DeviceGroupSubmitInfo ¶
type DeviceGroupSubmitInfo struct { WaitSemaphoreDeviceIndices []int CommandBufferDeviceMasks []uint32 SignalSemaphoreDeviceIndices []int common.NextOptions }
type DeviceGroupSwapchainCreateInfo ¶
type DeviceGroupSwapchainCreateInfo struct { Modes DeviceGroupPresentModeFlags common.NextOptions }
type Extension ¶
type Extension interface { CmdDispatchBase(commandBuffer core1_0.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32) DeviceGroupPeerMemoryFeatures(device core1_0.Device, heapIndex, localDeviceIndex, remoteDeviceIndex int) PeerMemoryFeatures WithKHRSurface() ExtensionWithKHRSurface WithKHRSwapchain() ExtensionWithKHRSwapchain }
type ExtensionWithKHRSurface ¶
type ExtensionWithKHRSurface interface { DeviceGroupPresentCapabilities(device core1_0.Device, outData *DeviceGroupPresentCapabilities) (common.VkResult, error) DeviceGroupSurfacePresentModes(device core1_0.Device, surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error) PhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error) }
type ImageSwapchainCreateInfo ¶
type ImageSwapchainCreateInfo struct { Swapchain khr_swapchain.Swapchain common.NextOptions }
type MemoryAllocateFlags ¶
type MemoryAllocateFlags int32
func (MemoryAllocateFlags) Register ¶
func (f MemoryAllocateFlags) Register(str string)
func (MemoryAllocateFlags) String ¶
func (f MemoryAllocateFlags) String() string
type MemoryAllocateFlagsInfo ¶
type MemoryAllocateFlagsInfo struct { Flags MemoryAllocateFlags DeviceMask uint32 common.NextOptions }
type PeerMemoryFeatures ¶
type PeerMemoryFeatures int32
func (PeerMemoryFeatures) Register ¶
func (f PeerMemoryFeatures) Register(str string)
func (PeerMemoryFeatures) String ¶
func (f PeerMemoryFeatures) String() string
type VulkanExtension ¶
type VulkanExtension struct {
// contains filtered or unexported fields
}
func CreateExtensionFromDevice ¶
func CreateExtensionFromDevice(device core1_0.Device, instance core1_0.Instance) *VulkanExtension
func CreateExtensionFromDriver ¶
func CreateExtensionFromDriver(driver khr_device_group_driver.Driver, khrSurfaceInteraction bool, khrSwapchainInteraction bool) *VulkanExtension
func (*VulkanExtension) CmdDispatchBase ¶
func (v *VulkanExtension) CmdDispatchBase(commandBuffer core1_0.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int)
func (*VulkanExtension) CmdSetDeviceMask ¶
func (v *VulkanExtension) CmdSetDeviceMask(commandBuffer core1_0.CommandBuffer, deviceMask uint32)
func (*VulkanExtension) DeviceGroupPeerMemoryFeatures ¶
func (v *VulkanExtension) DeviceGroupPeerMemoryFeatures(device core1_0.Device, heapIndex, localDeviceIndex, remoteDeviceIndex int) PeerMemoryFeatures
func (*VulkanExtension) WithKHRSurface ¶
func (v *VulkanExtension) WithKHRSurface() ExtensionWithKHRSurface
func (*VulkanExtension) WithKHRSwapchain ¶
func (v *VulkanExtension) WithKHRSwapchain() ExtensionWithKHRSwapchain
type VulkanExtensionWithKHRSurface ¶
type VulkanExtensionWithKHRSurface struct {
// contains filtered or unexported fields
}
func (*VulkanExtensionWithKHRSurface) DeviceGroupPresentCapabilities ¶
func (v *VulkanExtensionWithKHRSurface) DeviceGroupPresentCapabilities(device core1_0.Device, outData *DeviceGroupPresentCapabilities) (common.VkResult, error)
func (*VulkanExtensionWithKHRSurface) DeviceGroupSurfacePresentModes ¶
func (v *VulkanExtensionWithKHRSurface) DeviceGroupSurfacePresentModes(device core1_0.Device, surface khr_surface.Surface) (DeviceGroupPresentModeFlags, common.VkResult, error)
func (*VulkanExtensionWithKHRSurface) PhysicalDevicePresentRectangles ¶
func (v *VulkanExtensionWithKHRSurface) PhysicalDevicePresentRectangles(physicalDevice core1_0.PhysicalDevice, surface khr_surface.Surface) ([]core1_0.Rect2D, common.VkResult, error)
type VulkanExtensionWithKHRSwapchain ¶
type VulkanExtensionWithKHRSwapchain struct {
// contains filtered or unexported fields
}
func (*VulkanExtensionWithKHRSwapchain) AcquireNextImage2 ¶
func (v *VulkanExtensionWithKHRSwapchain) AcquireNextImage2(device core1_0.Device, o AcquireNextImageInfo) (int, common.VkResult, error)
Source Files ¶
- const.go
- extension.go
- extiface.go
- options_acquirenextimage.go
- options_allocateflags.go
- options_begin.go
- options_bindbuffermemory.go
- options_bindimagememory.go
- options_bindimagememoryswapchain.go
- options_bindsparse.go
- options_imageswapchaincreate.go
- options_present.go
- options_renderpassbegin.go
- options_submit.go
- options_swapchaincreate.go
- outdata_presentcapabilities.go
Click to show internal directories.
Click to hide internal directories.