First CTS results on OSX

This commit is contained in:
Dzmitry Malyshau 2018-04-06 10:42:38 -04:00
parent 95d1bda8d9
commit 531275e648
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);