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
- newtype VkShaderFloatControlsIndependence where
- VkShaderFloatControlsIndependence Int32
- pattern VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY :: VkShaderFloatControlsIndependence
- pattern VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL :: VkShaderFloatControlsIndependence
- pattern VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE :: VkShaderFloatControlsIndependence
- newtype VkShaderInfoTypeAMD where
- newtype VkShaderStageBitmask (a :: FlagType) where
- VkShaderStageBitmask VkFlags
- pattern VkShaderStageFlagBits :: VkFlags -> VkShaderStageBitmask FlagBit
- pattern VkShaderStageFlags :: VkFlags -> VkShaderStageBitmask FlagMask
- pattern VK_SHADER_STAGE_VERTEX_BIT :: VkShaderStageBitmask a
- pattern VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT :: VkShaderStageBitmask a
- pattern VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT :: VkShaderStageBitmask a
- pattern VK_SHADER_STAGE_GEOMETRY_BIT :: VkShaderStageBitmask a
- pattern VK_SHADER_STAGE_FRAGMENT_BIT :: VkShaderStageBitmask a
- pattern VK_SHADER_STAGE_COMPUTE_BIT :: VkShaderStageBitmask a
- pattern VK_SHADER_STAGE_ALL_GRAPHICS :: VkShaderStageBitmask a
- pattern VK_SHADER_STAGE_ALL :: VkShaderStageBitmask a
- newtype VkShaderCorePropertiesBitmaskAMD (a :: FlagType) where
- type VkShaderCorePropertiesFlagBitsAMD = VkShaderCorePropertiesBitmaskAMD FlagBit
- type VkShaderCorePropertiesFlagsAMD = VkShaderCorePropertiesBitmaskAMD FlagMask
- newtype VkShaderFloatControlsIndependenceKHR = VkShaderFloatControlsIndependenceKHR VkFlags
- newtype VkShaderModuleCreateBitmask (a :: FlagType) where
- type VkShaderModuleCreateFlagBits = VkShaderModuleCreateBitmask FlagBit
- type VkShaderModuleCreateFlags = VkShaderModuleCreateBitmask FlagMask
- type VkShaderStageFlagBits = VkShaderStageBitmask FlagBit
- type VkShaderStageFlags = VkShaderStageBitmask FlagMask
- type VkShaderResourceUsageAMD = VkStruct VkShaderResourceUsageAMD'
- type VkShaderStatisticsInfoAMD = VkStruct VkShaderStatisticsInfoAMD'
- type VkGetShaderInfoAMD = "vkGetShaderInfoAMD"
- pattern VkGetShaderInfoAMD :: CString
- type HS_vkGetShaderInfoAMD = VkDevice -> VkPipeline -> VkShaderStageFlagBits -> VkShaderInfoTypeAMD -> Ptr CSize -> Ptr Void -> IO VkResult
- type PFN_vkGetShaderInfoAMD = FunPtr HS_vkGetShaderInfoAMD
- newtype VkResult where
- VkResult Int32
- pattern VK_SUCCESS :: VkResult
- pattern VK_NOT_READY :: VkResult
- pattern VK_TIMEOUT :: VkResult
- pattern VK_EVENT_SET :: VkResult
- pattern VK_EVENT_RESET :: VkResult
- pattern VK_INCOMPLETE :: VkResult
- pattern VK_ERROR_OUT_OF_HOST_MEMORY :: VkResult
- pattern VK_ERROR_OUT_OF_DEVICE_MEMORY :: VkResult
- pattern VK_ERROR_INITIALIZATION_FAILED :: VkResult
- pattern VK_ERROR_DEVICE_LOST :: VkResult
- pattern VK_ERROR_MEMORY_MAP_FAILED :: VkResult
- pattern VK_ERROR_LAYER_NOT_PRESENT :: VkResult
- pattern VK_ERROR_EXTENSION_NOT_PRESENT :: VkResult
- pattern VK_ERROR_FEATURE_NOT_PRESENT :: VkResult
- pattern VK_ERROR_INCOMPATIBLE_DRIVER :: VkResult
- pattern VK_ERROR_TOO_MANY_OBJECTS :: VkResult
- pattern VK_ERROR_FORMAT_NOT_SUPPORTED :: VkResult
- pattern VK_ERROR_FRAGMENTED_POOL :: VkResult
- pattern VK_ERROR_UNKNOWN :: VkResult
- type VkAccelerationStructureKHR = VkPtr VkAccelerationStructureKHR_T
- data VkAccelerationStructureKHR_T
- type VkAccelerationStructureNV = VkPtr VkAccelerationStructureNV_T
- data VkAccelerationStructureNV_T
- type VkBuffer = VkPtr VkBuffer_T
- type VkBufferView = VkPtr VkBufferView_T
- data VkBufferView_T
- data VkBuffer_T
- type VkCommandBuffer = Ptr VkCommandBuffer_T
- data VkCommandBuffer_T
- type VkCommandPool = VkPtr VkCommandPool_T
- data VkCommandPool_T
- type VkDebugReportCallbackEXT = VkPtr VkDebugReportCallbackEXT_T
- data VkDebugReportCallbackEXT_T
- type VkDebugUtilsMessengerEXT = VkPtr VkDebugUtilsMessengerEXT_T
- data VkDebugUtilsMessengerEXT_T
- type VkDeferredOperationKHR = VkPtr VkDeferredOperationKHR_T
- data VkDeferredOperationKHR_T
- type VkDescriptorPool = VkPtr VkDescriptorPool_T
- data VkDescriptorPool_T
- type VkDescriptorSet = VkPtr VkDescriptorSet_T
- type VkDescriptorSetLayout = VkPtr VkDescriptorSetLayout_T
- data VkDescriptorSetLayout_T
- data VkDescriptorSet_T
- type VkDescriptorUpdateTemplate = VkPtr VkDescriptorUpdateTemplate_T
- type VkDescriptorUpdateTemplateKHR = VkPtr VkDescriptorUpdateTemplateKHR_T
- data VkDescriptorUpdateTemplateKHR_T
- data VkDescriptorUpdateTemplate_T
- type VkDevice = Ptr VkDevice_T
- type VkDeviceMemory = VkPtr VkDeviceMemory_T
- data VkDeviceMemory_T
- data VkDevice_T
- type VkDisplayKHR = VkPtr VkDisplayKHR_T
- data VkDisplayKHR_T
- type VkDisplayModeKHR = VkPtr VkDisplayModeKHR_T
- data VkDisplayModeKHR_T
- type VkEvent = VkPtr VkEvent_T
- data VkEvent_T
- type VkFence = VkPtr VkFence_T
- data VkFence_T
- type VkFramebuffer = VkPtr VkFramebuffer_T
- data VkFramebuffer_T
- type VkImage = VkPtr VkImage_T
- type VkImageView = VkPtr VkImageView_T
- data VkImageView_T
- data VkImage_T
- type VkIndirectCommandsLayoutNV = VkPtr VkIndirectCommandsLayoutNV_T
- data VkIndirectCommandsLayoutNV_T
- type VkInstance = Ptr VkInstance_T
- data VkInstance_T
- type VkPerformanceConfigurationINTEL = VkPtr VkPerformanceConfigurationINTEL_T
- data VkPerformanceConfigurationINTEL_T
- type VkPhysicalDevice = Ptr VkPhysicalDevice_T
- data VkPhysicalDevice_T
- type VkPipeline = VkPtr VkPipeline_T
- type VkPipelineCache = VkPtr VkPipelineCache_T
- data VkPipelineCache_T
- type VkPipelineLayout = VkPtr VkPipelineLayout_T
- data VkPipelineLayout_T
- data VkPipeline_T
- type VkPrivateDataSlotEXT = VkPtr VkPrivateDataSlotEXT_T
- data VkPrivateDataSlotEXT_T
- type VkQueryPool = VkPtr VkQueryPool_T
- data VkQueryPool_T
- type VkQueue = Ptr VkQueue_T
- data VkQueue_T
- type VkRenderPass = VkPtr VkRenderPass_T
- data VkRenderPass_T
- type VkSampler = VkPtr VkSampler_T
- type VkSamplerYcbcrConversion = VkPtr VkSamplerYcbcrConversion_T
- type VkSamplerYcbcrConversionKHR = VkPtr VkSamplerYcbcrConversionKHR_T
- data VkSamplerYcbcrConversionKHR_T
- data VkSamplerYcbcrConversion_T
- data VkSampler_T
- type VkSemaphore = VkPtr VkSemaphore_T
- data VkSemaphore_T
- type VkShaderModule = VkPtr VkShaderModule_T
- data VkShaderModule_T
- type VkSurfaceKHR = VkPtr VkSurfaceKHR_T
- data VkSurfaceKHR_T
- type VkSwapchainKHR = VkPtr VkSwapchainKHR_T
- data VkSwapchainKHR_T
- type VkValidationCacheEXT = VkPtr VkValidationCacheEXT_T
- data VkValidationCacheEXT_T
- type VK_AMD_SHADER_INFO_SPEC_VERSION = 1
- pattern VK_AMD_SHADER_INFO_SPEC_VERSION :: (Num a, Eq a) => a
- type VK_AMD_SHADER_INFO_EXTENSION_NAME = "VK_AMD_shader_info"
- pattern VK_AMD_SHADER_INFO_EXTENSION_NAME :: CString
Vulkan extension: VK_AMD_shader_info
supported: vulkan
contact: Jaakko Konttinen
jaakkoamd@
author: AMD
type: device
Extension number: 43
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
newtype VkShaderFloatControlsIndependence Source #
Instances
newtype VkShaderInfoTypeAMD Source #
pattern VK_SHADER_INFO_TYPE_STATISTICS_AMD :: VkShaderInfoTypeAMD | |
pattern VK_SHADER_INFO_TYPE_BINARY_AMD :: VkShaderInfoTypeAMD | |
pattern VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD :: VkShaderInfoTypeAMD |
Instances
newtype VkShaderStageBitmask (a :: FlagType) Source #
pattern VkShaderStageFlagBits :: VkFlags -> VkShaderStageBitmask FlagBit | |
pattern VkShaderStageFlags :: VkFlags -> VkShaderStageBitmask FlagMask | |
pattern VK_SHADER_STAGE_VERTEX_BIT :: VkShaderStageBitmask a | bitpos = |
pattern VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT :: VkShaderStageBitmask a | bitpos = |
pattern VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT :: VkShaderStageBitmask a | bitpos = |
pattern VK_SHADER_STAGE_GEOMETRY_BIT :: VkShaderStageBitmask a | bitpos = |
pattern VK_SHADER_STAGE_FRAGMENT_BIT :: VkShaderStageBitmask a | bitpos = |
pattern VK_SHADER_STAGE_COMPUTE_BIT :: VkShaderStageBitmask a | bitpos = |
pattern VK_SHADER_STAGE_ALL_GRAPHICS :: VkShaderStageBitmask a | |
pattern VK_SHADER_STAGE_ALL :: VkShaderStageBitmask a |
Instances
newtype VkShaderCorePropertiesBitmaskAMD (a :: FlagType) Source #
pattern VkShaderCorePropertiesFlagBitsAMD :: VkFlags -> VkShaderCorePropertiesBitmaskAMD FlagBit | |
pattern VkShaderCorePropertiesFlagsAMD :: VkFlags -> VkShaderCorePropertiesBitmaskAMD FlagMask |
Instances
newtype VkShaderFloatControlsIndependenceKHR Source #
Instances
newtype VkShaderModuleCreateBitmask (a :: FlagType) Source #
pattern VkShaderModuleCreateFlagBits :: VkFlags -> VkShaderModuleCreateBitmask FlagBit | |
pattern VkShaderModuleCreateFlags :: VkFlags -> VkShaderModuleCreateBitmask FlagMask |
Instances
type VkShaderResourceUsageAMD = VkStruct VkShaderResourceUsageAMD' Source #
typedef struct VkShaderResourceUsageAMD { uint32_t numUsedVgprs; uint32_t numUsedSgprs; uint32_t ldsSizePerLocalWorkGroup; size_t ldsUsageSizeInBytes; size_t scratchMemUsageInBytes; } VkShaderResourceUsageAMD;
type VkShaderStatisticsInfoAMD = VkStruct VkShaderStatisticsInfoAMD' Source #
typedef struct VkShaderStatisticsInfoAMD { VkShaderStageFlags shaderStageMask; VkShaderResourceUsageAMD resourceUsage; uint32_t numPhysicalVgprs; uint32_t numPhysicalSgprs; uint32_t numAvailableVgprs; uint32_t numAvailableSgprs; uint32_t computeWorkGroupSize[3]; } VkShaderStatisticsInfoAMD;
type VkGetShaderInfoAMD = "vkGetShaderInfoAMD" Source #
pattern VkGetShaderInfoAMD :: CString Source #
type HS_vkGetShaderInfoAMD Source #
= VkDevice | device |
-> VkPipeline | pipeline |
-> VkShaderStageFlagBits | shaderStage |
-> VkShaderInfoTypeAMD | infoType |
-> Ptr CSize | pInfoSize |
-> Ptr Void | pInfo |
-> IO VkResult |
Success codes: VK_SUCCESS
, VK_INCOMPLETE
.
Error codes: VK_ERROR_FEATURE_NOT_PRESENT
, VK_ERROR_OUT_OF_HOST_MEMORY
.
VkResult vkGetShaderInfoAMD ( VkDevice device , VkPipeline pipeline , VkShaderStageFlagBits shaderStage , VkShaderInfoTypeAMD infoType , size_t* pInfoSize , void* pInfo )
pattern VK_SUCCESS :: VkResult | Command completed successfully |
pattern VK_NOT_READY :: VkResult | A fence or query has not yet completed |
pattern VK_TIMEOUT :: VkResult | A wait operation has not completed in the specified time |
pattern VK_EVENT_SET :: VkResult | An event is signaled |
pattern VK_EVENT_RESET :: VkResult | An event is unsignaled |
pattern VK_INCOMPLETE :: VkResult | A return array was too small for the result |
pattern VK_ERROR_OUT_OF_HOST_MEMORY :: VkResult | A host memory allocation has failed |
pattern VK_ERROR_OUT_OF_DEVICE_MEMORY :: VkResult | A device memory allocation has failed |
pattern VK_ERROR_INITIALIZATION_FAILED :: VkResult | Initialization of a object has failed |
pattern VK_ERROR_DEVICE_LOST :: VkResult | The logical device has been lost. See |
pattern VK_ERROR_MEMORY_MAP_FAILED :: VkResult | Mapping of a memory object has failed |
pattern VK_ERROR_LAYER_NOT_PRESENT :: VkResult | Layer specified does not exist |
pattern VK_ERROR_EXTENSION_NOT_PRESENT :: VkResult | Extension specified does not exist |
pattern VK_ERROR_FEATURE_NOT_PRESENT :: VkResult | Requested feature is not available on this device |
pattern VK_ERROR_INCOMPATIBLE_DRIVER :: VkResult | Unable to find a Vulkan driver |
pattern VK_ERROR_TOO_MANY_OBJECTS :: VkResult | Too many objects of the type have already been created |
pattern VK_ERROR_FORMAT_NOT_SUPPORTED :: VkResult | Requested format is not supported on this device |
pattern VK_ERROR_FRAGMENTED_POOL :: VkResult | A requested pool allocation has failed due to fragmentation of the pool's memory |
pattern VK_ERROR_UNKNOWN :: VkResult | An unknown error has occurred, due to an implementation or application bug |
Instances
Enum VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
Eq VkResult Source # | |
Ord VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result | |
Read VkResult Source # | |
Show VkResult Source # | |
Storable VkResult Source # | |
Defined in Graphics.Vulkan.Types.Enum.Result |
data VkAccelerationStructureKHR_T Source #
Opaque data type referenced by VkAccelerationStructureKHR
data VkAccelerationStructureNV_T Source #
Opaque data type referenced by VkAccelerationStructureNV
type VkBuffer = VkPtr VkBuffer_T Source #
type VkBufferView = VkPtr VkBufferView_T Source #
data VkBufferView_T Source #
Opaque data type referenced by VkBufferView
data VkBuffer_T Source #
Opaque data type referenced by VkBuffer
type VkCommandBuffer = Ptr VkCommandBuffer_T Source #
data VkCommandBuffer_T Source #
Opaque data type referenced by VkCommandBuffer
type VkCommandPool = VkPtr VkCommandPool_T Source #
data VkCommandPool_T Source #
Opaque data type referenced by VkCommandPool
data VkDebugReportCallbackEXT_T Source #
Opaque data type referenced by VkDebugReportCallbackEXT
data VkDebugUtilsMessengerEXT_T Source #
Opaque data type referenced by VkDebugUtilsMessengerEXT
data VkDeferredOperationKHR_T Source #
Opaque data type referenced by VkDeferredOperationKHR
data VkDescriptorPool_T Source #
Opaque data type referenced by VkDescriptorPool
type VkDescriptorSet = VkPtr VkDescriptorSet_T Source #
data VkDescriptorSetLayout_T Source #
Opaque data type referenced by VkDescriptorSetLayout
data VkDescriptorSet_T Source #
Opaque data type referenced by VkDescriptorSet
data VkDescriptorUpdateTemplateKHR_T Source #
Opaque data type referenced by VkDescriptorUpdateTemplateKHR
data VkDescriptorUpdateTemplate_T Source #
Opaque data type referenced by VkDescriptorUpdateTemplate
type VkDevice = Ptr VkDevice_T Source #
type VkDeviceMemory = VkPtr VkDeviceMemory_T Source #
data VkDeviceMemory_T Source #
Opaque data type referenced by VkDeviceMemory
data VkDevice_T Source #
Opaque data type referenced by VkDevice
type VkDisplayKHR = VkPtr VkDisplayKHR_T Source #
data VkDisplayKHR_T Source #
Opaque data type referenced by VkDisplayKHR
data VkDisplayModeKHR_T Source #
Opaque data type referenced by VkDisplayModeKHR
type VkFramebuffer = VkPtr VkFramebuffer_T Source #
data VkFramebuffer_T Source #
Opaque data type referenced by VkFramebuffer
type VkImageView = VkPtr VkImageView_T Source #
data VkImageView_T Source #
Opaque data type referenced by VkImageView
data VkIndirectCommandsLayoutNV_T Source #
Opaque data type referenced by VkIndirectCommandsLayoutNV
type VkInstance = Ptr VkInstance_T Source #
data VkInstance_T Source #
Opaque data type referenced by VkInstance
data VkPerformanceConfigurationINTEL_T Source #
Opaque data type referenced by VkPerformanceConfigurationINTEL
type VkPhysicalDevice = Ptr VkPhysicalDevice_T Source #
data VkPhysicalDevice_T Source #
Opaque data type referenced by VkPhysicalDevice
type VkPipeline = VkPtr VkPipeline_T Source #
type VkPipelineCache = VkPtr VkPipelineCache_T Source #
data VkPipelineCache_T Source #
Opaque data type referenced by VkPipelineCache
data VkPipelineLayout_T Source #
Opaque data type referenced by VkPipelineLayout
data VkPipeline_T Source #
Opaque data type referenced by VkPipeline
data VkPrivateDataSlotEXT_T Source #
Opaque data type referenced by VkPrivateDataSlotEXT
type VkQueryPool = VkPtr VkQueryPool_T Source #
data VkQueryPool_T Source #
Opaque data type referenced by VkQueryPool
type VkRenderPass = VkPtr VkRenderPass_T Source #
data VkRenderPass_T Source #
Opaque data type referenced by VkRenderPass
type VkSampler = VkPtr VkSampler_T Source #
data VkSamplerYcbcrConversionKHR_T Source #
Opaque data type referenced by VkSamplerYcbcrConversionKHR
data VkSamplerYcbcrConversion_T Source #
Opaque data type referenced by VkSamplerYcbcrConversion
data VkSampler_T Source #
Opaque data type referenced by VkSampler
type VkSemaphore = VkPtr VkSemaphore_T Source #
data VkSemaphore_T Source #
Opaque data type referenced by VkSemaphore
type VkShaderModule = VkPtr VkShaderModule_T Source #
data VkShaderModule_T Source #
Opaque data type referenced by VkShaderModule
type VkSurfaceKHR = VkPtr VkSurfaceKHR_T Source #
data VkSurfaceKHR_T Source #
Opaque data type referenced by VkSurfaceKHR
type VkSwapchainKHR = VkPtr VkSwapchainKHR_T Source #
data VkSwapchainKHR_T Source #
Opaque data type referenced by VkSwapchainKHR
data VkValidationCacheEXT_T Source #
Opaque data type referenced by VkValidationCacheEXT
type VK_AMD_SHADER_INFO_SPEC_VERSION = 1 Source #
pattern VK_AMD_SHADER_INFO_SPEC_VERSION :: (Num a, Eq a) => a Source #
type VK_AMD_SHADER_INFO_EXTENSION_NAME = "VK_AMD_shader_info" Source #
pattern VK_AMD_SHADER_INFO_EXTENSION_NAME :: CString Source #
Orphan instances
VulkanProc "vkGetShaderInfoAMD" Source # | |
type VkProcType "vkGetShaderInfoAMD" Source # vkProcSymbol :: CString Source # unwrapVkProcPtrUnsafe :: FunPtr (VkProcType "vkGetShaderInfoAMD") -> VkProcType "vkGetShaderInfoAMD" Source # unwrapVkProcPtrSafe :: FunPtr (VkProcType "vkGetShaderInfoAMD") -> VkProcType "vkGetShaderInfoAMD" Source # |