Commit graph

433 commits

Author SHA1 Message Date
bors[bot] a893304383 Merge #73
73: Store mip_levels and array_layers for images r=kvark a=AIOOB

Vulkan allows users to not specify the upper bound in `SubresourceRange` and `SubresourceLayers`, this stores the values when the image is created in order to fill in these values if they are not specified.
It also adds an `expect` function to `Image` and `Buffer` to allow simpler retrieval of a bound image.

Co-authored-by: AIOOB <jack@rickard.plus.com>
2018-05-14 20:02:13 +00:00
AIOOB 00d3085901 Store mip_levels and array_layers for images 2018-05-14 19:02:06 +01:00
bors[bot] 0852322bb2 Merge #72
72: Clear image update r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-05-13 03:10:37 +00:00
Dzmitry Malyshau 52dcdd097b Clear image update 2018-05-12 21:20:40 -04:00
bors[bot] 4e77dbd702 Merge #71
71: Update gfx r=kvark a=grovesNL

Updated gfx to latest on master and get it building again

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-05-12 11:45:13 +00:00
Joshua Groves 0f2d89f7d7 Update gfx 2018-05-12 01:04:30 -06:00
bors[bot] d06c813fe4 Merge #70
70: Add dispatch, update gitignore and Makefile r=kvark a=grovesNL

- Implement dispatch
- Exclude subdirectory build directories and VSCode workspace settings
- Update Makefile to run CTS from the directory containing deqp - this fixes relative paths

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-05-04 01:31:08 +00:00
Joshua Groves 640b9b809b Run CTS in deqp directory 2018-05-03 19:04:33 -06:00
Joshua Groves fc3f7aa9b9 Ignore subdirectory builds and settings 2018-05-03 19:03:24 -06:00
bors[bot] 1f5f6abc6c Merge #69
69: Update gfx-rs version r=msiglreith a=msiglreith



Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-05-03 11:26:59 +00:00
msiglreith 78c1af1b98 Update gfx-rs version 2018-05-03 13:25:49 +02:00
bors[bot] 04c84efdc4 Merge #68
68: Multisampling support r=kvark a=msiglreith

* Update gfx-rs version
* Support multisampling
* Fix handling of VK_WHOLE_SIZE for flushes and invalidation

Co-authored-by: msiglreith <m.siglreith@gmail.com>
2018-05-02 15:22:36 +00:00
msiglreith cc78b7fcbe Update gfx version and expose framebuffer sample limits 2018-05-02 16:59:44 +02:00
msiglreith 545f3bb0f0 Multisampling support 2018-05-02 16:20:08 +02:00
msiglreith cc049bbb7c Fix flush and invalidate ranges 2018-05-02 16:19:33 +02:00
Joshua Groves 90e972fcab Implement dispatch 2018-05-01 20:48:07 -06:00
bors[bot] 07fc60dad9 Merge #67
67: Fix some null handles r=kvark a=grovesNL

Fixes some null handle CTS tests (from the wiki):
- dEQP-VK.api.null_handle.destroy_command_pool
- dEQP-VK.api.null_handle.destroy_device
- dEQP-VK.api.null_handle.free_command_buffers

Technically the `instance.unbox().unwrap().adapters` change wasn't needed for these three, but it may have been impacting other tests anyway.

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-05-01 20:03:45 +00:00
Joshua Groves 0929c46334 Fix some null handles 2018-05-01 13:10:53 -06:00
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