Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::MapWaitReport Struct Reference

How a bounded wait for a mapping ended, and how its slices were spent. More...

#include "donner/gpu/Descriptors.h"

Public Member Functions

bool operator== (const MapWaitReport &other) const =default
 Equality comparison.

Public Attributes

MapWaitOutcome outcome = MapWaitOutcome::TimedOut
 How the wait ended.
MapWaitKind waitKind = MapWaitKind::Polled
 How its slices were spent.

Detailed Description

How a bounded wait for a mapping ended, and how its slices were spent.

waitKind is MapWaitKind::CompletionEvent when any slice of the wait used one: a single event wait is what tells a diagnostic the path was not reduced to polling, and a later polled slice does not undo that.

Member Function Documentation

◆ operator==()

bool donner::gpu::MapWaitReport::operator== ( const MapWaitReport & other) const
default

Equality comparison.

Parameters
otherReport to compare against.

The documentation for this struct was generated from the following file: