packages feed

spirv-reflect-types 0.3 → 0.4

raw patch · 5 files changed

+31/−8 lines, 5 filesdep ~basedep ~spirv-enumPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, spirv-enum

API changes (from Hackage documentation)

- Data.SpirV.Reflect.BlockVariable: [$sel:absolute_offset:BlockVariable] :: BlockVariable -> Word32
- Data.SpirV.Reflect.BlockVariable: [$sel:array:BlockVariable] :: BlockVariable -> Array
- Data.SpirV.Reflect.BlockVariable: [$sel:decorations:BlockVariable] :: BlockVariable -> DecorationFlags
- Data.SpirV.Reflect.BlockVariable: [$sel:members:BlockVariable] :: BlockVariable -> Vector BlockVariable
- Data.SpirV.Reflect.BlockVariable: [$sel:name:BlockVariable] :: BlockVariable -> Maybe Text
- Data.SpirV.Reflect.BlockVariable: [$sel:numeric:BlockVariable] :: BlockVariable -> Numeric
- Data.SpirV.Reflect.BlockVariable: [$sel:offset:BlockVariable] :: BlockVariable -> Word32
- Data.SpirV.Reflect.BlockVariable: [$sel:offset:WordOffset] :: WordOffset -> Word32
- Data.SpirV.Reflect.BlockVariable: [$sel:padded_size:BlockVariable] :: BlockVariable -> Word32
- Data.SpirV.Reflect.BlockVariable: [$sel:size:BlockVariable] :: BlockVariable -> Word32
- Data.SpirV.Reflect.BlockVariable: [$sel:spirv_id:BlockVariable] :: BlockVariable -> Maybe Word32
- Data.SpirV.Reflect.BlockVariable: [$sel:type_description:BlockVariable] :: BlockVariable -> Maybe TypeDescription
- Data.SpirV.Reflect.BlockVariable: [$sel:word_offset:BlockVariable] :: BlockVariable -> Maybe WordOffset
- Data.SpirV.Reflect.DescriptorBinding: [$sel:accessed:DescriptorBinding] :: DescriptorBinding -> Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:array:DescriptorBinding] :: DescriptorBinding -> Array
- Data.SpirV.Reflect.DescriptorBinding: [$sel:binding:DescriptorBinding] :: DescriptorBinding -> Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:binding:WordOffset] :: WordOffset -> Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:block:DescriptorBinding] :: DescriptorBinding -> Maybe BlockVariable
- Data.SpirV.Reflect.DescriptorBinding: [$sel:byte_address_buffer_offsets:DescriptorBinding] :: DescriptorBinding -> Vector Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:count:DescriptorBinding] :: DescriptorBinding -> Maybe Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:decoration_flags:DescriptorBinding] :: DescriptorBinding -> DecorationFlags
- Data.SpirV.Reflect.DescriptorBinding: [$sel:descriptor_type:DescriptorBinding] :: DescriptorBinding -> DescriptorType
- Data.SpirV.Reflect.DescriptorBinding: [$sel:image:DescriptorBinding] :: DescriptorBinding -> Image
- Data.SpirV.Reflect.DescriptorBinding: [$sel:input_attachment_index:DescriptorBinding] :: DescriptorBinding -> Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:name:DescriptorBinding] :: DescriptorBinding -> Text
- Data.SpirV.Reflect.DescriptorBinding: [$sel:resource_type:DescriptorBinding] :: DescriptorBinding -> ResourceFlags
- Data.SpirV.Reflect.DescriptorBinding: [$sel:set:DescriptorBinding] :: DescriptorBinding -> Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:set:WordOffset] :: WordOffset -> Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:spirv_id:DescriptorBinding] :: DescriptorBinding -> Maybe Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:type_description:DescriptorBinding] :: DescriptorBinding -> Maybe TypeDescription
- Data.SpirV.Reflect.DescriptorBinding: [$sel:uav_counter_binding:DescriptorBinding] :: DescriptorBinding -> Maybe DescriptorBinding
- Data.SpirV.Reflect.DescriptorBinding: [$sel:uav_counter_id:DescriptorBinding] :: DescriptorBinding -> Word32
- Data.SpirV.Reflect.DescriptorBinding: [$sel:user_type:DescriptorBinding] :: DescriptorBinding -> Maybe UserType
- Data.SpirV.Reflect.DescriptorBinding: [$sel:word_offset:DescriptorBinding] :: DescriptorBinding -> WordOffset
- Data.SpirV.Reflect.DescriptorSet: [$sel:bindings:DescriptorSet] :: DescriptorSet -> Vector DescriptorBinding
- Data.SpirV.Reflect.DescriptorSet: [$sel:set:DescriptorSet] :: DescriptorSet -> Word32
- Data.SpirV.Reflect.InterfaceVariable: [$sel:array:InterfaceVariable] :: InterfaceVariable -> Array
- Data.SpirV.Reflect.InterfaceVariable: [$sel:built_in:InterfaceVariable] :: InterfaceVariable -> Maybe BuiltIn
- Data.SpirV.Reflect.InterfaceVariable: [$sel:component:InterfaceVariable] :: InterfaceVariable -> Maybe Word32
- Data.SpirV.Reflect.InterfaceVariable: [$sel:decoration_flags:InterfaceVariable] :: InterfaceVariable -> DecorationFlags
- Data.SpirV.Reflect.InterfaceVariable: [$sel:format:InterfaceVariable] :: InterfaceVariable -> Format
- Data.SpirV.Reflect.InterfaceVariable: [$sel:location:InterfaceVariable] :: InterfaceVariable -> Word32
- Data.SpirV.Reflect.InterfaceVariable: [$sel:location:WordOffset] :: WordOffset -> Word32
- Data.SpirV.Reflect.InterfaceVariable: [$sel:members:InterfaceVariable] :: InterfaceVariable -> Vector InterfaceVariable
- Data.SpirV.Reflect.InterfaceVariable: [$sel:name:InterfaceVariable] :: InterfaceVariable -> Maybe Text
- Data.SpirV.Reflect.InterfaceVariable: [$sel:numeric:InterfaceVariable] :: InterfaceVariable -> Numeric
- Data.SpirV.Reflect.InterfaceVariable: [$sel:semantic:InterfaceVariable] :: InterfaceVariable -> Maybe Text
- Data.SpirV.Reflect.InterfaceVariable: [$sel:spirv_id:InterfaceVariable] :: InterfaceVariable -> Maybe Word32
- Data.SpirV.Reflect.InterfaceVariable: [$sel:storage_class:InterfaceVariable] :: InterfaceVariable -> StorageClass
- Data.SpirV.Reflect.InterfaceVariable: [$sel:type_description:InterfaceVariable] :: InterfaceVariable -> Maybe TypeDescription
- Data.SpirV.Reflect.InterfaceVariable: [$sel:word_offset:InterfaceVariable] :: InterfaceVariable -> WordOffset
- Data.SpirV.Reflect.Module: [$sel:descriptor_bindings:Module] :: Module -> Vector DescriptorBinding
- Data.SpirV.Reflect.Module: [$sel:descriptor_sets:Module] :: Module -> Vector DescriptorSet
- Data.SpirV.Reflect.Module: [$sel:entry_point_id:Module] :: Module -> Int
- Data.SpirV.Reflect.Module: [$sel:entry_point_name:Module] :: Module -> Text
- Data.SpirV.Reflect.Module: [$sel:generator:Module] :: Module -> Generator
- Data.SpirV.Reflect.Module: [$sel:input_variables:Module] :: Module -> Vector InterfaceVariable
- Data.SpirV.Reflect.Module: [$sel:output_variables:Module] :: Module -> Vector InterfaceVariable
- Data.SpirV.Reflect.Module: [$sel:push_constants:Module] :: Module -> Vector BlockVariable
- Data.SpirV.Reflect.Module: [$sel:shader_stage:Module] :: Module -> Int
- Data.SpirV.Reflect.Module: [$sel:source_language:Module] :: Module -> Int
- Data.SpirV.Reflect.Module: [$sel:source_language_version:Module] :: Module -> Int
- Data.SpirV.Reflect.Module: [$sel:spec_constants:Module] :: Module -> Vector SpecializationConstant
- Data.SpirV.Reflect.Module: [$sel:spirv_execution_model:Module] :: Module -> Int
- Data.SpirV.Reflect.SpecializationConstant: [$sel:constant_id:SpecializationConstant] :: SpecializationConstant -> Word32
- Data.SpirV.Reflect.SpecializationConstant: [$sel:name:SpecializationConstant] :: SpecializationConstant -> Maybe Text
- Data.SpirV.Reflect.SpecializationConstant: [$sel:spirv_id:SpecializationConstant] :: SpecializationConstant -> Maybe Word32
- Data.SpirV.Reflect.Traits: [$sel:arrayed:Image] :: Image -> Word32
- Data.SpirV.Reflect.Traits: [$sel:column_count:Matrix] :: Matrix -> Word32
- Data.SpirV.Reflect.Traits: [$sel:component_count:Vector] :: Vector -> Word32
- Data.SpirV.Reflect.Traits: [$sel:depth:Image] :: Image -> Word32
- Data.SpirV.Reflect.Traits: [$sel:dim:Image] :: Image -> Dim
- Data.SpirV.Reflect.Traits: [$sel:dims:Array] :: Array -> Vector Word32
- Data.SpirV.Reflect.Traits: [$sel:dims_count:Array] :: Array -> Word32
- Data.SpirV.Reflect.Traits: [$sel:image_format:Image] :: Image -> ImageFormat
- Data.SpirV.Reflect.Traits: [$sel:matrix:Numeric] :: Numeric -> Matrix
- Data.SpirV.Reflect.Traits: [$sel:ms:Image] :: Image -> Word32
- Data.SpirV.Reflect.Traits: [$sel:row_count:Matrix] :: Matrix -> Word32
- Data.SpirV.Reflect.Traits: [$sel:sampled:Image] :: Image -> Word32
- Data.SpirV.Reflect.Traits: [$sel:scalar:Numeric] :: Numeric -> Scalar
- Data.SpirV.Reflect.Traits: [$sel:signed:Scalar] :: Scalar -> Bool
- Data.SpirV.Reflect.Traits: [$sel:stride:Array] :: Array -> Maybe Word32
- Data.SpirV.Reflect.Traits: [$sel:stride:Matrix] :: Matrix -> Word32
- Data.SpirV.Reflect.Traits: [$sel:vector:Numeric] :: Numeric -> Vector
- Data.SpirV.Reflect.Traits: [$sel:width:Scalar] :: Scalar -> Word32
- Data.SpirV.Reflect.TypeDescription: [$sel:array:Traits] :: Traits -> Array
- Data.SpirV.Reflect.TypeDescription: [$sel:copied:TypeDescription] :: TypeDescription -> Maybe Word32
- Data.SpirV.Reflect.TypeDescription: [$sel:id:TypeDescription] :: TypeDescription -> Maybe Word32
- Data.SpirV.Reflect.TypeDescription: [$sel:image:Traits] :: Traits -> Image
- Data.SpirV.Reflect.TypeDescription: [$sel:members:TypeDescription] :: TypeDescription -> Vector TypeDescription
- Data.SpirV.Reflect.TypeDescription: [$sel:numeric:Traits] :: Traits -> Numeric
- Data.SpirV.Reflect.TypeDescription: [$sel:op:TypeDescription] :: TypeDescription -> Maybe Op
- Data.SpirV.Reflect.TypeDescription: [$sel:storage_class:TypeDescription] :: TypeDescription -> StorageClass
- Data.SpirV.Reflect.TypeDescription: [$sel:struct_member_name:TypeDescription] :: TypeDescription -> Maybe Text
- Data.SpirV.Reflect.TypeDescription: [$sel:struct_type_description:TypeDescription] :: TypeDescription -> Maybe TypeDescription
- Data.SpirV.Reflect.TypeDescription: [$sel:traits:TypeDescription] :: TypeDescription -> Maybe Traits
- Data.SpirV.Reflect.TypeDescription: [$sel:type_flags:TypeDescription] :: TypeDescription -> TypeFlags
- Data.SpirV.Reflect.TypeDescription: [$sel:type_name:TypeDescription] :: TypeDescription -> Maybe Text
+ Data.SpirV.Reflect.BlockVariable: [absolute_offset] :: BlockVariable -> Word32
+ Data.SpirV.Reflect.BlockVariable: [array] :: BlockVariable -> Array
+ Data.SpirV.Reflect.BlockVariable: [decorations] :: BlockVariable -> DecorationFlags
+ Data.SpirV.Reflect.BlockVariable: [members] :: BlockVariable -> Vector BlockVariable
+ Data.SpirV.Reflect.BlockVariable: [name] :: BlockVariable -> Maybe Text
+ Data.SpirV.Reflect.BlockVariable: [numeric] :: BlockVariable -> Numeric
+ Data.SpirV.Reflect.BlockVariable: [offset] :: WordOffset -> Word32
+ Data.SpirV.Reflect.BlockVariable: [padded_size] :: BlockVariable -> Word32
+ Data.SpirV.Reflect.BlockVariable: [size] :: BlockVariable -> Word32
+ Data.SpirV.Reflect.BlockVariable: [spirv_id] :: BlockVariable -> Maybe Word32
+ Data.SpirV.Reflect.BlockVariable: [type_description] :: BlockVariable -> Maybe TypeDescription
+ Data.SpirV.Reflect.BlockVariable: [word_offset] :: BlockVariable -> Maybe WordOffset
+ Data.SpirV.Reflect.DescriptorBinding: [accessed] :: DescriptorBinding -> Word32
+ Data.SpirV.Reflect.DescriptorBinding: [array] :: DescriptorBinding -> Array
+ Data.SpirV.Reflect.DescriptorBinding: [binding] :: WordOffset -> Word32
+ Data.SpirV.Reflect.DescriptorBinding: [block] :: DescriptorBinding -> Maybe BlockVariable
+ Data.SpirV.Reflect.DescriptorBinding: [byte_address_buffer_offsets] :: DescriptorBinding -> Vector Word32
+ Data.SpirV.Reflect.DescriptorBinding: [count] :: DescriptorBinding -> Maybe Word32
+ Data.SpirV.Reflect.DescriptorBinding: [decoration_flags] :: DescriptorBinding -> DecorationFlags
+ Data.SpirV.Reflect.DescriptorBinding: [descriptor_type] :: DescriptorBinding -> DescriptorType
+ Data.SpirV.Reflect.DescriptorBinding: [image] :: DescriptorBinding -> Image
+ Data.SpirV.Reflect.DescriptorBinding: [input_attachment_index] :: DescriptorBinding -> Word32
+ Data.SpirV.Reflect.DescriptorBinding: [name] :: DescriptorBinding -> Text
+ Data.SpirV.Reflect.DescriptorBinding: [resource_type] :: DescriptorBinding -> ResourceFlags
+ Data.SpirV.Reflect.DescriptorBinding: [set] :: WordOffset -> Word32
+ Data.SpirV.Reflect.DescriptorBinding: [spirv_id] :: DescriptorBinding -> Maybe Word32
+ Data.SpirV.Reflect.DescriptorBinding: [type_description] :: DescriptorBinding -> Maybe TypeDescription
+ Data.SpirV.Reflect.DescriptorBinding: [uav_counter_binding] :: DescriptorBinding -> Maybe DescriptorBinding
+ Data.SpirV.Reflect.DescriptorBinding: [uav_counter_id] :: DescriptorBinding -> Word32
+ Data.SpirV.Reflect.DescriptorBinding: [user_type] :: DescriptorBinding -> Maybe UserType
+ Data.SpirV.Reflect.DescriptorBinding: [word_offset] :: DescriptorBinding -> WordOffset
+ Data.SpirV.Reflect.DescriptorSet: [bindings] :: DescriptorSet -> Vector DescriptorBinding
+ Data.SpirV.Reflect.DescriptorSet: [set] :: DescriptorSet -> Word32
+ Data.SpirV.Reflect.Enums.Generator: pattern GENERATOR_SLANG_SHADER_COMPILER :: Generator
+ Data.SpirV.Reflect.InterfaceVariable: [array] :: InterfaceVariable -> Array
+ Data.SpirV.Reflect.InterfaceVariable: [built_in] :: InterfaceVariable -> Maybe BuiltIn
+ Data.SpirV.Reflect.InterfaceVariable: [component] :: InterfaceVariable -> Maybe Word32
+ Data.SpirV.Reflect.InterfaceVariable: [decoration_flags] :: InterfaceVariable -> DecorationFlags
+ Data.SpirV.Reflect.InterfaceVariable: [format] :: InterfaceVariable -> Format
+ Data.SpirV.Reflect.InterfaceVariable: [location] :: WordOffset -> Word32
+ Data.SpirV.Reflect.InterfaceVariable: [members] :: InterfaceVariable -> Vector InterfaceVariable
+ Data.SpirV.Reflect.InterfaceVariable: [name] :: InterfaceVariable -> Maybe Text
+ Data.SpirV.Reflect.InterfaceVariable: [numeric] :: InterfaceVariable -> Numeric
+ Data.SpirV.Reflect.InterfaceVariable: [semantic] :: InterfaceVariable -> Maybe Text
+ Data.SpirV.Reflect.InterfaceVariable: [spirv_id] :: InterfaceVariable -> Maybe Word32
+ Data.SpirV.Reflect.InterfaceVariable: [storage_class] :: InterfaceVariable -> StorageClass
+ Data.SpirV.Reflect.InterfaceVariable: [type_description] :: InterfaceVariable -> Maybe TypeDescription
+ Data.SpirV.Reflect.InterfaceVariable: [word_offset] :: InterfaceVariable -> WordOffset
+ Data.SpirV.Reflect.Module: [descriptor_bindings] :: Module -> Vector DescriptorBinding
+ Data.SpirV.Reflect.Module: [descriptor_sets] :: Module -> Vector DescriptorSet
+ Data.SpirV.Reflect.Module: [entry_point_id] :: Module -> Int
+ Data.SpirV.Reflect.Module: [entry_point_name] :: Module -> Text
+ Data.SpirV.Reflect.Module: [generator] :: Module -> Generator
+ Data.SpirV.Reflect.Module: [input_variables] :: Module -> Vector InterfaceVariable
+ Data.SpirV.Reflect.Module: [output_variables] :: Module -> Vector InterfaceVariable
+ Data.SpirV.Reflect.Module: [push_constants] :: Module -> Vector BlockVariable
+ Data.SpirV.Reflect.Module: [shader_stage] :: Module -> Int
+ Data.SpirV.Reflect.Module: [source_language] :: Module -> Int
+ Data.SpirV.Reflect.Module: [source_language_version] :: Module -> Int
+ Data.SpirV.Reflect.Module: [spec_constants] :: Module -> Vector SpecializationConstant
+ Data.SpirV.Reflect.Module: [spirv_execution_model] :: Module -> Int
+ Data.SpirV.Reflect.SpecializationConstant: [constant_id] :: SpecializationConstant -> Word32
+ Data.SpirV.Reflect.SpecializationConstant: [default_value] :: SpecializationConstant -> Vector Word32
+ Data.SpirV.Reflect.SpecializationConstant: [name] :: SpecializationConstant -> Maybe Text
+ Data.SpirV.Reflect.SpecializationConstant: [spirv_id] :: SpecializationConstant -> Maybe Word32
+ Data.SpirV.Reflect.SpecializationConstant: [type_description] :: SpecializationConstant -> Maybe TypeDescription
+ Data.SpirV.Reflect.Traits: [arrayed] :: Image -> Word32
+ Data.SpirV.Reflect.Traits: [column_count] :: Matrix -> Word32
+ Data.SpirV.Reflect.Traits: [component_count] :: Vector -> Word32
+ Data.SpirV.Reflect.Traits: [depth] :: Image -> Word32
+ Data.SpirV.Reflect.Traits: [dim] :: Image -> Dim
+ Data.SpirV.Reflect.Traits: [dims] :: Array -> Vector Word32
+ Data.SpirV.Reflect.Traits: [dims_count] :: Array -> Word32
+ Data.SpirV.Reflect.Traits: [image_format] :: Image -> ImageFormat
+ Data.SpirV.Reflect.Traits: [matrix] :: Numeric -> Matrix
+ Data.SpirV.Reflect.Traits: [ms] :: Image -> Word32
+ Data.SpirV.Reflect.Traits: [row_count] :: Matrix -> Word32
+ Data.SpirV.Reflect.Traits: [sampled] :: Image -> Word32
+ Data.SpirV.Reflect.Traits: [scalar] :: Numeric -> Scalar
+ Data.SpirV.Reflect.Traits: [signed] :: Scalar -> Bool
+ Data.SpirV.Reflect.Traits: [stride] :: Array -> Maybe Word32
+ Data.SpirV.Reflect.Traits: [vector] :: Numeric -> Vector
+ Data.SpirV.Reflect.Traits: [width] :: Scalar -> Word32
+ Data.SpirV.Reflect.TypeDescription: [array] :: Traits -> Array
+ Data.SpirV.Reflect.TypeDescription: [copied] :: TypeDescription -> Maybe Word32
+ Data.SpirV.Reflect.TypeDescription: [id] :: TypeDescription -> Maybe Word32
+ Data.SpirV.Reflect.TypeDescription: [image] :: Traits -> Image
+ Data.SpirV.Reflect.TypeDescription: [members] :: TypeDescription -> Vector TypeDescription
+ Data.SpirV.Reflect.TypeDescription: [numeric] :: Traits -> Numeric
+ Data.SpirV.Reflect.TypeDescription: [op] :: TypeDescription -> Maybe Op
+ Data.SpirV.Reflect.TypeDescription: [storage_class] :: TypeDescription -> StorageClass
+ Data.SpirV.Reflect.TypeDescription: [struct_member_name] :: TypeDescription -> Maybe Text
+ Data.SpirV.Reflect.TypeDescription: [struct_type_description] :: TypeDescription -> Maybe TypeDescription
+ Data.SpirV.Reflect.TypeDescription: [traits] :: TypeDescription -> Maybe Traits
+ Data.SpirV.Reflect.TypeDescription: [type_flags] :: TypeDescription -> TypeFlags
+ Data.SpirV.Reflect.TypeDescription: [type_name] :: TypeDescription -> Maybe Text
- Data.SpirV.Reflect.Enums.Common: class () => IsString a
+ Data.SpirV.Reflect.Enums.Common: class IsString a
- Data.SpirV.Reflect.Enums.Common: data () => Int32
+ Data.SpirV.Reflect.Enums.Common: data Int32
- Data.SpirV.Reflect.Enums.Common: data () => Word32
+ Data.SpirV.Reflect.Enums.Common: data Word32
- Data.SpirV.Reflect.SpecializationConstant: SpecializationConstant :: Maybe Word32 -> Word32 -> Maybe Text -> SpecializationConstant
+ Data.SpirV.Reflect.SpecializationConstant: SpecializationConstant :: Maybe Word32 -> Word32 -> Maybe Text -> Maybe TypeDescription -> Vector Word32 -> SpecializationConstant

Files

ChangeLog.md view
@@ -1,5 +1,15 @@ # Changelog for spirv-reflect-types +## [0.4] - 2026-06-23++* **Breaking:** minimum GHC raised to 9.2 (`base >= 4.16`).+* Updated to `vulkan-sdk-1.4.350` (via `spirv-enum-1.104.350.0`).+* `SpecializationConstant`: added `type_description` and `default_value` fields.+* Added `GENERATOR_SLANG_SHADER_COMPILER`.+* Fixed `TYPE_FLAG_REF` label (was aliased to `ARRAY`).++[0.4]: https://gitlab.com/dpwiz/spirv-reflect/-/tree/v0.4-types+ ## [0.3] - 2024-07-07  * Update types to accomodate `vulkan-sdk-1.3.283.0`.
lib/Data/SpirV/Reflect/Enums/Generator.hs view
@@ -35,6 +35,9 @@ pattern GENERATOR_CLAY_CLAY_SHADER_COMPILER :: Generator pattern GENERATOR_CLAY_CLAY_SHADER_COMPILER = Generator 19 +pattern GENERATOR_SLANG_SHADER_COMPILER :: Generator+pattern GENERATOR_SLANG_SHADER_COMPILER = Generator 40+ generatorName :: IsString label => Generator -> Maybe label generatorName = toLabel generatorNames @@ -50,4 +53,5 @@   , (GENERATOR_KHRONOS_SPIRV_TOOLS_LINKER, "Khronos SPIR-V Tools Linker")   , (GENERATOR_WINE_VKD3D_SHADER_COMPILER, "Wine VKD3D Shader Compiler")   , (GENERATOR_CLAY_CLAY_SHADER_COMPILER, "Clay Clay Shader Compiler")+  , (GENERATOR_SLANG_SHADER_COMPILER, "Slang Shader Compiler")   ]
lib/Data/SpirV/Reflect/Enums/TypeFlags.hs view
@@ -74,7 +74,7 @@   , (TYPE_FLAG_EXTERNAL_MASK, "EXTERNAL_MASK")   , (TYPE_FLAG_STRUCT, "STRUCT")   , (TYPE_FLAG_ARRAY, "ARRAY")-  , (TYPE_FLAG_ARRAY, "REF")+  , (TYPE_FLAG_REF, "REF")   ]  typeFlagsNames :: IsString label => TypeFlags -> [label]
lib/Data/SpirV/Reflect/SpecializationConstant.hs view
@@ -3,12 +3,21 @@   ) where  import Data.Text (Text)+import Data.Vector (Vector) import Data.Word (Word32) import GHC.Generics (Generic) +import Data.SpirV.Reflect.TypeDescription (TypeDescription)+ data SpecializationConstant = SpecializationConstant-  { spirv_id    :: Maybe Word32-  , constant_id :: Word32-  , name        :: Maybe Text+  { spirv_id         :: Maybe Word32+  , constant_id      :: Word32+  , name             :: Maybe Text+  , type_description :: Maybe TypeDescription+  , default_value    :: Vector Word32+    -- ^ Raw default value, as 32-bit words with the low-order word first+    -- (the C @default_value_size@ in bytes equals @4 * length default_value@).+    -- Interpret the bit pattern according to 'type_description'. Booleans use+    -- a single word: @1@ for true, @0@ for false.   }   deriving (Eq, Show, Generic)
spirv-reflect-types.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.36.0.+-- This file has been generated from package.yaml by hpack version 0.39.1. -- -- see: https://github.com/sol/hpack  name:           spirv-reflect-types-version:        0.3+version:        0.4 synopsis:       Data types from spirv-reflect tool. category:       Graphics author:         IC Rainbow@@ -63,9 +63,9 @@       StrictData       TypeApplications   build-depends:-      base >=4.7 && <5+      base >=4.16 && <5     , containers-    , spirv-enum ==0.1.*+    , spirv-enum >=0.1 && <2     , text     , vector   default-language: Haskell2010