Add nvapi lib to D3D11 for efficient UAV writes overlaps on NVIDIA GPUs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user