Add nvapi lib to D3D11 for efficient UAV writes overlaps on NVIDIA GPUs

This commit is contained in:
Wojtek Figat
2025-08-10 16:05:18 +02:00
parent 4fd6343fb9
commit c1c806490f
5 changed files with 59 additions and 1 deletions

View File

@@ -46,6 +46,12 @@ struct FLAXENGINE_API GPUMemoryPass : GPUPass
{
Context->MemoryBarrier();
}
// Inserts a global memory barrier on data copies between resources. Use to ensure all writes and before submitting another commands.
void MemoryBarrier()
{
Context->MemoryBarrier();
}
};
/// <summary>