Coder Social home page Coder Social logo

malstraem / vulkan-interop-directx Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 1.0 3.35 MB

How to render into DirectX context using Vulkan

License: The Unlicense

C# 98.47% GLSL 1.53%
directx graphics interop interoperability rendering vulkan winui winui3 wpf

vulkan-interop-directx's People

Contributors

malstraem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sven-axm

vulkan-interop-directx's Issues

Problem with D3D11TextureKmtBit

First of all, your project is a great demonstration of how to do interop between DirectX and Vulkan!

But I ran into an issue when running the WPF example on my laptop. My laptop has a dedicated Nvidia GPU and an integrated Intel GPU. When selecting the Nvidia GPU as the preferred card in the Nvidia Control Panel, it works fine. But when selecting the integrated GPU it crashes (device lost). I enabled the validation layer and found the problem that my integrated GPU does not support the D3D11TextureKmtBit as a ExternalMemoryHandleTypeFlag. It does support D3D11TextureBit though. But I can't just change the flag because then it also crahes (out of device memory, also with the Nvidia GPU).

Do you have any ideas about whether it can work with the D3D11TextureBit and if so, how to make it work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.