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
This commit is contained in:
bors[bot] 2018-04-06 16:11:08 +00:00
commit 38d6d65e5f
4 changed files with 9 additions and 4 deletions

View file

@ -68,6 +68,9 @@ cts: $(TARGET) $(TEST_LIST)
mv TestResults.qpa conformance/last.qpa
firefox conformance/last.xml
cts-debug: $(TARGET) $(TEST_LIST)
LD_LIBRARY_PATH=$(FULL_LIBRARY_PATH) rust-lldb $(CTS_DIR)/build/external/vulkancts/modules/vulkan/deqp-vk -- --deqp-caselist-file=$(TEST_LIST)
clean:
rm -f $(OBJECTS) $(TARGET) $(BINDING)
cargo clean

View file

@ -10,6 +10,7 @@ This is a prototype library implementing [Vulkan Portability Initiative](https:/
| -------------- | -- | -- | -- | - | - | - | - | - | - | - |
| *Vulkan* | 3742 | 1393 | 101 | 0 | 0 | 2248 | 0 | 0 | 0 | 0 |
| *DX12* | 3563 | 1243 | 73 | 0 | 0 | 2247 | 0 | 0 | 0 | 0 |
| *Metal* | 6 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Currently stopping with:
> Unable to create Vulkan instance: VkError(ErrorIncompatibleDriver)

View file

@ -25,19 +25,19 @@ optional = true
[dependencies.gfx-hal]
git = "https://github.com/gfx-rs/gfx"
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
rev = "aaf5d5d675397db783041553e290e3331516e13b"
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
git = "https://github.com/gfx-rs/gfx"
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
rev = "aaf5d5d675397db783041553e290e3331516e13b"
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
git = "https://github.com/gfx-rs/gfx"
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
rev = "aaf5d5d675397db783041553e290e3331516e13b"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal]
git = "https://github.com/gfx-rs/gfx"
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
rev = "aaf5d5d675397db783041553e290e3331516e13b"
optional = true

View file

@ -3077,6 +3077,7 @@ pub extern "C" fn gfxCreateSwapchainKHR(
color_format: conv::map_format(info.imageFormat).unwrap(),
depth_stencil_format: None,
image_count: info.minImageCount,
image_usage: conv::map_image_usage(info.imageUsage),
};
let (swapchain, backbuffers) = gpu.device
.create_swapchain(&mut info.surface.clone(), config);