Skip to content

Conversation

shrekshao
Copy link
Collaborator

https://github.com/austinEng/webgpu-samples/issues/130

round has the following behavior

When e lies halfway between integers k and k+1, the result is k when k is even, and k+1 when k is odd.

It ends in image having half resolution.
Change to floor. For textureLoad, it make sense for a (0.5, 0.5) to load the texel at (0, 0)

https://bugs.chromium.org/p/tint/issues/detail?id=1089

@kainino0x kainino0x linked an issue Aug 3, 2021 that may be closed by this pull request
@kainino0x kainino0x merged commit a808d65 into webgpu:main Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deferred rendering inaccurate UV coordinate

2 participants