Commit Graph
73 Commits
Author SHA1 Message Date
Dzmitry Malyshau 9621fb3021 Validate vertex/instance/index buffer ranges 2019-05-29 23:49:27 -04:00
Dzmitry Malyshau 4446b81f3e Fix compute pass barriers 2019-05-26 23:55:23 -04:00
Dzmitry Malyshau 9eddc296c3 Fix clear value filtering and integer support 2019-05-23 10:03:11 -04:00
Dzmitry Malyshau a9063ce3eb Fix RenderPassColorAttachmentDescriptor 2019-05-15 22:38:59 -07:00
bors[bot]andDzmitry Malyshau a056d2478a Merge #175
175: API update with naming, formats, and extra fields  r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-05-15 07:31:42 +00:00
Dzmitry Malyshau 1875523a6a Rust formatting pass 2019-05-14 13:00:00 -04:00
Dzmitry Malyshau 40ec1ac4c1 Fix command buffer and surface locking order 2019-05-14 11:13:08 -04:00
Dzmitry Malyshau 6a1dcb9565 API update with naming, formats, and extra fields 2019-05-14 10:31:25 -04:00
bors[bot]andDzmitry Malyshau 6b92c37fa0 Merge #151
151: Assert on swapchain output usage before presenting r=grovesNL a=kvark

Fixes #148 

There is no "fix" for the case on our side. The PR brings stronger requirements on the swapchain outputs: they have to be used and submitted before dropped.

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-05-06 11:40:18 +00:00
Dzmitry Malyshau 1c350cc4af Assert on swapchain output usage before presenting 2019-05-03 10:45:39 -04:00
psincf bfc983a8cc Clean code 2019-05-01 11:55:28 +02:00
psincf 44cf64495a Use strong type 2019-05-01 11:55:28 +02:00
Atul Bhosale af38d79d79 Format code using 'cargo fmt' 2019-04-26 22:01:47 +05:30
Joshua Groves 7f7bdd1ba1 Implement index formats 2019-04-07 08:15:05 -02:30
Dzmitry Malyshau 332305012c Blend color and the first bits of validation 2019-03-31 15:52:32 -04:00
Dzmitry Malyshau 0b51c8a9d2 Clean up use statements.
Use copyless::VecHelper and ArrayVec for some things.
Refactor map_buffer internals.
2019-03-21 12:05:53 -04:00
Tristam MacDonald 1fe59e71db run cargo fmt 2019-03-05 20:41:24 -08:00
Dzmitry Malyshau 650bbaeb42 Basic render pipeline compatibility check 2019-03-03 22:09:20 -05:00
Dzmitry Malyshau 76473bb38a Stitch mode for insert_barriers 2019-02-26 23:56:38 -05:00
Dzmitry Malyshau cc5900b160 Refactor the view tracker 2019-02-26 23:05:36 -05:00
Dzmitry Malyshau 0d59c16f16 Refactor insert_barriers 2019-02-26 22:55:04 -05:00
Dzmitry Malyshau cdc9d65395 Free memory objects 2019-02-26 15:10:43 -05:00
Dzmitry Malyshau 5b129704a0 Storage indexing 2019-02-26 10:27:51 -05:00
Dzmitry Malyshau e16ceafb81 Epoch tracking of indices 2019-02-26 10:12:11 -05:00
Dzmitry Malyshau c21420399a Refactored tracking, now includes the views 2019-02-22 12:59:29 -05:00
Dzmitry Malyshau 00e0347b8c Renamed the impl methods, switched structure argumetns from references to contained items 2019-02-15 10:13:04 -05:00
Dzmitry Malyshau 2e21285434 Separate object identity from storage 2019-02-14 14:28:55 -05:00
Dzmitry Malyshau 844d371989 Command encoder interface 2019-02-12 16:48:56 -05:00
Dzmitry Malyshau 4b1897b254 Separate module for transfer functions 2019-02-06 08:55:21 -05:00
Dzmitry Malyshau c74f8e8db8 Cube cleanup and the new generated texture 2019-02-04 09:55:32 -05:00
Dzmitry Malyshau d50f8199dd Buffer to texture copies 2019-02-03 21:59:35 -05:00
Dzmitry Malyshau 57f0cd184f native: basic support for pipeine stages in barriers 2019-01-31 21:42:35 -05:00
Joshua Groves 3d98457eb9 Add support for GLFW on Windows 2019-01-24 12:08:32 -05:00
Dzmitry Malyshau 2ec9d05074 Triangle example, minor corrections 2019-01-21 19:20:09 -05:00
Dzmitry Malyshau 6699f4bed1 native: Abstract the binding tracker into a separate module 2019-01-21 16:18:56 -05:00
Dzmitry Malyshau 3ed4620c1f Bind compute groups if layout is matching 2019-01-21 16:18:56 -05:00
Joshua Groves c7f2425b98 Remove generic from render pass descriptor 2019-01-20 16:24:37 -07:00
Dzmitry Malyshau 2221b112c7 Fix command buffer recycling 2019-01-17 21:11:01 -05:00
Dzmitry Malyshau 90154fb6f5 Wait for swapchain semaphores 2019-01-16 08:56:35 -05:00
Dzmitry Malyshau ba8828eb5b Refactor includes, collect swapchain links on RP begin 2019-01-15 09:09:29 -05:00
Dzmitry Malyshau b67a0bee0d Prenentation logic and bits of frame synchronization 2019-01-14 16:41:14 -05:00
porky11 4acd1edbc3 use macro explicitly instead of using macro_use 2019-01-12 20:17:04 +01:00
porky11 b61298a884 remove some unnecessary and 2019-01-12 20:11:27 +01:00
porky11 6f3499ecae port to 2018 edition 2019-01-12 19:58:24 +01:00
porky11 a5a5b88014 use rustfmt for formatting after edits 2019-01-12 19:15:48 +01:00
porky11 6675a4d3e4 update to current version of gfx 2019-01-12 19:03:17 +01:00
Dzmitry Malyshau f4bb1903bf Fix deadlock in barrier insertion 2018-12-01 22:53:21 -05:00
Dzmitry Malyshau d4c415f666 Improve locking safety for Registry 2018-11-27 11:06:22 -05:00
Joshua Groves 0c1cf3621a Update gfx 2018-11-11 12:36:37 -07:00
Dzmitry Malyshau 39186c9c7b Add reference counting to objects 2018-11-02 16:45:10 -04:00