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
spirv-opt: Fix id overflow in ConvertToSampledImage (#6339)
In ConvertImageVariableToSampledImage, the result of FindPointerToType
is
not checked before being passed to MoveInstructionNextToType. This can
cause a crash if FindPointerToType returns 0.
This CL adds a check to ensure type_id is not 0 before calling
MoveInstructionNextToType. If type_id is 0, the function will return
false.
0 commit comments