Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandBufferShim ¶
type CommandBufferShim interface { // CmdDispatchBase dispatches compute work items with non-zero base values for the workgroup IDs // // baseGroupX - The start value of the X component of WorkgroupId // // baseGroupY - The start value of the Y component of WorkGroupId // // baseGroupZ - The start value of the Z component of WorkGroupId // // groupCountX - The number of local workgroups to dispatch in the X dimension // // groupCountY - The number of local workgroups to dispatch in the Y dimension // // groupCountZ - The number of local workgroups to dispatch in the Z dimension // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDispatchBase.html CmdDispatchBase(baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int) // CmdSetDeviceMask modifies the device mask of a CommandBuffer // // deviceMask - The new value of the current Device mask // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDeviceMask.html CmdSetDeviceMask(deviceMask uint32) }
CommandBufferShim contains all the commands for the khr_device_group extension that uses CommandBuffer
type DeviceShim ¶
type DeviceShim interface { // DeviceGroupPeerMemoryFeatures queries supported peer memory features of a Device // // heapIndex - The index of the memory heap from which the memory is allocated // // localDeviceIndex - The device index of the PhysicalDevice that performs the memory access // // remoteDeviceIndex - The device index of the PhysicalDevice that the memory is allocated for // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceGroupPeerMemoryFeatures.html DeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) core1_1.PeerMemoryFeatureFlags }
DeviceShim contains all the commands for the khr_device_group extension that uses Device
type VulkanCommandBufferShim ¶
type VulkanCommandBufferShim struct {
// contains filtered or unexported fields
}
func NewCommandBufferShim ¶
func NewCommandBufferShim(extension khr_device_group.Extension, commandBuffer core1_0.CommandBuffer) *VulkanCommandBufferShim
func (*VulkanCommandBufferShim) CmdDispatchBase ¶
func (s *VulkanCommandBufferShim) CmdDispatchBase(baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ int)
func (*VulkanCommandBufferShim) CmdSetDeviceMask ¶
func (s *VulkanCommandBufferShim) CmdSetDeviceMask(deviceMask uint32)
type VulkanDeviceShim ¶
type VulkanDeviceShim struct {
// contains filtered or unexported fields
}
func NewDeviceShim ¶
func NewDeviceShim(extension khr_device_group.Extension, device core1_0.Device) *VulkanDeviceShim
func (*VulkanDeviceShim) DeviceGroupPeerMemoryFeatures ¶
func (s *VulkanDeviceShim) DeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex int) core1_1.PeerMemoryFeatureFlags
Click to show internal directories.
Click to hide internal directories.