New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anisotropic clamping for SamplerDescriptor #696
Comments
nit: The [rest of message moved to #701] |
You added the "for meeting" label; what do you want to discuss? |
Basically, get everyone's 👍 for adding it to the WebIDL. |
Resolution: move anisotropic filtering to core, but make it a hint. If the device doesn't support anisotropic filtering, then it just won't happen. Consider adding a query (maybe later?) that reports either 1 or 16(+?) for the max anisotropy. |
2020-06-15 Meeting: Let's add a maxAnisotropy value to samplers, and a maxAnisotropy limit(? query?) (likely only ever 16 or 1), but not to validate that the former is less than the latter. |
I don't think there is a consensus on exposing the limit/query. Made a proposed API PR in #864 without them. |
751: Convert Extensions + Capabilities into Features r=kvark a=cwfitzgerald **Connections** Based on upcoming webgpu changes. **Description** Does what it says on the tin. The only notable change was classifying the AnisotropicFiltering extension as a WebGPU extension (per gpuweb/gpuweb#696, but no idea if that's the correct interpretation) **Testing** Will be tested by upcoming wgpu-rs PR. Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
https://bugs.webkit.org/show_bug.cgi?id=238063 Reviewed by Kimmo Kinnunen. See gpuweb/gpuweb#696 (comment) > Let's add a maxAnisotropy value to samplers, and a maxAnisotropy limit(? query?) (likely only > ever 16 or 1), but not to validate that the former is less than the latter. Test: api/operation/sampling/anisotropy.spec.ts * WebGPU/Sampler.mm: (WebGPU::validateCreateSampler): (WebGPU::Device::createSampler): Canonical link: https://commits.webkit.org/248687@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
We have the anisotropic extension string, but no associated API to set the clamp.
I wonder how this will be specified: just adding a member to
SamplerDescriptor
may look like this is a part of the core spec.See: #202
The text was updated successfully, but these errors were encountered: