Advertisement

D3D12 SetPredication performance.

Started by October 22, 2020 08:22 AM
0 comments, last by IceCode.CN 4 years, 3 months ago

Hi guys,

Have a question about SetPredication on D3D12.

We are trying to use it for occlusion culling. However it seems that SetPredication makes the frame really slow.

In a simple test I tried use SetPredication on a buffer with 0s, without any occlusion query or shader writing to that buffer, it still slows down the rendering system significantly. It looks like SetPredication is doing some implicit syncs on GPU.

We're doing SetPredication for each draw call, not sure if that's a good idea.

Has anyone seen a similar problem?

Thanks.

This topic is closed to new replies.

Advertisement