Replace the blit cascade in record_blur with shader-based dual-Kawase,
matching the OpenGL backend's algorithm. The blit cascade was a much weaker filter that degenerated badly on thin surfaces. The new path adds blur.vert / blur_down.frag (5-tap) / blur_up.frag (8-tap), a single-binding blur descriptor set layout, and per-format down/up pipelines. BLUR_SCRATCH_USAGE gains COLOR_ATTACHMENT so the scratch images can be both sampled and rendered into. Cache hit fast path and masked composite are unchanged.
This commit is contained in:
parent
fa0ab2f1fa
commit
e2de688324
12 changed files with 707 additions and 176 deletions
BIN
src/gfx_apis/vulkan/shaders_bin/blur_up.frag.spv
Normal file
BIN
src/gfx_apis/vulkan/shaders_bin/blur_up.frag.spv
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue