module Data.SpirV.Reflect.Enums.Result where

data Result
  = SUCCESS
  | NOT_READY
  | ERROR_PARSE_FAILED
  | ERROR_ALLOC_FAILED
  | ERROR_RANGE_EXCEEDED
  | ERROR_NULL_POINTER
  | ERROR_INTERNAL_ERROR
  | ERROR_COUNT_MISMATCH
  | ERROR_ELEMENT_NOT_FOUND
  | ERROR_SPIRV_INVALID_CODE_SIZE
  | ERROR_SPIRV_INVALID_MAGIC_NUMBER
  | ERROR_SPIRV_UNEXPECTED_EOF
  | ERROR_SPIRV_INVALID_ID_REFERENCE
  | ERROR_SPIRV_SET_NUMBER_OVERFLOW
  | ERROR_SPIRV_INVALID_STORAGE_CLASS
  | ERROR_SPIRV_RECURSION
  | ERROR_SPIRV_INVALID_INSTRUCTION
  | ERROR_SPIRV_UNEXPECTED_BLOCK_DATA
  | ERROR_SPIRV_INVALID_BLOCK_MEMBER_REFERENCE
  | ERROR_SPIRV_INVALID_ENTRY_POINT
  | ERROR_SPIRV_INVALID_EXECUTION_MODE
  deriving (Result -> Result -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Result -> Result -> Bool
$c/= :: Result -> Result -> Bool
== :: Result -> Result -> Bool
$c== :: Result -> Result -> Bool
Eq, Eq Result
Result -> Result -> Bool
Result -> Result -> Ordering
Result -> Result -> Result
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: Result -> Result -> Result
$cmin :: Result -> Result -> Result
max :: Result -> Result -> Result
$cmax :: Result -> Result -> Result
>= :: Result -> Result -> Bool
$c>= :: Result -> Result -> Bool
> :: Result -> Result -> Bool
$c> :: Result -> Result -> Bool
<= :: Result -> Result -> Bool
$c<= :: Result -> Result -> Bool
< :: Result -> Result -> Bool
$c< :: Result -> Result -> Bool
compare :: Result -> Result -> Ordering
$ccompare :: Result -> Result -> Ordering
Ord, Int -> Result -> ShowS
[Result] -> ShowS
Result -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Result] -> ShowS
$cshowList :: [Result] -> ShowS
show :: Result -> String
$cshow :: Result -> String
showsPrec :: Int -> Result -> ShowS
$cshowsPrec :: Int -> Result -> ShowS
Show, Int -> Result
Result -> Int
Result -> [Result]
Result -> Result
Result -> Result -> [Result]
Result -> Result -> Result -> [Result]
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
enumFromThenTo :: Result -> Result -> Result -> [Result]
$cenumFromThenTo :: Result -> Result -> Result -> [Result]
enumFromTo :: Result -> Result -> [Result]
$cenumFromTo :: Result -> Result -> [Result]
enumFromThen :: Result -> Result -> [Result]
$cenumFromThen :: Result -> Result -> [Result]
enumFrom :: Result -> [Result]
$cenumFrom :: Result -> [Result]
fromEnum :: Result -> Int
$cfromEnum :: Result -> Int
toEnum :: Int -> Result
$ctoEnum :: Int -> Result
pred :: Result -> Result
$cpred :: Result -> Result
succ :: Result -> Result
$csucc :: Result -> Result
Enum, Result
forall a. a -> a -> Bounded a
maxBound :: Result
$cmaxBound :: Result
minBound :: Result
$cminBound :: Result
Bounded)