Commit graph

415 commits

Author SHA1 Message Date
bors[bot] d4a518a04a Merge #154
154: Fix make for tags r=kvark a=grovesNL

Trivial change missed from #149

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-29 13:57:55 +00:00
Joshua Groves 13826f74b0 Fix make for tags 2018-08-29 07:04:31 -06:00
bors[bot] 02fb6df5db Merge #149
149: Use short commit SHA and single level of directories for binaries r=kvark a=grovesNL

Include OS name, use shorter commit SHA, and use a single level of directories for produced binaries.

The only potential downside about the commit SHA being included is that moving tags will cause the binaries to aggregate on the single release, see https://github.com/gfx-rs/portability/releases for example. Maybe this is a useful feature though, and we'll just need to clean releases up every once in a while.

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-29 12:18:45 +00:00
Joshua Groves fd48f758bf Add commit-sha to root of package 2018-08-28 20:59:45 -06:00
Joshua Groves 902a69c292 Use git tag in name 2018-08-28 20:46:43 -06:00
Joshua Groves 7c7a710913 Use short commit SHA and single level of directories for binaries 2018-08-28 07:41:59 -06:00
bors[bot] 806f0a561f Merge #148
148: Prevent empty cc arguments on Linux r=grovesNL a=grovesNL

I believe [the deployment error on Linux](https://travis-ci.org/gfx-rs/portability/jobs/421412694#L956) is caused by passing empty strings to cc on Linux. This PR attempts to address it by conditionally including the full Clink-arg string as a single variable instead.

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-28 13:20:08 +00:00
Joshua Groves fb613347fa Prevent empty cc arguments on Linux 2018-08-28 06:59:39 -06:00
bors[bot] 589fb6c365 Merge #146
146: Allow Linux binaries r=grovesNL a=grovesNL

- Include commit SHA in binary filename
- Only set current and compatibility versions on Darwin which should allow Linux targets to use `make package.zip`

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-28 05:21:42 +00:00
Joshua Groves 6489fe6eb0 Allow Linux binaries 2018-08-27 23:10:22 -06:00
Joshua Groves d3767c8ba9 Only set current and compatibility versions on Darwin 2018-08-27 23:07:45 -06:00
Joshua Groves 7a748f5feb Include commit SHA in binary filename 2018-08-27 22:59:01 -06:00
bors[bot] 534cd85de4 Merge #145
145: Deploy when branch name matches the tag name r=grovesNL a=grovesNL



Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-28 03:21:10 +00:00
Joshua Groves 6a30280d0c Deploy when branch name matches the tag name 2018-08-27 21:09:56 -06:00
bors[bot] 3686049460 Merge #143
143: Deployment configuration r=kvark a=grovesNL

Continue deployment configuration:

- just run everything in `script` instead of separating them
- only attempt to deploy for Rust stable builds
- `skip_cleanup` forces temporary build artifacts not to be cleared and seems to be recommended for this deployment

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-28 02:05:16 +00:00
Joshua Groves d3ba191fd4 Deployment configuration 2018-08-27 19:42:40 -06:00
bors[bot] 2093fa470d Merge #144
144: Dolphin emulator fixes r=grovesNL a=kvark

[New README](https://github.com/kvark/portability/blob/emulate/README.md)

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-28 00:58:19 +00:00
Dzmitry Malyshau 7056ef8a6d gfx-rs update, image buffer granularity default 2018-08-27 20:56:04 -04:00
Dzmitry Malyshau 0c1e27b368 Add showcase to README 2018-08-27 20:56:02 -04:00
bors[bot] ce6b99a95a Merge #142
142: Add tags deploy r=kvark a=grovesNL



Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-28 00:07:36 +00:00
Joshua Groves cf42af4f2f Add tags deploy 2018-08-27 17:58:41 -06:00
bors[bot] c9b96760bb Merge #139
139: New image acquiring API, swapchain release fix r=msiglreith a=kvark

The old logic was consuming the swapchain when it was passed as the old swapchain. This was incorrect, since Vulkan apps are still expected to destroy those swapchains.

The PR also adds `GFX_METAL_ACQUIRING=wait|oldest` command line. The benefit of `wait` at this moment is a simpler acquire implementation and proper error codes for it, unlike the `oldest` one (to be addressed).

Also, `-vulkan_disable_occlusion_queries` are back since apparently Dota2 requires more queries in total than our global query buffer can fit.

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-26 12:45:30 +00:00
Dzmitry Malyshau d1c2982386 New image acquiring API, swapchain release fix 2018-08-26 08:20:11 -04:00
bors[bot] 5ff578c24e Merge #137
137: gfx update for iOS support r=kvark a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-25 03:50:09 +00:00
Dzmitry Malyshau 87ac83d802 gfx update for iOS support 2018-08-24 23:49:07 -04:00
bors[bot] 8146ba1fb6 Merge #135
135: Texel elements update r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-24 21:03:32 +00:00
Dzmitry Malyshau 831e5ef973 Texel elements update 2018-08-24 16:52:54 -04:00
bors[bot] df47cdde03 Merge #134
134: Query support r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-23 16:08:28 +00:00
Dzmitry Malyshau 9ca30078d5 Query support 2018-08-23 08:12:28 -04:00
bors[bot] 35b7cd5351 Merge #133
133: Image usage conversions r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-19 21:18:06 +00:00
Dzmitry Malyshau 87f8175324 Surface image usage queries.
Fixed image usage flag conversion.
Added push constants limits.
2018-08-19 17:14:55 -04:00
Dzmitry Malyshau b8383cc28f gfx-rs update 2018-08-19 16:05:14 -04:00
bors[bot] db7d1ccf92 Merge #132
132: gfx-rs update for vertex buffer logic r=trivial a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-16 20:04:46 +00:00
Dzmitry Malyshau 6f98733218 gfx-rs update for vertex buffer logic, make packaging 2018-08-16 16:02:21 -04:00
bors[bot] cef57421f0 Merge #131
131: gfx-rs update for the swapchain configuration r=msiglreith a=kvark

This should probably wait for https://github.com/gfx-rs/gfx/pull/2325

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-16 16:30:59 +00:00
Dzmitry Malyshau 119669fe48 gfx-rs update for the swapchain configuration 2018-08-16 00:11:24 -04:00
bors[bot] 92554e2d89 Merge #130
130: Log gfx errors r=kvark a=grovesNL

Adds `error!` to returned `Err`s in a few places – device creation, pipeline creation, and descriptor set allocation.

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-15 03:54:21 +00:00
Joshua Groves 2bb319b052 Log gfx errors 2018-08-14 20:30:33 -06:00
bors[bot] 983e6b9349 Merge #128
128: gfx-rs update, README cleanup r=grovesNL a=kvark

This is the version used to benchmark https://gfx-rs.github.io/2018/08/10/dota2-macos-performance.html
Binaries: [libportability.zip](https://github.com/gfx-rs/portability/files/2285204/libportability.zip)


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-14 01:34:28 +00:00
Dzmitry Malyshau e8d013f8fc gfx-rs update, README cleanup 2018-08-13 21:25:54 -04:00
bors[bot] 7650048d98 Merge #127
127: gfx update and GFX_METAL_STITCHING environment option r=kvark a=kvark

This is fairly straightforward.
Also notice the new `make molten-links` command.

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-09 16:33:53 +00:00
Dzmitry Malyshau b92c063844 gfx update and GFX_METAL_STITCHING environment option 2018-08-09 12:32:36 -04:00
bors[bot] 6d40bc3710 Merge #126
126: Pipeline cache support r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-07 20:02:50 +00:00
Dzmitry Malyshau 6342f02540 Pipeline cache support 2018-08-07 16:02:03 -04:00
bors[bot] 2233c9bc0b Merge #124
124: Build with panic=abort r=kvark a=jrmuizel

This drops the size of libportability.dylib from 2.4M to 2.1M and
gives the compiler better opportunities for optimization.

Co-authored-by: Jeff Muizelaar <jmuizelaar@mozilla.com>
2018-08-04 04:10:20 +00:00
Jeff Muizelaar 1c3579f047 Build with panic=abort
This drops the size of libportability.dylib from 2.4M to 2.1M and
gives the compiler better opportunities for optimization.
2018-08-03 23:48:52 -04:00
bors[bot] 07b757bd05 Merge #123
123: Update gfx-rs and use GFX_METAL_RECORDING environment r=kvark a=kvark

For benchmarking dota, one can now use `make dota-bench-gfx GFX_METAL_RECORDING=deferred`

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-08-04 01:34:40 +00:00
Dzmitry Malyshau 96c6fcd78a Update gfx-rs and use GFX_METAL_RECORDING environment 2018-08-03 21:31:41 -04:00
bors[bot] 5bb2372692 Merge #122
122: Add new benchmarks, fix benching command line r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-07-27 15:50:47 +00:00
Dzmitry Malyshau e60d5b3fe8 Add new benchmarks, fix benching command line 2018-07-27 11:48:32 -04:00