Commit Graph

3937 Commits

Author SHA1 Message Date
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
5d07058537 Add small todo 2016-03-08 18:59:26 +01:00
Pierre Krieger
0c527947fb Update glslang 2016-03-08 14:55:48 +01:00
Pierre Krieger
cc0d130b42 Check the subpass when drawing with a secondary CB 2016-03-07 16:00:48 +01:00
Pierre Krieger
87e87c755b Create all descriptor pools with FREE_DESCRIPTOR_SET_BIT for now 2016-03-07 15:45:27 +01:00
Pierre Krieger
d32f7c8ac5 Make the api_dump layer happy 2016-03-07 15:39:37 +01:00
Pierre Krieger
20b63ff25e Revert "Fix viewports parameters passing when creating graphics pipeline"
This reverts commit acd507ba33.
2016-03-07 15:01:40 +01:00
Pierre Krieger
acd507ba33 Fix viewports parameters passing when creating graphics pipeline 2016-03-07 14:43:19 +01:00
Pierre Krieger
6c7cc4e1e8 Be more restrictive in access masks 2016-03-07 12:13:23 +01:00
Pierre Krieger
1fde5a3559 Keep framebuffers and renderpasses alive when used in CBs 2016-03-07 11:40:56 +01:00
Pierre Krieger
70a468de20 Fix missing inheritance infos for secondary command buffers 2016-03-07 11:31:47 +01:00
Pierre Krieger
7561af012e Fix wrong Copy/Clone implementations for Subpass 2016-03-07 11:31:37 +01:00
Pierre Krieger
a4d6062e2c Keep the renderpass alive in the graphics pipeline 2016-03-07 10:44:31 +01:00
Pierre Krieger
fadf1ec597 Fix wrong number of elements when drawing without indices 2016-03-07 08:38:11 +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
6b06fdd693 Now panicking if not all subpasses have been used 2016-03-06 20:01:56 +01:00
Pierre Krieger
a5c3a8e32f Add small FIXME 2016-03-06 18:50:01 +01:00
Pierre Krieger
f8894f5e03 Fix wrong number of subpasses in command buffer 2016-03-06 18:49:51 +01:00
Pierre Krieger
a5cc5b7a53 Fix renderpass macro with multiple passes 2016-03-06 18:47:02 +01:00
Pierre Krieger
61931467ac Add support for macro-generated multipass render passes 2016-03-06 09:50:05 +01:00
Pierre Krieger
1b2423378e Add support for dynamic viewports and scissors 2016-03-05 18:08:32 +01:00
Pierre Krieger
f73fdc6709 Fix descriptor sets not being kept alive in command buffer 2016-03-05 14:24:09 +01:00
Pierre Krieger
e19b03b91e Fix missing ownership of the buffer in update_buffer 2016-03-05 14:01:03 +01:00
Pierre Krieger
daf5eee4bc Fix unnecessary restriction on transfer queues for update_buffer 2016-03-05 13:48:16 +01:00
Pierre Krieger
1d40c8edc3 Parsed structs are now part of a ty submodule 2016-03-05 13:31:44 +01:00
Pierre Krieger
82e7eab532 Fix missing flags in secondary graphics CBs creation 2016-03-04 18:10:59 +01:00
Pierre Krieger
5f2092e622 Keep secondary command buffers alive in the primary CB 2016-03-04 17:51:23 +01:00
Pierre Krieger
2e99cf2e8f Generated render pass layout now implements common traits 2016-03-04 17:51:02 +01:00
Pierre Krieger
ca146dd125 API changes to the Subpass struct 2016-03-04 17:18:55 +01:00
Pierre Krieger
2be13286d8 Some work in making secondary graphics CBs more sound 2016-03-04 17:11:13 +01:00
Pierre Krieger
09739f3c90 Creating a graphics pipeline takes the Subpass by value and not by ref 2016-03-04 16:50:07 +01:00
Pierre Krieger
f266ad8fa1 BufferSlice is now stronger typed 2016-03-02 10:19:12 +01:00
Pierre Krieger
1ffbb22722 Fix crash in release mode 2016-03-02 09:26:05 +01:00
Pierre Krieger
ed84f6bda4 Print weird returned error codes 2016-03-02 09:25:58 +01:00
Pierre Krieger
fa96b5faea Submitting a command buffer now returns a "Submission" 2016-03-02 08:59:02 +01:00
Pierre Krieger
04b7d6a9ba Cache the signaled state of fences 2016-03-02 07:44:21 +01:00
Pierre Krieger
cfca5c962c Some work on better descriptor set API 2016-03-01 21:10:59 +01:00
Pierre Krieger
6effb57f75 Fix wrong aspect mask when creating an image view 2016-03-01 16:05:52 +01:00
Pierre Krieger
c93f6574e7 Remove old function 2016-03-01 15:56:51 +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
e262b75919 Minor draft for SetLayoutPossibleSuperset trait 2016-03-01 13:47:53 +01:00
Pierre Krieger
a844e856a0 Enable validation layers in teapot 2016-03-01 13:05:50 +01:00
Pierre Krieger
bc7dd074be Fix the debug callback not being called 2016-03-01 12:45:17 +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