vulkan-api-1.3.0.0: Low-level low-overhead vulkan api bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Ext.VK_AMD_shader_info

Contents

Synopsis

Vulkan extension: VK_AMD_shader_info

supported: vulkan

contact: Jaakko Konttinen jaakkoamd@

author: AMD

type: device

Extension number: 43

newtype VkBool32 Source #

Constructors

VkBool32 Word32 
Instances
Bounded VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Integral VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

newtype VkDeviceSize Source #

Constructors

VkDeviceSize Word64 
Instances
Bounded VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Integral VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

newtype VkFlags Source #

Constructors

VkFlags Word32 
Instances
Bounded VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Methods

(==) :: VkFlags -> VkFlags -> Bool #

(/=) :: VkFlags -> VkFlags -> Bool #

Integral VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

newtype VkSampleMask Source #

Constructors

VkSampleMask Word32 
Instances
Bounded VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Integral VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

newtype VkShaderInfoTypeAMD Source #

Instances
Enum VkShaderInfoTypeAMD Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Eq VkShaderInfoTypeAMD Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Ord VkShaderInfoTypeAMD Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Read VkShaderInfoTypeAMD Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Show VkShaderInfoTypeAMD Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Storable VkShaderInfoTypeAMD Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

newtype VkShaderStageBitmask (a :: FlagType) Source #

Instances
Eq (VkShaderStageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Ord (VkShaderStageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Read (VkShaderStageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Show (VkShaderStageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Storable (VkShaderStageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Bits (VkShaderStageBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

Methods

(.&.) :: VkShaderStageBitmask FlagMask -> VkShaderStageBitmask FlagMask -> VkShaderStageBitmask FlagMask #

(.|.) :: VkShaderStageBitmask FlagMask -> VkShaderStageBitmask FlagMask -> VkShaderStageBitmask FlagMask #

xor :: VkShaderStageBitmask FlagMask -> VkShaderStageBitmask FlagMask -> VkShaderStageBitmask FlagMask #

complement :: VkShaderStageBitmask FlagMask -> VkShaderStageBitmask FlagMask #

shift :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

rotate :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

zeroBits :: VkShaderStageBitmask FlagMask #

bit :: Int -> VkShaderStageBitmask FlagMask #

setBit :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

clearBit :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

complementBit :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

testBit :: VkShaderStageBitmask FlagMask -> Int -> Bool #

bitSizeMaybe :: VkShaderStageBitmask FlagMask -> Maybe Int #

bitSize :: VkShaderStageBitmask FlagMask -> Int #

isSigned :: VkShaderStageBitmask FlagMask -> Bool #

shiftL :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

unsafeShiftL :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

shiftR :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

unsafeShiftR :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

rotateL :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

rotateR :: VkShaderStageBitmask FlagMask -> Int -> VkShaderStageBitmask FlagMask #

popCount :: VkShaderStageBitmask FlagMask -> Int #

FiniteBits (VkShaderStageBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Shader

type VkShaderResourceUsageAMD = VkStruct VkShaderResourceUsageAMD' Source #

typedef struct VkShaderResourceUsageAMD {
    uint32_t numUsedVgprs;
    uint32_t numUsedSgprs;
    uint32_t ldsSizePerLocalWorkGroup;
    size_t ldsUsageSizeInBytes;
    size_t scratchMemUsageInBytes;
} VkShaderResourceUsageAMD;

VkShaderResourceUsageAMD registry at www.khronos.org

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;

VkShaderStatisticsInfoAMD registry at www.khronos.org

type VkGetShaderInfoAMD = "vkGetShaderInfoAMD" Source #

type HS_vkGetShaderInfoAMD Source #

Arguments

 = 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
    )

vkGetShaderInfoAMD registry at www.khronos.org

newtype VkResult Source #

API result codes

type = enum

VkResult registry at www.khronos.org

Constructors

VkResult Int32 

Bundled Patterns

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

Instances
Enum VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Eq VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Ord VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Read VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Show VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Storable VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

data VkBufferView_T Source #

Opaque data type referenced by VkBufferView

data VkBuffer_T Source #

Opaque data type referenced by VkBuffer

data VkCommandBuffer_T Source #

Opaque data type referenced by VkCommandBuffer

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 VkDescriptorPool_T Source #

Opaque data type referenced by VkDescriptorPool

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

data VkDeviceMemory_T Source #

Opaque data type referenced by VkDeviceMemory

data VkDevice_T Source #

Opaque data type referenced by VkDevice

data VkDisplayKHR_T Source #

Opaque data type referenced by VkDisplayKHR

data VkDisplayModeKHR_T Source #

Opaque data type referenced by VkDisplayModeKHR

data VkEvent_T Source #

Opaque data type referenced by VkEvent

data VkFence_T Source #

Opaque data type referenced by VkFence

data VkFramebuffer_T Source #

Opaque data type referenced by VkFramebuffer

data VkImageView_T Source #

Opaque data type referenced by VkImageView

data VkImage_T Source #

Opaque data type referenced by VkImage

data VkIndirectCommandsLayoutNVX_T Source #

Opaque data type referenced by VkIndirectCommandsLayoutNVX

data VkInstance_T Source #

Opaque data type referenced by VkInstance

data VkObjectTableNVX_T Source #

Opaque data type referenced by VkObjectTableNVX

data VkPhysicalDevice_T Source #

Opaque data type referenced by VkPhysicalDevice

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 VkQueryPool_T Source #

Opaque data type referenced by VkQueryPool

data VkQueue_T Source #

Opaque data type referenced by VkQueue

data VkRenderPass_T Source #

Opaque data type referenced by VkRenderPass

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

data VkSemaphore_T Source #

Opaque data type referenced by VkSemaphore

data VkShaderModule_T Source #

Opaque data type referenced by VkShaderModule

data VkSurfaceKHR_T Source #

Opaque data type referenced by VkSurfaceKHR

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_EXTENSION_NAME = "VK_AMD_shader_info" Source #

Orphan instances

VulkanProc "vkGetShaderInfoAMD" Source # 
Instance details

Associated Types

type VkProcType "vkGetShaderInfoAMD" :: Type Source #

Methods

vkProcSymbol :: CString Source #

unwrapVkProcPtrUnsafe :: FunPtr (VkProcType "vkGetShaderInfoAMD") -> VkProcType "vkGetShaderInfoAMD" Source #

unwrapVkProcPtrSafe :: FunPtr (VkProcType "vkGetShaderInfoAMD") -> VkProcType "vkGetShaderInfoAMD" Source #