You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assertion in dead member elimination with spec constants
godlikepanos
changed the title
Assertion in dead pass elimination with spec constants
Assertion in dead member elimination with spec constants
Apr 7, 2020
* Handle more cases in dead member elim
- Rewrite composite insert and extract operations on SpecConstnatOp.
- Leaves assert for Access chain instructions, which are only allowed
for kernels.
- Other operations do not require any extra code will no longer cause an
assert.
Fixes#3284.
Fixes#3282.
Hi,
I have this compute shader:
Compiling it with glslang without opts will give this:
Using spirv-opt with -Os throws this assertion:
Any idea what might be wrong?
The text was updated successfully, but these errors were encountered: