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
However, it is arguable whether this kind of "semantic" validation checks should happen in mr::Builder. mr::Builder is designed to be low-level with little sanity check. It is intended to be used by some higher level builder actually. (Sorry about this maybe unnecessary layers and abstractions.) Besides, SPIR-V spec 2.16 contains a bunch of validation rules. If we enable this one, what about the others?
I am planning a higher level builder (#5) and started writing code for it, but cannot find time for it right now. We'll definitely need a type cache there. ;-P
For example:
results in
I expected just:
Should the builder cache types? Or should duplicate instructions be removed in a later stage?
The text was updated successfully, but these errors were encountered: