SVG convolution parameters and precompiled shader projections. More...
Classes | |
| struct | donner::gpu::shader::programs::ConvolveMatrixParams |
| Host storage layout consumed by the matrix-convolution program. The kernel coefficients are not part of this block: they are bound separately as the runtime-sized coefficients array, holding exactly orderX * orderY row-major values, so the kernel size is bounded by the host admission limits rather than by a fixed array in the shader. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| const CompiledShaderView & | donner::gpu::shader::programs::ConvolveMatrixShader () |
| Returns the WGSL projection and reflected interface for matrix convolution. | |
| const CompiledShaderView & | donner::gpu::shader::programs::ConvolveMatrixNativeShader () |
| Returns only the platform's native MSL or SPIR-V projection and the reflected interface. | |
SVG convolution parameters and precompiled shader projections.
| const CompiledShaderView & donner::gpu::shader::programs::ConvolveMatrixNativeShader | ( | ) |
Returns only the platform's native MSL or SPIR-V projection and the reflected interface.
| const CompiledShaderView & donner::gpu::shader::programs::ConvolveMatrixShader | ( | ) |
Returns the WGSL projection and reflected interface for matrix convolution.
The host admits positive kernel orders, targets inside the kernel, finite coefficients, bias and a nonzero divisor, and binds orderX * orderY coefficients. The shader rotates the row-major kernel by 180 degrees, supports duplicate/wrap/transparent edges and optionally preserves alpha.