microsoft / DirectX-Graphics-Samples

This repo contains the DirectX Graphics samples that demonstrate how to build graphics intensive applications on Windows.
MIT License
6.1k stars 2.04k forks source link

[Question] Is it possible extending the ray tracing or variable rate shading to multi-GPU setup? #741

Open bipul-mohanto opened 3 years ago

bipul-mohanto commented 3 years ago

Hello!

from the sample > Desktop folder, D3D12Raytracing, and D3D12VariableRateShading, it it possible extending the code repository to MultiGPUs computer configuration?

Does DX12/DXR (raytracing) actually support multiGPU? By multiGPUs I mean each gpu will have more than 1 monitors (2/3 monitors) and they will real time render a single scene. Something like CAVE setup.

SephirothFFKH commented 3 years ago

I have been searching for DXR linked multiGPU and I think it is definitely possible but currently, the only sample available is for Vulkan (https://github.com/NVIDIA/Q2RTX) based on this concept (https://developer.nvidia.com/blog/rendering-perfect-reflections-and-refractions-in-path-traced-games/). So, I think it is very feasible to port this to DX12. Still, I do hope that we get a multi-gpu raytracing DirectX sample in this repo.