| 47 | #include "ui_BufferViewer.h" |
| 48 | |
| 49 | struct FixedVarTag |
| 50 | { |
| 51 | FixedVarTag() = default; |
| 52 | FixedVarTag(uint32_t size) : valid(true), padding(true), byteSize(size) {} |
| 53 | FixedVarTag(rdcstr varName, uint32_t offset) |
| 54 | : valid(true), padding(false), name(varName), byteOffset(offset) |
| 55 | { |
| 56 | } |
| 57 | bool valid = false; |
| 58 | bool padding = false; |
| 59 | bool matrix = false; |
| 60 | bool rowmajor = false; |
| 61 | rdcstr name; |
| 62 | union |
| 63 | { |
| 64 | uint32_t byteOffset; |
| 65 | uint32_t byteSize; |
| 66 | }; |
| 67 | }; |
| 68 | |
| 69 | Q_DECLARE_METATYPE(FixedVarTag); |
| 70 |
no outgoing calls
no test coverage detected