Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Graphics.Vulkan.Marshal
- data AHardwareBuffer
- data ANativeWindow
- data CAMetalLayer
- newtype VkBool32 = VkBool32 Word32
- newtype VkDeviceAddress = VkDeviceAddress Word64
- newtype VkDeviceSize = VkDeviceSize Word64
- newtype VkFlags = VkFlags Word32
- newtype VkSampleMask = VkSampleMask Word32
- type VkPhysicalDeviceLimits = VkStruct VkPhysicalDeviceLimits'
- type VkPhysicalDeviceProperties = VkStruct VkPhysicalDeviceProperties'
- type VkPhysicalDeviceProperties2 = VkStruct VkPhysicalDeviceProperties2'
- type VkPhysicalDeviceShaderCorePropertiesAMD = VkStruct VkPhysicalDeviceShaderCorePropertiesAMD'
- type VkPhysicalDeviceSparseProperties = VkStruct VkPhysicalDeviceSparseProperties'
- newtype VkPhysicalDeviceType where
- VkPhysicalDeviceType Int32
- pattern VK_PHYSICAL_DEVICE_TYPE_OTHER :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU :: VkPhysicalDeviceType
- pattern VK_PHYSICAL_DEVICE_TYPE_CPU :: VkPhysicalDeviceType
- newtype VkSampleCountBitmask (a :: FlagType) where
- VkSampleCountBitmask VkFlags
- pattern VkSampleCountFlagBits :: VkFlags -> VkSampleCountBitmask FlagBit
- pattern VkSampleCountFlags :: VkFlags -> VkSampleCountBitmask FlagMask
- pattern VK_SAMPLE_COUNT_1_BIT :: VkSampleCountBitmask a
- pattern VK_SAMPLE_COUNT_2_BIT :: VkSampleCountBitmask a
- pattern VK_SAMPLE_COUNT_4_BIT :: VkSampleCountBitmask a
- pattern VK_SAMPLE_COUNT_8_BIT :: VkSampleCountBitmask a
- pattern VK_SAMPLE_COUNT_16_BIT :: VkSampleCountBitmask a
- pattern VK_SAMPLE_COUNT_32_BIT :: VkSampleCountBitmask a
- pattern VK_SAMPLE_COUNT_64_BIT :: VkSampleCountBitmask a
- type VkSampleCountFlagBits = VkSampleCountBitmask FlagBit
- type VkSampleCountFlags = VkSampleCountBitmask FlagMask
- newtype VkStructureType where
- VkStructureType Int32
- pattern VK_STRUCTURE_TYPE_APPLICATION_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SUBMIT_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BIND_SPARSE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FENCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_EVENT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET :: VkStructureType
- pattern VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_MEMORY_BARRIER :: VkStructureType
- pattern VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO :: VkStructureType
- type VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION = 2
- pattern VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION :: (Num a, Eq a) => a
- type VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME = "VK_AMD_shader_core_properties"
- pattern VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME :: CString
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD :: VkStructureType
Vulkan extension: VK_AMD_shader_core_properties
supported: vulkan
contact: Martin Dinkov
mdinkov@
author: AMD
type: device
Extension number: 186
Required extensions: VK_KHR_get_physical_device_properties2
.
Required extensions: VK_KHR_get_physical_device_properties2
.
module Graphics.Vulkan.Marshal
data AHardwareBuffer Source #
struct AHardwareBuffer;
data ANativeWindow Source #
struct ANativeWindow;
data CAMetalLayer Source #
#ifdef __OBJC__ @class CAMetalLayer; #else typedef void CAMetalLayer; #endif
Instances
newtype VkDeviceAddress Source #
Instances
newtype VkDeviceSize Source #
Instances
Instances
newtype VkSampleMask Source #
Instances
type VkPhysicalDeviceLimits = VkStruct VkPhysicalDeviceLimits' Source #
typedef struct VkPhysicalDeviceLimits { uint32_t maxImageDimension1D; uint32_t maxImageDimension2D; uint32_t maxImageDimension3D; uint32_t maxImageDimensionCube; uint32_t maxImageArrayLayers; uint32_t maxTexelBufferElements; uint32_t maxUniformBufferRange; uint32_t maxStorageBufferRange; uint32_t maxPushConstantsSize; uint32_t maxMemoryAllocationCount; uint32_t maxSamplerAllocationCount; VkDeviceSize bufferImageGranularity; VkDeviceSize sparseAddressSpaceSize; uint32_t maxBoundDescriptorSets; uint32_t maxPerStageDescriptorSamplers; uint32_t maxPerStageDescriptorUniformBuffers; uint32_t maxPerStageDescriptorStorageBuffers; uint32_t maxPerStageDescriptorSampledImages; uint32_t maxPerStageDescriptorStorageImages; uint32_t maxPerStageDescriptorInputAttachments; uint32_t maxPerStageResources; uint32_t maxDescriptorSetSamplers; uint32_t maxDescriptorSetUniformBuffers; uint32_t maxDescriptorSetUniformBuffersDynamic; uint32_t maxDescriptorSetStorageBuffers; uint32_t maxDescriptorSetStorageBuffersDynamic; uint32_t maxDescriptorSetSampledImages; uint32_t maxDescriptorSetStorageImages; uint32_t maxDescriptorSetInputAttachments; uint32_t maxVertexInputAttributes; uint32_t maxVertexInputBindings; uint32_t maxVertexInputAttributeOffset; uint32_t maxVertexInputBindingStride; uint32_t maxVertexOutputComponents; uint32_t maxTessellationGenerationLevel; uint32_t maxTessellationPatchSize; uint32_t maxTessellationControlPerVertexInputComponents; uint32_t maxTessellationControlPerVertexOutputComponents; uint32_t maxTessellationControlPerPatchOutputComponents; uint32_t maxTessellationControlTotalOutputComponents; uint32_t maxTessellationEvaluationInputComponents; uint32_t maxTessellationEvaluationOutputComponents; uint32_t maxGeometryShaderInvocations; uint32_t maxGeometryInputComponents; uint32_t maxGeometryOutputComponents; uint32_t maxGeometryOutputVertices; uint32_t maxGeometryTotalOutputComponents; uint32_t maxFragmentInputComponents; uint32_t maxFragmentOutputAttachments; uint32_t maxFragmentDualSrcAttachments; uint32_t maxFragmentCombinedOutputResources; uint32_t maxComputeSharedMemorySize; uint32_t maxComputeWorkGroupCount[3]; uint32_t maxComputeWorkGroupInvocations; uint32_t maxComputeWorkGroupSize[3]; uint32_t subPixelPrecisionBits; uint32_t subTexelPrecisionBits; uint32_t mipmapPrecisionBits; uint32_t maxDrawIndexedIndexValue; uint32_t maxDrawIndirectCount; float maxSamplerLodBias; float maxSamplerAnisotropy; uint32_t maxViewports; uint32_t maxViewportDimensions[2]; float viewportBoundsRange[2]; uint32_t viewportSubPixelBits; size_t minMemoryMapAlignment; VkDeviceSize minTexelBufferOffsetAlignment; VkDeviceSize minUniformBufferOffsetAlignment; VkDeviceSize minStorageBufferOffsetAlignment; int32_t minTexelOffset; uint32_t maxTexelOffset; int32_t minTexelGatherOffset; uint32_t maxTexelGatherOffset; float minInterpolationOffset; float maxInterpolationOffset; uint32_t subPixelInterpolationOffsetBits; uint32_t maxFramebufferWidth; uint32_t maxFramebufferHeight; uint32_t maxFramebufferLayers; VkSampleCountFlags framebufferColorSampleCounts; VkSampleCountFlags framebufferDepthSampleCounts; VkSampleCountFlags framebufferStencilSampleCounts; VkSampleCountFlags framebufferNoAttachmentsSampleCounts; uint32_t maxColorAttachments; VkSampleCountFlags sampledImageColorSampleCounts; VkSampleCountFlags sampledImageIntegerSampleCounts; VkSampleCountFlags sampledImageDepthSampleCounts; VkSampleCountFlags sampledImageStencilSampleCounts; VkSampleCountFlags storageImageSampleCounts; uint32_t maxSampleMaskWords; VkBool32 timestampComputeAndGraphics; float timestampPeriod; uint32_t maxClipDistances; uint32_t maxCullDistances; uint32_t maxCombinedClipAndCullDistances; uint32_t discreteQueuePriorities; float pointSizeRange[2]; float lineWidthRange[2]; float pointSizeGranularity; float lineWidthGranularity; VkBool32 strictLines; VkBool32 standardSampleLocations; VkDeviceSize optimalBufferCopyOffsetAlignment; VkDeviceSize optimalBufferCopyRowPitchAlignment; VkDeviceSize nonCoherentAtomSize; } VkPhysicalDeviceLimits;
type VkPhysicalDeviceProperties = VkStruct VkPhysicalDeviceProperties' Source #
typedef struct VkPhysicalDeviceProperties { uint32_t apiVersion; uint32_t driverVersion; uint32_t vendorID; uint32_t deviceID; VkPhysicalDeviceType deviceType; char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]; uint8_t pipelineCacheUUID[VK_UUID_SIZE]; VkPhysicalDeviceLimits limits; VkPhysicalDeviceSparseProperties sparseProperties; } VkPhysicalDeviceProperties;
type VkPhysicalDeviceProperties2 = VkStruct VkPhysicalDeviceProperties2' Source #
typedef struct VkPhysicalDeviceProperties2 { VkStructureType sType; void* pNext; VkPhysicalDeviceProperties properties; } VkPhysicalDeviceProperties2;
type VkPhysicalDeviceShaderCorePropertiesAMD = VkStruct VkPhysicalDeviceShaderCorePropertiesAMD' Source #
typedef struct VkPhysicalDeviceShaderCorePropertiesAMD { VkStructureType sType; void* pNext; uint32_t shaderEngineCount; uint32_t shaderArraysPerEngineCount; uint32_t computeUnitsPerShaderArray; uint32_t simdPerComputeUnit; uint32_t wavefrontsPerSimd; uint32_t wavefrontSize; uint32_t sgprsPerSimd; uint32_t minSgprAllocation; uint32_t maxSgprAllocation; uint32_t sgprAllocationGranularity; uint32_t vgprsPerSimd; uint32_t minVgprAllocation; uint32_t maxVgprAllocation; uint32_t vgprAllocationGranularity; } VkPhysicalDeviceShaderCorePropertiesAMD;
VkPhysicalDeviceShaderCorePropertiesAMD registry at www.khronos.org
type VkPhysicalDeviceSparseProperties = VkStruct VkPhysicalDeviceSparseProperties' Source #
typedef struct VkPhysicalDeviceSparseProperties { VkBool32 residencyStandard2DBlockShape; VkBool32 residencyStandard2DMultisampleBlockShape; VkBool32 residencyStandard3DBlockShape; VkBool32 residencyAlignedMipSize; VkBool32 residencyNonResidentStrict; } VkPhysicalDeviceSparseProperties;
VkPhysicalDeviceSparseProperties registry at www.khronos.org
newtype VkPhysicalDeviceType Source #
Instances
newtype VkSampleCountBitmask (a :: FlagType) Source #
pattern VkSampleCountFlagBits :: VkFlags -> VkSampleCountBitmask FlagBit | |
pattern VkSampleCountFlags :: VkFlags -> VkSampleCountBitmask FlagMask | |
pattern VK_SAMPLE_COUNT_1_BIT :: VkSampleCountBitmask a | Sample count 1 supported bitpos = |
pattern VK_SAMPLE_COUNT_2_BIT :: VkSampleCountBitmask a | Sample count 2 supported bitpos = |
pattern VK_SAMPLE_COUNT_4_BIT :: VkSampleCountBitmask a | Sample count 4 supported bitpos = |
pattern VK_SAMPLE_COUNT_8_BIT :: VkSampleCountBitmask a | Sample count 8 supported bitpos = |
pattern VK_SAMPLE_COUNT_16_BIT :: VkSampleCountBitmask a | Sample count 16 supported bitpos = |
pattern VK_SAMPLE_COUNT_32_BIT :: VkSampleCountBitmask a | Sample count 32 supported bitpos = |
pattern VK_SAMPLE_COUNT_64_BIT :: VkSampleCountBitmask a | Sample count 64 supported bitpos = |
Instances
newtype VkStructureType Source #
Instances
pattern VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION :: (Num a, Eq a) => a Source #
type VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME = "VK_AMD_shader_core_properties" Source #