Commit Graph

57 Commits

Author SHA1 Message Date
tomaka
4d96d9a912 Merge pull request #513 from tomaka/g-pipeline-builder
Add a GraphicsPipelineBuilder
2017-06-14 10:22:54 +02:00
Pierre Krieger
7723ba55e4 Add dummy for specialization constants in builder 2017-06-13 15:21:19 +02:00
Pierre Krieger
53fb62c6b1 Use FIFO present mode in exemples 2017-06-11 19:01:00 +02:00
tomaka
29096fc53f Minor warning fixes and comment restore 2017-06-10 18:58:25 +02:00
tomaka
64b8db24ea Make triangle example work 2017-06-10 18:36:01 +02:00
Pierre Krieger
ad3307d252 Use vulkano-shader-derive in the examples 2017-06-03 12:49:50 +02:00
Pierre Krieger
db3e128143 Rework framebuffer creation 2017-06-02 20:36:43 +02:00
Pierre Krieger
953b89f52e Architectural rework in swapchain 2017-05-26 13:12:21 +02:00
Pierre Krieger
a3c30dc183 Creating a Surface now takes the Arc<Instance> by value 2017-05-26 10:51:28 +02:00
Pierre Krieger
0d918e3779 Rework Surface::is_supported() and update examples 2017-05-26 10:42:03 +02:00
Pierre Krieger
6d106565d3 Turn all the constructor that take a &Arc<Device> to Arc<Device> 2017-05-25 21:44:54 +02:00
Pierre Krieger
3c51a3eb0b Update the examples to use the new system 2017-05-21 19:04:14 +02:00
Pierre Krieger
6f32b7d1c0 Fix examples 2017-05-20 14:06:19 +02:00
Pierre Krieger
1e62e4fc78 Take BufferUsage by value and never by ref 2017-05-19 15:26:57 +02:00
Pierre Krieger
c8fc08738e Fix examples 2017-05-15 11:02:00 +02:00
Benjamin Saunders
f3d7ca4b0d Update vulkano-win and examples to winit 0.6 2017-05-07 19:08:18 -07:00
Pierre Krieger
3213c9fef3 Add documentation and usability methods to GpuFuture 2017-05-06 20:10:16 +02:00
Pierre Krieger
5de743221b Adding a command to a builder can now return an error 2017-04-20 09:43:57 +02:00
Pierre Krieger
99388714c3 Building a command buffer can now return an OomError 2017-04-04 17:41:51 +02:00
Pierre Krieger
8ed20f933c Change GpuFuture::is_finished to cleanup_finished 2017-03-04 20:05:36 +01:00
Pierre Krieger
dd13c015cb Implement #385 2017-02-17 14:19:11 +01:00
Pierre Krieger
372a6f7d14 Rework command buffers again 2017-01-24 14:24:13 +01:00
Pierre Krieger
1216461211 Merge branch 'custom-derives' into incoming 2017-01-21 16:35:58 +01:00
Pierre Krieger
61dc795e03 Revert the triangle example to what it was 2017-01-21 16:33:09 +01:00
Pierre Krieger
f932187778 Add a small crate to allow inlining shader source codes 2017-01-21 16:17:06 +01:00
Pierre Krieger
fec458b881 Fix warnings and improve docs 2017-01-04 21:01:40 +01:00
Pierre Krieger
8e58d913e6 Rework fb clear values 2017-01-04 17:49:23 +01:00
Pierre Krieger
19beb1eb06 Rework attachments list 2017-01-04 16:55:19 +01:00
Jeroen Bollen
a5acc07494 Examples now use min_image_count-buffering
This fixes a bug on some devices where the hard coded values were too small, and not supported.
2017-01-03 22:47:33 +01:00
Pierre Krieger
738b16cb07 Some work on framebuffer macros rework 2016-12-18 15:28:40 +01:00
Pierre Krieger
f56ded6f5a Make build_primary default to AutobarriersCb 2016-11-24 16:48:29 +01:00
Pierre Krieger
35f687b215 Make triangle example compile again (but not work) 2016-11-15 16:24:42 +01:00
Pierre Krieger
358b1f2212 Some tweaks to triangle.rs 2016-11-10 11:20:46 +01:00
Pierre Krieger
b9f4f8f2cf Remove pipeline layout parameter from pipeline creation 2016-10-16 20:31:49 +02:00
Pierre Krieger
32ebcaca1e Update vulkano-shaders and fix triangle example 2016-10-16 15:59:16 +02:00
Pierre Krieger
4f9b2dda96 Submitting can now return an error 2016-10-09 09:39:39 +02:00
Pierre Krieger
9d3423c856 Fix triangle example 2016-10-06 10:43:46 +02:00
Pierre Krieger
174a17db90 Fix triangle example 2016-09-28 19:06:58 +02:00
Pierre Krieger
ad42ab8af8 Don't always use Arcs for render passes 2016-09-28 19:06:58 +02:00
Pierre Krieger
79f13b6378 Fix triangle example 2016-09-28 19:06:58 +02:00
Pierre Krieger
43b6157f08 Switch triangle example to new system 2016-09-28 19:06:58 +02:00
Pierre Krieger
65dd3b8414 Use stronger typing for CpuAccessibleBuffer creation 2016-07-26 12:26:05 +02:00
Pierre Krieger
a023aaa078 Fix warnings 2016-06-16 14:04:18 +02:00
Pierre Krieger
5c4504e5be Rework command pools 2016-06-04 11:31:12 +02:00
Johannes Muenzel
1cd47976c4 Remove support for device layers
Device layers are deprecated starting in Vulkan 1.0.13. The
specification recommends that we pass the instance layer names to the
device creation functions as well. This assures backwards compatibility
because there are no known device-only layers pre-1.0.13, and
post-1.0.13 those arguments are ignored (except by validation layers).
2016-05-22 00:59:15 -07:00
Pierre Krieger
07ae850f4e Add support for tessellation shaders 2016-05-20 20:05:33 +02:00
Pierre Krieger
b5231385e7 Creating a device now returns an iterator to the queues 2016-05-12 17:40:31 +02:00
Pierre Krieger
2af98d9793 Slightly improve the comments in the triangle example 2016-05-08 13:16:21 +02:00
Pierre Krieger
3c6beeb214 Framebuffer dimensions are now an array instead of a tuple 2016-05-05 18:58:00 +02:00
Tobi
33cb73b86e Fix spelling errors in triangle example 2016-05-03 15:56:52 +02:00