| 183 | DEVICE uint32_t count() const { return count_; } |
| 184 | |
| 185 | DEVICE void operator++() { |
| 186 | if constexpr (Stages > 0) { |
| 187 | ++index_; |
| 188 | ++count_; |
| 189 | if (index_ == Stages) { |
| 190 | index_ = 0; |
| 191 | phase_ ^= 1; |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | DEVICE PipelineState &operator=(const PipelineState &other) { |
| 197 | index_ = other.index(); |
nothing calls this directly
no outgoing calls
no test coverage detected