SVG convolution parameters and precompiled shader projections. More...
Classes | |
| struct | donner::gpu::shader::programs::ConvolveMatrixParams |
| Host storage layout consumed by the matrix-convolution program. 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. | |
Variables | |
| constexpr uint32_t | donner::gpu::shader::programs::kConvolveMatrixKernelCapacity = 25 |
| Maximum number of tightly packed kernel coefficients in the parameter storage block. | |
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 whose product fits the coefficient array, targets inside the kernel, and finite coefficients, bias and nonzero divisor. The shader rotates the row-major kernel by 180 degrees, supports duplicate/wrap/transparent edges and optionally preserves alpha.