1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-22 16:54:27 +01:00

[util] Add new flush type for render pass boundaries

This commit is contained in:
Philip Rebohle 2025-02-10 22:08:30 +01:00
parent 86f8774db8
commit e820c23216
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,7 @@ namespace dxvk {
return chunkCount >= minChunkCount;
}
case GpuFlushType::ImplicitMediumHint:
case GpuFlushType::ImplicitWeakHint: {
// Aim for a higher number of chunks per submission with
// a weak hint in order to avoid submitting too often.

View File

@ -18,9 +18,12 @@ namespace dxvk {
/** GPU command that applications are likely to synchronize
* with soon has been recorded into the command list */
ImplicitStrongHint = 2,
/** A render pass boundary is likely to occur and a flush
* should be recorded if the command list is large enough. */
ImplicitMediumHint = 3,
/** GPU commands have been recorded and a flush should be
* performed if the current command list is large enough. */
ImplicitWeakHint = 3,
ImplicitWeakHint = 4,
};