Closed toaarnio closed 10 years ago
In JavaScript, TypeError should be thrown when an argument is not of the expected type. Since globalWorkSize is not declared nullable, passing null should cause a TypeError (as opposed to INVALID_GLOBAL_WORK_SIZE).
globalWorkSize
null
INVALID_GLOBAL_WORK_SIZE
In JavaScript, TypeError should be thrown when an argument is not of the expected type. Since
globalWorkSize
is not declared nullable, passingnull
should cause a TypeError (as opposed toINVALID_GLOBAL_WORK_SIZE
).