Commit graph

362 commits

Author SHA1 Message Date
Aaron Loucks
77f56d8a89 Add transfer bit to all queue families
Per the gfx_hal::queue::QueueType docs, all variants should include
transfer operations. Notably, `General` now contains all three
queue types.
2019-06-01 02:57:22 +00:00
bors[bot]
5796b6b158 Merge #185
185: Fixes for gfx HEAD, update Cargo.lock, and add gl backend option r=kvark a=aloucks

Updated Cargo.lock and some minor changes to get portability compiling again using the latest gfx master. 

With these changes I was able to get `vulkaninfo` to run on a GPU-less VM using Mesa. 

```
$ RUST_BACKTRACE=1 VK_ICD_FILENAMES=portability-linux-debug.json vulkaninfo > ~/vulkaninfo.txt

==========
VULKANINFO
==========

Vulkan Instance Version: 1.1.106



Instance Extensions:
====================
Instance Extensions	count = 4
	VK_EXT_debug_report                 : extension revision  9
	VK_EXT_debug_utils                  : extension revision  1
	VK_KHR_get_physical_device_properties2: extension revision  1
	VK_KHR_surface                      : extension revision 25
Layers: count = 15
=======

...

Device Properties and Extensions :
==================================
GPU0
VkPhysicalDeviceProperties:
===========================
	apiVersion     = 0x400042  (1.0.66)
	driverVersion  = 1 (0x1)
	vendorID       = 0x0000
	deviceID       = 0x0000
	deviceType     = CPU
	deviceName     = Mesa OffScreen

...
```

Full output:

https://gist.github.com/aloucks/1a9acfb51adba4bb598ee6de0a213d82

It's probably a long way from being usable, but it would be nice to use portability for unit testing in CI jobs. 

See also: https://github.com/gfx-rs/gfx/pull/2791 for updates to the gl backend. 

Co-authored-by: Aaron Loucks <aloucks@cofront.net>
2019-06-01 01:04:26 +00:00
Aaron Loucks
ac3950be2e Fixes for gfx HEAD, update Cargo.lock, and add gl backend option 2019-06-01 00:16:51 +00:00
bors[bot]
05fd538399 Merge #184
184: Fix typo r=kvark a=Michael-Lfx



Co-authored-by: Michael(LAI) <9588926+michael-lfx@users.noreply.github.com>
2019-05-20 14:43:29 +00:00
Michael(LAI)
cecfb97782
Fix typo 2019-05-18 11:39:38 +08:00
bors[bot]
254f6f5dbe Merge #181
181: vkQuake3 screenshot r=kvark a=kvark

This is mostly trivial, allows us to launch vkQuake3 🎉 

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-03-27 04:00:37 +00:00
Dzmitry Malyshau
53cc04f8dd vkQuake3 screenshot 2019-03-26 23:59:36 -04:00
Dzmitry Malyshau
f4defcd41b Dependncies update 2019-03-26 13:33:45 -04:00
bors[bot]
62be45469e Merge #180
180: gfx update and support for acquire fences r=kvark a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-03-24 02:32:03 +00:00
Dzmitry Malyshau
a656eaa1b6 gfx update and support for acquire fences 2019-03-23 22:30:08 -04:00
bors[bot]
5779641738 Merge #178
178: gfx update, copyless handles, signposts r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-03-19 18:55:33 +00:00
Dzmitry Malyshau
5d8488b584 gfx update, copyless handles, signposts 2019-03-19 10:04:07 -04:00
bors[bot]
c5125e1fdb Merge #177
177: gfx-rs update and multiple submissions r=msiglreith a=kvark

~~I wanted to get the Diligent Engine running, eventually got blocked by https://github.com/gfx-rs/gfx/issues/2676~~
Gets us full Diligent Engine compatibility 🎉 

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-03-05 18:29:02 +00:00
Dzmitry Malyshau
241416cf89 better single fences, support dummy submissions 2019-03-04 16:48:59 -05:00
Dzmitry Malyshau
2c6886401d Fix max viewport size limit 2019-03-04 16:25:17 -05:00
Dzmitry Malyshau
0fe866eda8 gfx-rs update and multiple submissions 2019-03-04 14:28:54 -05:00
bors[bot]
a0f7261ff9 Merge #175
175: Portability extensions fixes, README update r=grovesNL a=kvark

This version is confirmed to work with VkPI CTS 🎉 

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-02-09 14:17:46 +00:00
Dzmitry Malyshau
c425d5c370 Portability extensions fixes, README update 2019-02-08 14:53:12 -05:00
bors[bot]
2d2e3fd53b Merge #174
174: Implement VK_EXTX_portability_subset v2 r=grovesNL a=kvark

Fixes #102
Defined in https://github.com/KhronosGroup/Vulkan-Portability

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-02-07 21:34:13 +00:00
Dzmitry Malyshau
6c67ead74f Another dependency update, instance extension query fix 2019-02-07 16:31:13 -05:00
Dzmitry Malyshau
781c9bb627 Implement the unified Metal surface creation 2019-02-07 15:10:21 -05:00
Dzmitry Malyshau
d2ca924a71 Update gfx and use the new feature flags 2019-02-07 09:47:18 -05:00
Dzmitry Malyshau
d5fb1b6f6c Implement VK_EXTX_portability_subset v2 2019-02-06 15:06:48 -05:00
Dzmitry Malyshau
4f83168891 gfx dependency update 2019-02-06 11:42:20 -05:00
bors[bot]
f1e1924063 Merge #173
173: Dependencies update, all-around unsafe qualifiers r=grovesNL a=kvark

The big update to hal-0.1 and beyond.
I'm not sure that trying to minimize the `unsafe` spots was the right decision... perhaps it's easier to just mark all of gfxXxx methods unsafe, but I'm too tired now to rewrite it again.

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-01-12 16:28:40 +00:00
Dzmitry Malyshau
5729c195d2 Dependencies update, all-around unsafe qualifiers 2019-01-11 21:47:16 -05:00
bors[bot]
bc04189e2d Merge #172
172: gfx-rs update with excessive errors r=nobody a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-12-02 04:13:07 +00:00
Dzmitry Malyshau
a07537e94f gfx-rs update with excessive errors 2018-12-01 23:10:10 -05:00
bors[bot]
eefa248319 Merge #167
167: Dependencies update (spirv-cross, gfx-rs) r=captain-obvious a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-09-19 20:01:28 +00:00
Dzmitry Malyshau
439ca6ddce Dependencies update (spirv-cross, gfx-rs) 2018-09-19 16:00:11 -04:00
bors[bot]
25918bb87c Merge #166
166: gfx update for image view capabilities r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-09-12 01:16:22 +00:00
Dzmitry Malyshau
eb06b8c099 gfx update for image view capabilities 2018-09-11 20:55:49 -04:00
bors[bot]
402c2fbd71 Merge #165
165: VkQuake screenshot and gfx-rs update r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-09-10 00:40:48 +00:00
Dzmitry Malyshau
8a9edbb2a1 VkQuake screenshot and gfx-rs update 2018-09-09 20:36:08 -04:00
bors[bot]
a9e9bdf9d7 Merge #164
164: Specialization with raw data r=msiglreith a=kvark

This version runs vkQuake
Fixes #150 

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-09-09 12:48:47 +00:00
Dzmitry Malyshau
f9f7a0002d Specialization with raw data 2018-09-09 08:30:29 -04:00
bors[bot]
536aab7049 Merge #163
163: Change deploy to overwrite existing release files r=kvark a=grovesNL

Small but important fix to resolve https://travis-ci.org/gfx-rs/portability/jobs/425115925#L1818

Earlier I bumped the `latest` tag with `git tag -a latest -f; and git push --tags -f` and it built and attempted to deploy successfully, but didn't upload the new files because of this.

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-09-06 10:21:01 +00:00
Joshua Groves
3a06b13440 Change deploy to overwrite existing release files 2018-09-06 00:20:35 -06:00
bors[bot]
846bd0c975 Merge #162
162: LunarG Cube demo running r=grovesNL a=kvark

Fixes #151

<img width="512" alt="screen shot 2018-09-05 at 23 51 34" src="https://user-images.githubusercontent.com/107301/45134099-be29ef80-b166-11e8-9cb5-c7579dc05a46.png">


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-09-06 04:24:53 +00:00
Dzmitry Malyshau
735e4fe45e gfx-rs update 2018-09-05 21:05:32 -04:00
Dzmitry Malyshau
5bdedc1e0c Multiple ICD profiles 2018-09-05 21:05:31 -04:00
bors[bot]
272a51cd9f Merge #158
158: Map max sampler anisotropy r=kvark a=grovesNL

Fixes #157

Co-authored-by: Joshua Groves <josh@joshgroves.com>
Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-09-01 15:13:58 +00:00
Dzmitry Malyshau
810c52c8ab Another gfx-rs update and more Dolphin screenshots 2018-09-01 11:13:14 -04:00
Joshua Groves
0ceed32835 Map max sampler anisotropy 2018-09-01 02:01:26 -06:00
Joshua Groves
4523415b5e Update dependencies 2018-09-01 02:00:33 -06:00
bors[bot]
90cc44adcf Merge #155
155: Use git describe to create `commit-sha` r=kvark a=grovesNL

- `../.git/refs/heads/master` failed on CI, so just use git describe here as well
- .gitignore includes updated package names and temporary commit-sha

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-08-29 18:49:14 +00:00
Joshua Groves
4f2bbf0b94 Use git describe to create commit-sha 2018-08-29 12:46:40 -06:00
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