Element stride of an array in an address space, plus whether uniform rules padded it.
More...
#include "donner/gpu/shader/IrLayout.h"
|
|
uint32_t | strideBytes = 0 |
| | Effective element stride.
|
|
bool | paddedFromNatural = false |
| | True when the uniform 16-byte rule raised the natural stride. EMITTER OBLIGATION: WGSL has no stride attribute, so emitters must materialize a padded element wrapper (e.g. a struct with explicit tail padding) whenever this is set.
|
|
| std::ostream & | operator<< (std::ostream &os, const ArrayStrideInfo &value) |
| | Ostream output operator, e.g. stride=16 padded=true.
|
Element stride of an array in an address space, plus whether uniform rules padded it.
◆ operator==()
| bool donner::gpu::shader::ArrayStrideInfo::operator== |
( |
const ArrayStrideInfo & | other | ) |
const |
|
default |
Equality operator.
- Parameters
-
| other | Info to compare against. |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const ArrayStrideInfo & | value ) |
|
friend |
Ostream output operator, e.g. stride=16 padded=true.
- Parameters
-
| os | Output stream. |
| value | Info to output. |
The documentation for this struct was generated from the following file: