Commit graph

265 commits

Author SHA1 Message Date
bors[bot] 9798729440 Merge #66
66: Handle tracker, warnings, limits, compute pipelines, copies, and more... r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-04-27 15:46:10 +00:00
Dzmitry Malyshau e73b22c0d0 Warnings, compute pipelines, limits 2018-04-27 09:51:55 -04:00
Dzmitry Malyshau 9c1c1b7851 Debug Handle tracker 2018-04-27 09:49:57 -04:00
Dzmitry Malyshau cdaaf5c60a Makefile release builds 2018-04-27 09:47:57 -04:00
bors[bot] 9ae74be774 Merge #65
65: Fill out more sampler properties r=kvark a=msiglreith

Fixes texture mapping and HDR sample

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-04-23 16:38:04 +00:00
msiglreith bd5575200f Fill out more sampler properties 2018-04-23 15:04:17 +02:00
bors[bot] c5a0fbd81d Merge #64
64: Depth bias and dependency bump r=kvark a=msiglreith

Will update the dx12 vulkan sample coverage accordingly, should move a few samples to the 'Working' state then.

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-04-23 12:31:33 +00:00
msiglreith 819c39df48 Bump dependencies 2018-04-23 14:19:21 +02:00
bors[bot] 9402e06ae7 Merge #63
63: Implement specialization constants and image copy r=kvark a=msiglreith



Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-04-23 02:44:04 +00:00
msiglreith acfbf29a4d Implement depth bias 2018-04-22 14:35:48 +02:00
bors[bot] 7f4c30c98e Merge #61
61: Add getDeviceProcAddr to device level functions r=msiglreith a=AIOOB



Co-authored-by: AIOOB <jack@rickard.plus.com>
2018-04-22 10:57:21 +00:00
msiglreith 65126188f5 Implement specialization constants and image copy 2018-04-22 12:50:56 +02:00
bors[bot] bf61503651 Merge #62
62: Properly expose supported device features r=kvark a=msiglreith



Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-04-20 13:19:05 +00:00
msiglreith ba863e8c8e Properly expose supported device features 2018-04-20 14:55:50 +02:00
AIOOB 356111693b
Add getDeviceProcAddr to device level functions 2018-04-20 00:16:56 +01:00
Dzmitry Malyshau 7ca43b850c
Update DX12 numbers 2018-04-19 14:15:56 -04:00
bors[bot] 2fce3aa575 Merge #60
60: Fix device leaking, part 3 r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-04-19 11:41:29 +00:00
Dzmitry Malyshau 45c6bf284c Deps update, test picking for Makefile 2018-04-18 21:20:00 -04:00
Dzmitry Malyshau 84f49750f8 clear_attachments and execute_commands 2018-04-18 21:19:42 -04:00
Dzmitry Malyshau b91cf67f0c Make unboxing safer 2018-04-18 19:11:32 -04:00
Dzmitry Malyshau b948f8ea26 Update Vulkan stats 2018-04-18 18:37:23 -04:00
Dzmitry Malyshau 4005f014bd Release physical devices properly 2018-04-18 18:37:14 -04:00
Dzmitry Malyshau 78cfa871dd Unix support for cts-debug command 2018-04-18 15:30:31 -04:00
Dzmitry Malyshau 0c619fcd62 Keep a list of allocated command buffes for proper destruction of the pool 2018-04-18 15:30:07 -04:00
bors[bot] b46ade6360 Merge #59
59: Implement push constant command r=kvark a=msiglreith

With this and a small change to spirv cross for combined image sampler support we can start tracking support for the Vulkan samples from SaschaWillems.

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-04-18 17:58:18 +00:00
msiglreith e43939453d Implement push constant command 2018-04-18 19:51:31 +02:00
bors[bot] d853494fc1 Merge #58
58: Add support for blending, buffer copy and indexed drawing r=kvark a=msiglreith

Allows to get `gears` running with dx12+ICD.
We currently don't expose support for high precision depth formats resulting in some artifacts.

Current samples fail due to lack of combined image sampler support for the UI rendering.
But one step after another :p 

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-04-18 02:18:04 +00:00
msiglreith 6102540750 Add support for blending, buffer copy and indexed drawing 2018-04-17 23:12:02 +02:00
bors[bot] cd848a43b9 Merge #57
57: gfx update to c0ba2019c613432d74e2f13d95a398b220c9c9c4 r=msiglreith a=kvark

The CTS numbers regression is likely caused by the change in the test suite file (1.0.2 instead of 1.0.3), which I had to do because 1.0.3 is gone from latest CTS for some reason.

There is a bunch of errors like "maxMipLevels is not full mip pyramid size" and "maxResourceSize smaller than minimum required size" on the image_format_properties tests that should be an easy target.

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-04-17 20:26:27 +00:00
Dzmitry Malyshau 870c435b39 gfx update to c0ba2019c613432d74e2f13d95a398b220c9c9c4 2018-04-17 15:28:59 -04:00
bors[bot] 0a30e0a29d Merge #56
56: Support for Vulkan Samples with ICD r=kvark a=msiglreith

Add a few missing piece to get Vulkan Samples working with ICD (dx12, windows):
* Expose device extensions (partially)
* Expose addr to CreateWin32SurfaceKHR

Additionally, fixing vkMapMemory for the `VK_WHOLE_SIZE` case.

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-04-17 17:50:11 +00:00
msiglreith 3d5fd5ccad Handle WHOLE_SIZE for memory mapping 2018-04-17 19:37:15 +02:00
msiglreith 1d299a4949 Expose CreateWin32SurfaceKHR and device extensions 2018-04-17 19:29:10 +02:00
bors[bot] d446cc15ca Merge #54
54: Implement ResetFences and GetFenceStatus r=kvark a=AIOOB

My drivers seem to be a bit odd so these measurements may need to be repeated.
I have added an error on `gfxCreateEvent` to workaround it causing the CTS to crash as events are not currently supported by Vulkan portability.

Co-authored-by: AIOOB <jack@rickard.plus.com>
2018-04-12 16:25:09 +00:00
AIOOB 4aece2d525 Implement ResetFences and GetFenceStatus 2018-04-12 17:14:19 +01:00
bors[bot] a90e36710b Merge #53
53: Device leak fix, Cargo lock r=msiglreith a=kvark

The motivation behind including the lock is: no rust library is going to link to us anyway, so this crate is the head of the dependency graph, and doing a single `cargo update` is simpler for updates than figuring out the revision ids manually.

Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-04-12 13:27:52 +00:00
Dzmitry Malyshau 670de5f155 Unified unboxing 2018-04-12 09:24:47 -04:00
Dzmitry Malyshau cfe1f11ad3 Update gfx-rs, Linux numbers, properly release device references 2018-04-11 21:32:58 -04:00
Dzmitry Malyshau 64faf13e00 Include Cargo.lock instead of fixed revisions 2018-04-11 21:32:31 -04:00
bors[bot] c2891c1090 Merge #52
52: Return VK_INCOMPLETE for partial physical device enumeration r=kvark a=grovesNL

Trivial fix for `dEQP-VK.api.info.instance.physical_devices: Query didn't return VK_INCOMPLETE(Fail)` (only tested with Metal CTS).

[Reference:](https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEnumeratePhysicalDevices.html)
> If pPhysicalDeviceCount is smaller than the number of physical devices available, VK_INCOMPLETE will be returned instead of VK_SUCCESS, to indicate that not all the available physical devices were returned.

Co-authored-by: grovesNL <josh@joshgroves.com>
2018-04-10 13:21:49 +00:00
grovesNL 2b2cb6fefd Return VK_INCOMPLETE for partial physical device enumeration 2018-04-09 23:23:58 -06:00
bors[bot] 014ad54760 Merge #51
51: OSX CTS results update r=kvark a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-04-09 12:34:17 +00:00
Dzmitry Malyshau 396ea0d6f0 OSX CTS results update 2018-04-09 08:33:31 -04:00
bors[bot] 38d6d65e5f Merge #50
50: First CTS results on OSX r=msiglreith a=kvark

Results are based on my local modified CTS code, upstreaming is on the roadmap.
Currently passing 6 tests only. Way forward is blocked by https://github.com/gfx-rs/gfx/issues/1911
2018-04-06 16:11:08 +00:00
Dzmitry Malyshau 531275e648 First CTS results on OSX 2018-04-06 10:42:38 -04:00
bors[bot] 95d1bda8d9 Merge #49
49: Update gfx with image_format_properties r=msiglreith a=kvark

Reached ~100 failures on Linux 🎉 
I believe there is still work to do for the image format queries, so this number can be brought down.
2018-04-04 20:56:20 +00:00
Dzmitry Malyshau 7fed8abd57 Update gfx with image_format_properties 2018-04-04 14:23:46 -04:00
bors[bot] 0cbabce1e6 Merge #48
48: CTS hookup r=msiglreith a=kvark

Includes #47
2018-04-03 02:01:00 +00:00
Dzmitry Malyshau b9e72ee612 Conformance testing makefile command 2018-04-02 21:58:48 -04:00
Dzmitry Malyshau 973025673c Update gfx with destroy_buffer_view impl 2018-04-02 21:58:44 -04:00