Commit Graph

97 Commits

Author SHA1 Message Date
Pierre Krieger
5f81147eff Stronger typing for descriptor sets and draft for proper barriers handling 2016-03-28 11:11:59 +02:00
Pierre Krieger
50b19b4fec Automatically determine the image layouts in descriptor sets 2016-03-28 09:49:03 +02:00
Pierre Krieger
3d6a29241c Add license everywhere 2016-03-26 10:17:37 +01:00
Pierre Krieger
8ee4d6c301 Switch to new design for images 2016-03-24 09:14:26 +01:00
Pierre Krieger
6cf7b5ace4 Fix remaining bits to make teapot example compile 2016-03-24 09:14:22 +01:00
Pierre Krieger
090a04f6cd Define descriptor set layouts for all pipeline stages 2016-03-12 09:01:40 +01:00
Pierre Krieger
f8022f6ab8 Fix wrong descriptor write being generated by ther shader parser 2016-03-11 15:57:20 +01:00
Pierre Krieger
c376f3bd10 Rework the set binding code in the shader parser 2016-03-11 15:33:57 +01:00
Pierre Krieger
b300f70dda Minor fix in shaders analyser 2016-03-11 10:35:41 +01:00
Pierre Krieger
4ae0c4541a Fix using gl_VertexIndex and gl_InstanceIndex producing errors 2016-03-09 13:06:13 +01:00
Pierre Krieger
d0738e20e8 Print the uniform variable that's missing a binding point 2016-03-09 11:48:31 +01:00
Pierre Krieger
4c8ed56783 No longer produce errors with input attachments 2016-03-06 21:11:08 +01:00
Pierre Krieger
38f083fa4c Slightly better error message in descriptor set gen 2016-03-06 21:00:28 +01:00
Pierre Krieger
1d40c8edc3 Parsed structs are now part of a ty submodule 2016-03-05 13:31:44 +01:00
Pierre Krieger
cfca5c962c Some work on better descriptor set API 2016-03-01 21:10:59 +01:00
Pierre Krieger
f341552825 Check pipeline layout of shaders 2016-03-01 14:50:30 +01:00
Pierre Krieger
a5b21125ed Rename PipelineLayoutDesc to Layout 2016-03-01 13:52:50 +01:00
Pierre Krieger
ca4c99ec92 Use the generated struct in the teapot example 2016-02-29 16:52:07 +01:00
Pierre Krieger
d82726eedd Extract descriptor sets code in own module 2016-02-29 16:10:38 +01:00
Pierre Krieger
e53a7e7bcc Handle struct members alignments in generated code 2016-02-29 16:03:48 +01:00
Pierre Krieger
85ded76ead Write structure definitions in the shader analyser 2016-02-29 15:17:25 +01:00
Pierre Krieger
f6bdc2478f Fix the vulkano-shaders example 2016-02-29 14:42:52 +01:00
Pierre Krieger
c0152c1a04 Extract Init and Write from SetLayout 2016-02-29 14:15:57 +01:00
Pierre Krieger
e392bfaed3 Rename DescriptorSetDesc to SetLayout 2016-02-29 13:53:10 +01:00
Pierre Krieger
dd34895d46 Fix path creation in build script 2016-02-25 10:19:53 +01:00
Pierre Krieger
ddcb8cf402 Add easier shaders compilation path 2016-02-25 08:52:22 +01:00
Pierre Krieger
be083d2af8 Allow specifying buffer offsets in descriptor set binding 2016-02-24 08:58:03 +01:00
Pierre Krieger
a6b166c7b6 Rename ImageResource and BufferResource to AbstractImage and AbstractBuffer 2016-02-23 21:25:03 +01:00
Pierre Krieger
e12c3015e7 Some work on SPIR-V analyser 2016-02-20 18:26:51 +01:00
Pierre Krieger
28f7d88197 Handle descriptor sets for both vertex and fragment stages 2016-02-20 17:42:55 +01:00
Pierre Krieger
89265c05cb Auto-generate pipeline layouts 2016-02-20 17:10:45 +01:00
Pierre Krieger
9ef4dcaab5 Better docs for descriptor sets 2016-02-20 15:10:49 +01:00
Pierre Krieger
3ebaaca45d Descriptor sets are working 2016-02-20 14:40:50 +01:00
Pierre Krieger
0fe6c0f23d More draft for descriptor sets 2016-02-20 13:05:44 +01:00
Pierre Krieger
f7696b9f60 Draft for descriptor sets 2016-02-19 13:43:28 +01:00
Pierre Krieger
84bf96f23e No longer hardcode vertex attributes 2016-02-19 10:58:35 +01:00
Pierre Krieger
41847a1b99 Correctly propagate errors when creating shader module 2016-02-18 21:23:26 +01:00
Pierre Krieger
1b657be785 Adjust feature names again 2016-02-17 19:16:07 +01:00
Pierre Krieger
4e48017de9 Fix empty input and output 2016-02-17 17:10:55 +01:00
Pierre Krieger
87191bbb97 Adjust capability checks in vulkano-shaders 2016-02-17 16:05:59 +01:00
Pierre Krieger
9af3aa371f Switch to one shader at a time in glsl-to-spirv 2016-02-16 20:01:45 +01:00
Pierre Krieger
3f18306a1a Add small helpful comment in the generated code 2016-02-06 21:45:29 +01:00
Pierre Krieger
0e62886ed3 Add some #[allow(dead_code)] 2016-02-06 12:35:50 +01:00
Pierre Krieger
df322b8ce6 Generated structs public again (oops) 2016-02-06 12:16:06 +01:00
Pierre Krieger
5b3c5e58c6 Generated structs are now private 2016-02-06 12:05:24 +01:00
Pierre Krieger
1ae8fea0e0 Minor adjustements to the current library draft 2016-02-06 12:01:10 +01:00
Pierre Krieger
6153e1fcde Rename shader-parser to vulkano-shaders 2016-02-06 11:45:09 +01:00