Commit 5039ae9
committed
Enable relaxed block layout by default for Universal SPIR-V 1.3+
SPIR-V 1.3 was introduced alongside Vulkan 1.1, which mandates
VK_KHR_relaxed_block_layout as core. Auto-enable relaxed block
layout for Universal 1.3+ targets to match this expectation,
preventing false positives on structs with vec3 members at offsets
that satisfy relaxed but not strict alignment rules.1 parent 0d0ba1d commit 5039ae9
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
| |||
0 commit comments