Is your feature request related to a problem? Please describe.
Spec says that we should invalidate GPUCommandEncoder on invalid usage (see copybuffertobuffer for example). Currently error is just returned without invalidating command encoder.
Describe the solution you'd likecommand_encoder_copy_buffer_to_buffer and others should also invalidate command encoder to match the spec.
Describe alternatives you've considered
Do nothing (this might be feature not a bug).
Is your feature request related to a problem? Please describe. Spec says that we should invalidate
GPUCommandEncoder
on invalid usage (see copybuffertobuffer for example). Currently error is just returned without invalidating command encoder.Describe the solution you'd like
command_encoder_copy_buffer_to_buffer
and others should also invalidate command encoder to match the spec.Describe alternatives you've considered Do nothing (this might be feature not a bug).