Commit graph

443 commits

Author SHA1 Message Date
Joshua Groves bec9906f86 Remove tiling assert 2018-05-23 23:03:59 -06:00
Joshua Groves 6c63a53061 Map compute specialization constants 2018-05-23 22:12:08 -06:00
bors[bot] ba9dfec385 Merge #82
82: Add layers to clear attachments r=kvark a=grovesNL

Update gfx to get clear attachments layer changes from gfx-rs/gfx#2003

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-05-24 02:27:26 +00:00
Joshua Groves 4dbb1afb91 Add layers to clear attachments 2018-05-23 19:29:58 -06:00
bors[bot] 9c0e5b8200 Merge #77
77: More dynamic states, gfx update 8d2b93a8dfd9c99b7cbec703924a628d56cc9c73 r=msiglreith a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2018-05-17 16:23:12 +00:00
Dzmitry Malyshau 08352676da Gfx update, depth bounds and blend constants 2018-05-17 11:50:51 -04:00
bors[bot] fa5a78d60c Merge #75
75: Use rasterizer discard r=kvark a=grovesNL

Stop setting the fragment shader and other states as stated in the spec when rasterizer discard is set. (Should anything else be disabled?)

Fixes segfaults in `dEQP-VK.api.descriptor_set.descriptor_set_layout_lifetime.graphics` on Metal (with gfx-rs/gfx#2035 fix)

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-05-17 14:37:58 +00:00
Joshua Groves e81fb10b8e Use rasterizer discard 2018-05-16 22:34:02 -06:00
bors[bot] 2620cbb902 Merge #74
74: [WIP] Implement resolve_image r=kvark a=AIOOB

This change causes `make cts` to lock up my computer after it gets to a certain test, that test alone doesn't crash it but something seems to reach a critical point. I have no idea how to debug this, so good luck if you decide to replicate this and make sure everything is saved 😄 

Co-authored-by: AIOOB <jack@rickard.plus.com>
2018-05-15 14:24:32 +00:00
AIOOB d0478d8571 Implement resolve_image 2018-05-14 21:49:48 +01:00
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