diff options
author | Csaba Hruska <csaba.hruska@gmail.com> | 2016-02-08 15:01:43 +0100 |
---|---|---|
committer | Csaba Hruska <csaba.hruska@gmail.com> | 2016-02-08 15:01:43 +0100 |
commit | aa375a66800e577d928c92d7cd405a43ffdec728 (patch) | |
tree | 010958a30d811644823e3de02f932ff918498888 | |
parent | a9083eb718c3f30a209410d67ed431c3b7d710f4 (diff) |
add info field to pipeline
32 files changed, 51 insertions, 36 deletions
diff --git a/ddl/Definitions.hs b/ddl/Definitions.hs index 6bac3d6..89c4af3 100644 --- a/ddl/Definitions.hs +++ b/ddl/Definitions.hs | |||
@@ -421,7 +421,8 @@ ir = do | |||
421 | 421 | ||
422 | data_ "Pipeline" $ do | 422 | data_ "Pipeline" $ do |
423 | constR_ "Pipeline" | 423 | constR_ "Pipeline" |
424 | [ "backend" #:: "Backend" | 424 | [ "info" #:: String |
425 | , "backend" #:: "Backend" | ||
425 | , "textures" #:: Array "TextureDescriptor" | 426 | , "textures" #:: Array "TextureDescriptor" |
426 | , "samplers" #:: Array "SamplerDescriptor" | 427 | , "samplers" #:: Array "SamplerDescriptor" |
427 | , "targets" #:: Array "RenderTarget" | 428 | , "targets" #:: Array "RenderTarget" |
diff --git a/ddl/out/LambdaCube.IR.cpp b/ddl/out/LambdaCube.IR.cpp index bf5ab0b..66ca8b3 100644 --- a/ddl/out/LambdaCube.IR.cpp +++ b/ddl/out/LambdaCube.IR.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:30.803775Z | 2 | // 2016-02-08T13:33:23.674070000000Z |
3 | 3 | ||
4 | #include "LambdaCube.IR.hpp" | 4 | #include "LambdaCube.IR.hpp" |
5 | template<> json toJSON<std::shared_ptr<ArrayValue>>(std::shared_ptr<ArrayValue> &v) { | 5 | template<> json toJSON<std::shared_ptr<ArrayValue>>(std::shared_ptr<ArrayValue> &v) { |
@@ -2826,6 +2826,7 @@ template<> json toJSON<std::shared_ptr<Pipeline>>(std::shared_ptr<Pipeline> &v) | |||
2826 | obj["tag"] = "Pipeline"; | 2826 | obj["tag"] = "Pipeline"; |
2827 | { | 2827 | { |
2828 | std::shared_ptr<data::Pipeline> tv = std::static_pointer_cast<data::Pipeline>(v); | 2828 | std::shared_ptr<data::Pipeline> tv = std::static_pointer_cast<data::Pipeline>(v); |
2829 | obj["info"] = toJSON(tv->info); | ||
2829 | obj["backend"] = toJSON(tv->backend); | 2830 | obj["backend"] = toJSON(tv->backend); |
2830 | obj["textures"] = toJSON(tv->textures); | 2831 | obj["textures"] = toJSON(tv->textures); |
2831 | obj["samplers"] = toJSON(tv->samplers); | 2832 | obj["samplers"] = toJSON(tv->samplers); |
@@ -2846,6 +2847,7 @@ template<> std::shared_ptr<Pipeline> fromJSON<std::shared_ptr<Pipeline>>(W<std:: | |||
2846 | if (tag == "Pipeline") { | 2847 | if (tag == "Pipeline") { |
2847 | tagType = ::Pipeline::tag::Pipeline; | 2848 | tagType = ::Pipeline::tag::Pipeline; |
2848 | std::shared_ptr<data::Pipeline> tv(new data::Pipeline()); | 2849 | std::shared_ptr<data::Pipeline> tv(new data::Pipeline()); |
2850 | tv->info = fromJSON(W<String>(), obj["info"]); | ||
2849 | tv->backend = fromJSON(W<std::shared_ptr<::Backend>>(), obj["backend"]); | 2851 | tv->backend = fromJSON(W<std::shared_ptr<::Backend>>(), obj["backend"]); |
2850 | tv->textures = fromJSON(W<std::vector<std::shared_ptr<::TextureDescriptor>>>(), obj["textures"]); | 2852 | tv->textures = fromJSON(W<std::vector<std::shared_ptr<::TextureDescriptor>>>(), obj["textures"]); |
2851 | tv->samplers = fromJSON(W<std::vector<std::shared_ptr<::SamplerDescriptor>>>(), obj["samplers"]); | 2853 | tv->samplers = fromJSON(W<std::vector<std::shared_ptr<::SamplerDescriptor>>>(), obj["samplers"]); |
diff --git a/ddl/out/LambdaCube.IR.hpp b/ddl/out/LambdaCube.IR.hpp index c45d1ce..bba849e 100644 --- a/ddl/out/LambdaCube.IR.hpp +++ b/ddl/out/LambdaCube.IR.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:30.803775Z | 2 | // 2016-02-08T13:33:23.674070000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.IR_H | 4 | #ifndef HEADER_LambdaCube.IR_H |
5 | #define HEADER_LambdaCube.IR_H | 5 | #define HEADER_LambdaCube.IR_H |
@@ -1056,6 +1056,7 @@ class Pipeline { | |||
1056 | namespace data { | 1056 | namespace data { |
1057 | class Pipeline : public ::Pipeline { | 1057 | class Pipeline : public ::Pipeline { |
1058 | public: | 1058 | public: |
1059 | String info; | ||
1059 | std::shared_ptr<::Backend> backend; | 1060 | std::shared_ptr<::Backend> backend; |
1060 | std::vector<std::shared_ptr<::TextureDescriptor>> textures; | 1061 | std::vector<std::shared_ptr<::TextureDescriptor>> textures; |
1061 | std::vector<std::shared_ptr<::SamplerDescriptor>> samplers; | 1062 | std::vector<std::shared_ptr<::SamplerDescriptor>> samplers; |
diff --git a/ddl/out/LambdaCube.IR.hs b/ddl/out/LambdaCube.IR.hs index 03675f7..b81163f 100644 --- a/ddl/out/LambdaCube.IR.hs +++ b/ddl/out/LambdaCube.IR.hs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:30.803775Z | 2 | -- 2016-02-08T13:33:23.674070000000Z |
3 | 3 | ||
4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} | 4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} |
5 | module LambdaCube.IR where | 5 | module LambdaCube.IR where |
@@ -484,7 +484,8 @@ data Backend | |||
484 | 484 | ||
485 | data Pipeline | 485 | data Pipeline |
486 | = Pipeline | 486 | = Pipeline |
487 | { backend :: Backend | 487 | { info :: String |
488 | , backend :: Backend | ||
488 | , textures :: Vector TextureDescriptor | 489 | , textures :: Vector TextureDescriptor |
489 | , samplers :: Vector SamplerDescriptor | 490 | , samplers :: Vector SamplerDescriptor |
490 | , targets :: Vector RenderTarget | 491 | , targets :: Vector RenderTarget |
@@ -1571,6 +1572,7 @@ instance ToJSON Pipeline where | |||
1571 | toJSON v = case v of | 1572 | toJSON v = case v of |
1572 | Pipeline{..} -> object | 1573 | Pipeline{..} -> object |
1573 | [ "tag" .= ("Pipeline" :: Text) | 1574 | [ "tag" .= ("Pipeline" :: Text) |
1575 | , "info" .= info | ||
1574 | , "backend" .= backend | 1576 | , "backend" .= backend |
1575 | , "textures" .= textures | 1577 | , "textures" .= textures |
1576 | , "samplers" .= samplers | 1578 | , "samplers" .= samplers |
@@ -1586,6 +1588,7 @@ instance FromJSON Pipeline where | |||
1586 | tag <- obj .: "tag" | 1588 | tag <- obj .: "tag" |
1587 | case tag :: Text of | 1589 | case tag :: Text of |
1588 | "Pipeline" -> do | 1590 | "Pipeline" -> do |
1591 | info <- obj .: "info" | ||
1589 | backend <- obj .: "backend" | 1592 | backend <- obj .: "backend" |
1590 | textures <- obj .: "textures" | 1593 | textures <- obj .: "textures" |
1591 | samplers <- obj .: "samplers" | 1594 | samplers <- obj .: "samplers" |
@@ -1595,7 +1598,8 @@ instance FromJSON Pipeline where | |||
1595 | streams <- obj .: "streams" | 1598 | streams <- obj .: "streams" |
1596 | commands <- obj .: "commands" | 1599 | commands <- obj .: "commands" |
1597 | pure $ Pipeline | 1600 | pure $ Pipeline |
1598 | { backend = backend | 1601 | { info = info |
1602 | , backend = backend | ||
1599 | , textures = textures | 1603 | , textures = textures |
1600 | , samplers = samplers | 1604 | , samplers = samplers |
1601 | , targets = targets | 1605 | , targets = targets |
diff --git a/ddl/out/LambdaCube.IR.purs b/ddl/out/LambdaCube.IR.purs index 459c1c8..3e88ad7 100644 --- a/ddl/out/LambdaCube.IR.purs +++ b/ddl/out/LambdaCube.IR.purs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:30.803775Z | 2 | -- 2016-02-08T13:33:23.674070000000Z |
3 | 3 | ||
4 | module LambdaCube.IR where | 4 | module LambdaCube.IR where |
5 | import Prelude | 5 | import Prelude |
@@ -442,7 +442,8 @@ data Backend | |||
442 | 442 | ||
443 | data Pipeline | 443 | data Pipeline |
444 | = Pipeline | 444 | = Pipeline |
445 | { backend :: Backend | 445 | { info :: String |
446 | , backend :: Backend | ||
446 | , textures :: Array TextureDescriptor | 447 | , textures :: Array TextureDescriptor |
447 | , samplers :: Array SamplerDescriptor | 448 | , samplers :: Array SamplerDescriptor |
448 | , targets :: Array RenderTarget | 449 | , targets :: Array RenderTarget |
@@ -1553,6 +1554,7 @@ instance encodeJsonPipeline :: EncodeJson Pipeline where | |||
1553 | encodeJson v = case v of | 1554 | encodeJson v = case v of |
1554 | Pipeline r -> | 1555 | Pipeline r -> |
1555 | "tag" := "Pipeline" ~> | 1556 | "tag" := "Pipeline" ~> |
1557 | "info" := r.info ~> | ||
1556 | "backend" := r.backend ~> | 1558 | "backend" := r.backend ~> |
1557 | "textures" := r.textures ~> | 1559 | "textures" := r.textures ~> |
1558 | "samplers" := r.samplers ~> | 1560 | "samplers" := r.samplers ~> |
@@ -1569,6 +1571,7 @@ instance decodeJsonPipeline :: DecodeJson Pipeline where | |||
1569 | tag <- obj .? "tag" | 1571 | tag <- obj .? "tag" |
1570 | case tag of | 1572 | case tag of |
1571 | "Pipeline" -> do | 1573 | "Pipeline" -> do |
1574 | info <- obj .? "info" | ||
1572 | backend <- obj .? "backend" | 1575 | backend <- obj .? "backend" |
1573 | textures <- obj .? "textures" | 1576 | textures <- obj .? "textures" |
1574 | samplers <- obj .? "samplers" | 1577 | samplers <- obj .? "samplers" |
@@ -1578,7 +1581,8 @@ instance decodeJsonPipeline :: DecodeJson Pipeline where | |||
1578 | streams <- obj .? "streams" | 1581 | streams <- obj .? "streams" |
1579 | commands <- obj .? "commands" | 1582 | commands <- obj .? "commands" |
1580 | pure $ Pipeline | 1583 | pure $ Pipeline |
1581 | { backend:backend | 1584 | { info:info |
1585 | , backend:backend | ||
1582 | , textures:textures | 1586 | , textures:textures |
1583 | , samplers:samplers | 1587 | , samplers:samplers |
1584 | , targets:targets | 1588 | , targets:targets |
diff --git a/ddl/out/LambdaCube.IR.swift b/ddl/out/LambdaCube.IR.swift index eb4b35f..cfc61da 100644 --- a/ddl/out/LambdaCube.IR.swift +++ b/ddl/out/LambdaCube.IR.swift | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:30.803775Z | 2 | // 2016-02-08T13:33:23.674070000000Z |
3 | 3 | ||
4 | typealias StreamName = Int | 4 | typealias StreamName = Int |
5 | 5 | ||
@@ -470,6 +470,7 @@ enum Backend { | |||
470 | enum Pipeline { | 470 | enum Pipeline { |
471 | case Pipeline(Pipeline_Data) | 471 | case Pipeline(Pipeline_Data) |
472 | struct Pipeline_Data { | 472 | struct Pipeline_Data { |
473 | var info : String | ||
473 | var backend : Backend | 474 | var backend : Backend |
474 | var textures : Array<TextureDescriptor> | 475 | var textures : Array<TextureDescriptor> |
475 | var samplers : Array<SamplerDescriptor> | 476 | var samplers : Array<SamplerDescriptor> |
@@ -1336,6 +1337,7 @@ extension Pipeline { | |||
1336 | switch self { | 1337 | switch self { |
1337 | case .Pipeline(let v): | 1338 | case .Pipeline(let v): |
1338 | return [ "tag" : "Pipeline" | 1339 | return [ "tag" : "Pipeline" |
1340 | , "info" : v.info.toJSON | ||
1339 | , "backend" : v.backend.toJSON | 1341 | , "backend" : v.backend.toJSON |
1340 | , "textures" : v.textures.toJSON | 1342 | , "textures" : v.textures.toJSON |
1341 | , "samplers" : v.samplers.toJSON | 1343 | , "samplers" : v.samplers.toJSON |
diff --git a/ddl/out/LambdaCube.IR2.hpp b/ddl/out/LambdaCube.IR2.hpp index 43de714..d3c1eee 100644 --- a/ddl/out/LambdaCube.IR2.hpp +++ b/ddl/out/LambdaCube.IR2.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:30.803775Z | 2 | // 2016-02-08T13:33:23.674070000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.IR_H | 4 | #ifndef HEADER_LambdaCube.IR_H |
5 | #define HEADER_LambdaCube.IR_H | 5 | #define HEADER_LambdaCube.IR_H |
@@ -1050,6 +1050,7 @@ public: | |||
1050 | namespace data { | 1050 | namespace data { |
1051 | class Pipeline { | 1051 | class Pipeline { |
1052 | public: | 1052 | public: |
1053 | String info; | ||
1053 | std::shared_ptr<::Backend> backend; | 1054 | std::shared_ptr<::Backend> backend; |
1054 | std::vector<std::shared_ptr<::TextureDescriptor>> textures; | 1055 | std::vector<std::shared_ptr<::TextureDescriptor>> textures; |
1055 | std::vector<std::shared_ptr<::SamplerDescriptor>> samplers; | 1056 | std::vector<std::shared_ptr<::SamplerDescriptor>> samplers; |
diff --git a/ddl/out/LambdaCube.Mesh.cpp b/ddl/out/LambdaCube.Mesh.cpp index 9f9599b..4179c3d 100644 --- a/ddl/out/LambdaCube.Mesh.cpp +++ b/ddl/out/LambdaCube.Mesh.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.220124Z | 2 | // 2016-02-08T13:33:24.058473000000Z |
3 | 3 | ||
4 | #include "LambdaCube.Mesh.hpp" | 4 | #include "LambdaCube.Mesh.hpp" |
5 | template<> json toJSON<std::shared_ptr<MeshAttribute>>(std::shared_ptr<MeshAttribute> &v) { | 5 | template<> json toJSON<std::shared_ptr<MeshAttribute>>(std::shared_ptr<MeshAttribute> &v) { |
diff --git a/ddl/out/LambdaCube.Mesh.hpp b/ddl/out/LambdaCube.Mesh.hpp index 34583a2..730e04e 100644 --- a/ddl/out/LambdaCube.Mesh.hpp +++ b/ddl/out/LambdaCube.Mesh.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.220124Z | 2 | // 2016-02-08T13:33:24.058473000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.Mesh_H | 4 | #ifndef HEADER_LambdaCube.Mesh_H |
5 | #define HEADER_LambdaCube.Mesh_H | 5 | #define HEADER_LambdaCube.Mesh_H |
diff --git a/ddl/out/LambdaCube.Mesh.hs b/ddl/out/LambdaCube.Mesh.hs index ad98c1b..47b7da6 100644 --- a/ddl/out/LambdaCube.Mesh.hs +++ b/ddl/out/LambdaCube.Mesh.hs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.220124Z | 2 | -- 2016-02-08T13:33:24.058473000000Z |
3 | 3 | ||
4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} | 4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} |
5 | module LambdaCube.Mesh where | 5 | module LambdaCube.Mesh where |
diff --git a/ddl/out/LambdaCube.Mesh.purs b/ddl/out/LambdaCube.Mesh.purs index 230409f..829bf91 100644 --- a/ddl/out/LambdaCube.Mesh.purs +++ b/ddl/out/LambdaCube.Mesh.purs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.220124Z | 2 | -- 2016-02-08T13:33:24.058473000000Z |
3 | 3 | ||
4 | module LambdaCube.Mesh where | 4 | module LambdaCube.Mesh where |
5 | import Prelude | 5 | import Prelude |
diff --git a/ddl/out/LambdaCube.Mesh.swift b/ddl/out/LambdaCube.Mesh.swift index 6be1e16..7380a34 100644 --- a/ddl/out/LambdaCube.Mesh.swift +++ b/ddl/out/LambdaCube.Mesh.swift | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.220124Z | 2 | // 2016-02-08T13:33:24.058473000000Z |
3 | 3 | ||
4 | enum MeshAttribute { | 4 | enum MeshAttribute { |
5 | case A_Float(Array<Float>) | 5 | case A_Float(Array<Float>) |
diff --git a/ddl/out/LambdaCube.Mesh2.hpp b/ddl/out/LambdaCube.Mesh2.hpp index 4978258..5c81c54 100644 --- a/ddl/out/LambdaCube.Mesh2.hpp +++ b/ddl/out/LambdaCube.Mesh2.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.220124Z | 2 | // 2016-02-08T13:33:24.058473000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.Mesh_H | 4 | #ifndef HEADER_LambdaCube.Mesh_H |
5 | #define HEADER_LambdaCube.Mesh_H | 5 | #define HEADER_LambdaCube.Mesh_H |
diff --git a/ddl/out/LambdaCube.PipelineSchema.cpp b/ddl/out/LambdaCube.PipelineSchema.cpp index 6337f5b..7dced29 100644 --- a/ddl/out/LambdaCube.PipelineSchema.cpp +++ b/ddl/out/LambdaCube.PipelineSchema.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.196716Z | 2 | // 2016-02-08T13:33:24.035933000000Z |
3 | 3 | ||
4 | #include "LambdaCube.PipelineSchema.hpp" | 4 | #include "LambdaCube.PipelineSchema.hpp" |
5 | template<> json toJSON<std::shared_ptr<StreamType>>(std::shared_ptr<StreamType> &v) { | 5 | template<> json toJSON<std::shared_ptr<StreamType>>(std::shared_ptr<StreamType> &v) { |
diff --git a/ddl/out/LambdaCube.PipelineSchema.hpp b/ddl/out/LambdaCube.PipelineSchema.hpp index 86fef51..d0ad084 100644 --- a/ddl/out/LambdaCube.PipelineSchema.hpp +++ b/ddl/out/LambdaCube.PipelineSchema.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.196716Z | 2 | // 2016-02-08T13:33:24.035933000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.PipelineSchema_H | 4 | #ifndef HEADER_LambdaCube.PipelineSchema_H |
5 | #define HEADER_LambdaCube.PipelineSchema_H | 5 | #define HEADER_LambdaCube.PipelineSchema_H |
diff --git a/ddl/out/LambdaCube.PipelineSchema.hs b/ddl/out/LambdaCube.PipelineSchema.hs index c319967..69998de 100644 --- a/ddl/out/LambdaCube.PipelineSchema.hs +++ b/ddl/out/LambdaCube.PipelineSchema.hs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.196716Z | 2 | -- 2016-02-08T13:33:24.035933000000Z |
3 | 3 | ||
4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} | 4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} |
5 | module LambdaCube.PipelineSchema where | 5 | module LambdaCube.PipelineSchema where |
diff --git a/ddl/out/LambdaCube.PipelineSchema.purs b/ddl/out/LambdaCube.PipelineSchema.purs index 077d1e9..059008b 100644 --- a/ddl/out/LambdaCube.PipelineSchema.purs +++ b/ddl/out/LambdaCube.PipelineSchema.purs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.196716Z | 2 | -- 2016-02-08T13:33:24.035933000000Z |
3 | 3 | ||
4 | module LambdaCube.PipelineSchema where | 4 | module LambdaCube.PipelineSchema where |
5 | import Prelude | 5 | import Prelude |
diff --git a/ddl/out/LambdaCube.PipelineSchema.swift b/ddl/out/LambdaCube.PipelineSchema.swift index 8afc9fc..3d90f40 100644 --- a/ddl/out/LambdaCube.PipelineSchema.swift +++ b/ddl/out/LambdaCube.PipelineSchema.swift | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.196716Z | 2 | // 2016-02-08T13:33:24.035933000000Z |
3 | 3 | ||
4 | enum StreamType { | 4 | enum StreamType { |
5 | case Attribute_Word | 5 | case Attribute_Word |
diff --git a/ddl/out/LambdaCube.PipelineSchema2.hpp b/ddl/out/LambdaCube.PipelineSchema2.hpp index 2812b18..e4ec5e3 100644 --- a/ddl/out/LambdaCube.PipelineSchema2.hpp +++ b/ddl/out/LambdaCube.PipelineSchema2.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.196716Z | 2 | // 2016-02-08T13:33:24.035933000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.PipelineSchema_H | 4 | #ifndef HEADER_LambdaCube.PipelineSchema_H |
5 | #define HEADER_LambdaCube.PipelineSchema_H | 5 | #define HEADER_LambdaCube.PipelineSchema_H |
diff --git a/ddl/out/LambdaCube.TypeInfo.cpp b/ddl/out/LambdaCube.TypeInfo.cpp index 7ad7fea..f79e093 100644 --- a/ddl/out/LambdaCube.TypeInfo.cpp +++ b/ddl/out/LambdaCube.TypeInfo.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.255126Z | 2 | // 2016-02-08T13:33:24.089367000000Z |
3 | 3 | ||
4 | #include "LambdaCube.TypeInfo.hpp" | 4 | #include "LambdaCube.TypeInfo.hpp" |
5 | template<> json toJSON<std::shared_ptr<TypeInfo>>(std::shared_ptr<TypeInfo> &v) { | 5 | template<> json toJSON<std::shared_ptr<TypeInfo>>(std::shared_ptr<TypeInfo> &v) { |
diff --git a/ddl/out/LambdaCube.TypeInfo.hpp b/ddl/out/LambdaCube.TypeInfo.hpp index d2f239b..3a6e2bb 100644 --- a/ddl/out/LambdaCube.TypeInfo.hpp +++ b/ddl/out/LambdaCube.TypeInfo.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.255126Z | 2 | // 2016-02-08T13:33:24.089367000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.TypeInfo_H | 4 | #ifndef HEADER_LambdaCube.TypeInfo_H |
5 | #define HEADER_LambdaCube.TypeInfo_H | 5 | #define HEADER_LambdaCube.TypeInfo_H |
diff --git a/ddl/out/LambdaCube.TypeInfo.hs b/ddl/out/LambdaCube.TypeInfo.hs index 453057d..9405419 100644 --- a/ddl/out/LambdaCube.TypeInfo.hs +++ b/ddl/out/LambdaCube.TypeInfo.hs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.255126Z | 2 | -- 2016-02-08T13:33:24.089367000000Z |
3 | 3 | ||
4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} | 4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} |
5 | module LambdaCube.TypeInfo where | 5 | module LambdaCube.TypeInfo where |
diff --git a/ddl/out/LambdaCube.TypeInfo.purs b/ddl/out/LambdaCube.TypeInfo.purs index 3daca2f..cf00b8e 100644 --- a/ddl/out/LambdaCube.TypeInfo.purs +++ b/ddl/out/LambdaCube.TypeInfo.purs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.255126Z | 2 | -- 2016-02-08T13:33:24.089367000000Z |
3 | 3 | ||
4 | module LambdaCube.TypeInfo where | 4 | module LambdaCube.TypeInfo where |
5 | import Prelude | 5 | import Prelude |
diff --git a/ddl/out/LambdaCube.TypeInfo.swift b/ddl/out/LambdaCube.TypeInfo.swift index 6b46124..8322914 100644 --- a/ddl/out/LambdaCube.TypeInfo.swift +++ b/ddl/out/LambdaCube.TypeInfo.swift | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.255126Z | 2 | // 2016-02-08T13:33:24.089367000000Z |
3 | 3 | ||
4 | enum TypeInfo { | 4 | enum TypeInfo { |
5 | case TypeInfo(TypeInfo_Data) | 5 | case TypeInfo(TypeInfo_Data) |
diff --git a/ddl/out/LambdaCube.TypeInfo2.hpp b/ddl/out/LambdaCube.TypeInfo2.hpp index b309a2b..ae6412b 100644 --- a/ddl/out/LambdaCube.TypeInfo2.hpp +++ b/ddl/out/LambdaCube.TypeInfo2.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.255126Z | 2 | // 2016-02-08T13:33:24.089367000000Z |
3 | 3 | ||
4 | #ifndef HEADER_LambdaCube.TypeInfo_H | 4 | #ifndef HEADER_LambdaCube.TypeInfo_H |
5 | #define HEADER_LambdaCube.TypeInfo_H | 5 | #define HEADER_LambdaCube.TypeInfo_H |
diff --git a/ddl/out/TestData.cpp b/ddl/out/TestData.cpp index a2ff86c..bbb2251 100644 --- a/ddl/out/TestData.cpp +++ b/ddl/out/TestData.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.27456Z | 2 | // 2016-02-08T13:33:24.109009000000Z |
3 | 3 | ||
4 | #include "TestData.hpp" | 4 | #include "TestData.hpp" |
5 | template<> json toJSON<std::shared_ptr<ClientInfo>>(std::shared_ptr<ClientInfo> &v) { | 5 | template<> json toJSON<std::shared_ptr<ClientInfo>>(std::shared_ptr<ClientInfo> &v) { |
diff --git a/ddl/out/TestData.hpp b/ddl/out/TestData.hpp index 95f4436..08b6020 100644 --- a/ddl/out/TestData.hpp +++ b/ddl/out/TestData.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.27456Z | 2 | // 2016-02-08T13:33:24.109009000000Z |
3 | 3 | ||
4 | #ifndef HEADER_TestData_H | 4 | #ifndef HEADER_TestData_H |
5 | #define HEADER_TestData_H | 5 | #define HEADER_TestData_H |
diff --git a/ddl/out/TestData.hs b/ddl/out/TestData.hs index a48dc42..a81134f 100644 --- a/ddl/out/TestData.hs +++ b/ddl/out/TestData.hs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.27456Z | 2 | -- 2016-02-08T13:33:24.109009000000Z |
3 | 3 | ||
4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} | 4 | {-# LANGUAGE OverloadedStrings, RecordWildCards #-} |
5 | module TestData where | 5 | module TestData where |
diff --git a/ddl/out/TestData.purs b/ddl/out/TestData.purs index 4a0575b..891704d 100644 --- a/ddl/out/TestData.purs +++ b/ddl/out/TestData.purs | |||
@@ -1,5 +1,5 @@ | |||
1 | -- generated file, do not modify! | 1 | -- generated file, do not modify! |
2 | -- 2016-01-28T13:15:31.27456Z | 2 | -- 2016-02-08T13:33:24.109009000000Z |
3 | 3 | ||
4 | module TestData where | 4 | module TestData where |
5 | import Prelude | 5 | import Prelude |
diff --git a/ddl/out/TestData.swift b/ddl/out/TestData.swift index 0b4be5a..398ce23 100644 --- a/ddl/out/TestData.swift +++ b/ddl/out/TestData.swift | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.27456Z | 2 | // 2016-02-08T13:33:24.109009000000Z |
3 | 3 | ||
4 | enum ClientInfo { | 4 | enum ClientInfo { |
5 | case ClientInfo(ClientInfo_Data) | 5 | case ClientInfo(ClientInfo_Data) |
diff --git a/ddl/out/TestData2.hpp b/ddl/out/TestData2.hpp index 7e44da4..07ef071 100644 --- a/ddl/out/TestData2.hpp +++ b/ddl/out/TestData2.hpp | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-01-28T13:15:31.27456Z | 2 | // 2016-02-08T13:33:24.109009000000Z |
3 | 3 | ||
4 | #ifndef HEADER_TestData_H | 4 | #ifndef HEADER_TestData_H |
5 | #define HEADER_TestData_H | 5 | #define HEADER_TestData_H |
diff --git a/lambdacube-ir.haskell/lambdacube-ir.cabal b/lambdacube-ir.haskell/lambdacube-ir.cabal index 370d04f..3da6465 100644 --- a/lambdacube-ir.haskell/lambdacube-ir.cabal +++ b/lambdacube-ir.haskell/lambdacube-ir.cabal | |||
@@ -2,7 +2,7 @@ | |||
2 | -- documentation, see http://haskell.org/cabal/users-guide/ | 2 | -- documentation, see http://haskell.org/cabal/users-guide/ |
3 | 3 | ||
4 | name: lambdacube-ir | 4 | name: lambdacube-ir |
5 | version: 0.2.0.0 | 5 | version: 0.3.0.0 |
6 | synopsis: LambdaCube 3D intermediate representation of 3D graphics pipelines | 6 | synopsis: LambdaCube 3D intermediate representation of 3D graphics pipelines |
7 | description: LambdaCube 3D intermediate representation of 3D graphics pipelines | 7 | description: LambdaCube 3D intermediate representation of 3D graphics pipelines |
8 | license: BSD3 | 8 | license: BSD3 |