amd_device_coherent_memory

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ExtensionName is "VK_AMD_device_coherent_memory"
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_AMD_device_coherent_memory.html
	ExtensionName string = C.VK_AMD_DEVICE_COHERENT_MEMORY_EXTENSION_NAME

	// MemoryPropertyDeviceCoherentAMD specifies that device accesses to allocations of this
	// memory type are automatically made available and visible.
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryPropertyFlagBits.html
	MemoryPropertyDeviceCoherentAMD core1_0.MemoryPropertyFlags = C.VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD
	// MemoryPropertyDeviceUncachedAMD specifies that memory allocated with this type is not
	// cached on the device. Uncached device memory is always device coherent.
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryPropertyFlagBits.html
	MemoryPropertyDeviceUncachedAMD core1_0.MemoryPropertyFlags = C.VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PhysicalDeviceCoherentMemoryFeatures

type PhysicalDeviceCoherentMemoryFeatures struct {
	DeviceCoherentMemory bool

	common.NextOptions
	common.NextOutData
}

PhysicalDeviceCoherentMemoryFeatures indicates support for device coherent memory

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceCoherentMemoryFeaturesAMD.html

func (PhysicalDeviceCoherentMemoryFeatures) PopulateCPointer

func (o PhysicalDeviceCoherentMemoryFeatures) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (*PhysicalDeviceCoherentMemoryFeatures) PopulateHeader

func (o *PhysicalDeviceCoherentMemoryFeatures) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (*PhysicalDeviceCoherentMemoryFeatures) PopulateOutData

func (o *PhysicalDeviceCoherentMemoryFeatures) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL