gpuweb / cts

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

Fix matrix overflow test case #3766

Closed sudonatalie closed 4 weeks ago

sudonatalie commented 4 weeks ago

This PR fixes up the test for successful non-overflow cases of f16 matrix vector multiplication. For example, for a mat2x2 vec2, this will now result in: MAX_FLOAT 0.5 + MAX_FLOAT 0.5 instead of the overflowing: MAX_FLOAT 1 + MAX_FLOAT * 1

Issue: #3765


Requirements for PR author:

Requirements for reviewer sign-off:

When landing this PR, be sure to make any necessary issue status updates.