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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
121: Descriptor iterator r=msiglreith a=kvark
This PR reduces the amount of magic going on during the descriptor writes, makes us move less stuff on the stack.
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>