gpuweb / cts

WebGPU Conformance Test Suite
https://gpuweb.github.io/cts/
BSD 3-Clause "New" or "Revised" License
130 stars 82 forks source link

wgsl: if LHS is signed, the right shift is arithmetic #1853

Closed dneto0 closed 4 months ago

dneto0 commented 2 years ago

Affects LHS which are abstract or concrete signed integers

See https://github.com/gpuweb/gpuweb/pull/3463

alan-baker commented 4 months ago

This is covered in https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/execution/expression/binary/bitwise_shift.spec.ts.