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:
parent
86f8774db8
commit
e820c23216
@ -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.
|
||||
|
@ -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,
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user