gpuweb / cts

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

Fix for textureGather #3918

Closed greggman closed 2 months ago

greggman commented 2 months ago

textureGather needs to not choose centers of texels because depending on the backend it could choose the texels to the left or right (up or down) from the texture coordinate.

There was code to do this but it needed to know it was being used for textureGather.