mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-23 07:21:31 +11:00
Merge #50
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:
commit
38d6d65e5f
3
Makefile
3
Makefile
|
@ -68,6 +68,9 @@ cts: $(TARGET) $(TEST_LIST)
|
||||||
mv TestResults.qpa conformance/last.qpa
|
mv TestResults.qpa conformance/last.qpa
|
||||||
firefox conformance/last.xml
|
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:
|
clean:
|
||||||
rm -f $(OBJECTS) $(TARGET) $(BINDING)
|
rm -f $(OBJECTS) $(TARGET) $(BINDING)
|
||||||
cargo clean
|
cargo clean
|
||||||
|
|
|
@ -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 |
|
| *Vulkan* | 3742 | 1393 | 101 | 0 | 0 | 2248 | 0 | 0 | 0 | 0 |
|
||||||
| *DX12* | 3563 | 1243 | 73 | 0 | 0 | 2247 | 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:
|
Currently stopping with:
|
||||||
> Unable to create Vulkan instance: VkError(ErrorIncompatibleDriver)
|
> Unable to create Vulkan instance: VkError(ErrorIncompatibleDriver)
|
||||||
|
|
|
@ -25,19 +25,19 @@ optional = true
|
||||||
|
|
||||||
[dependencies.gfx-hal]
|
[dependencies.gfx-hal]
|
||||||
git = "https://github.com/gfx-rs/gfx"
|
git = "https://github.com/gfx-rs/gfx"
|
||||||
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
|
rev = "aaf5d5d675397db783041553e290e3331516e13b"
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
|
[target.'cfg(not(target_os = "macos"))'.dependencies.gfx-backend-vulkan]
|
||||||
git = "https://github.com/gfx-rs/gfx"
|
git = "https://github.com/gfx-rs/gfx"
|
||||||
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
|
rev = "aaf5d5d675397db783041553e290e3331516e13b"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
||||||
git = "https://github.com/gfx-rs/gfx"
|
git = "https://github.com/gfx-rs/gfx"
|
||||||
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
|
rev = "aaf5d5d675397db783041553e290e3331516e13b"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal]
|
[target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal]
|
||||||
git = "https://github.com/gfx-rs/gfx"
|
git = "https://github.com/gfx-rs/gfx"
|
||||||
rev = "4538593758d826cdcfc9f2de95dfc03c68624d05"
|
rev = "aaf5d5d675397db783041553e290e3331516e13b"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
|
@ -3077,6 +3077,7 @@ pub extern "C" fn gfxCreateSwapchainKHR(
|
||||||
color_format: conv::map_format(info.imageFormat).unwrap(),
|
color_format: conv::map_format(info.imageFormat).unwrap(),
|
||||||
depth_stencil_format: None,
|
depth_stencil_format: None,
|
||||||
image_count: info.minImageCount,
|
image_count: info.minImageCount,
|
||||||
|
image_usage: conv::map_image_usage(info.imageUsage),
|
||||||
};
|
};
|
||||||
let (swapchain, backbuffers) = gpu.device
|
let (swapchain, backbuffers) = gpu.device
|
||||||
.create_swapchain(&mut info.surface.clone(), config);
|
.create_swapchain(&mut info.surface.clone(), config);
|
||||||
|
|
Loading…
Reference in a new issue