diff --git a/Makefile b/Makefile index 8642826..0301fac 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 9e9c022..78e2192 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/libportability-gfx/Cargo.toml b/libportability-gfx/Cargo.toml index bb03eb9..2eb020d 100644 --- a/libportability-gfx/Cargo.toml +++ b/libportability-gfx/Cargo.toml @@ -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 diff --git a/libportability-gfx/src/impls.rs b/libportability-gfx/src/impls.rs index f82c95b..1ef1cd6 100644 --- a/libportability-gfx/src/impls.rs +++ b/libportability-gfx/src/impls.rs @@ -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);