Debian Codegraph @

servers/rendering/renderer_rd/shaders/effects/blur_raster_inc.glsl

raw
1 #define FLAG_HORIZONTAL (1 << 0)
2 #define FLAG_USE_ORTHOGONAL_PROJECTION (1 << 1)
3 #define FLAG_GLOW_FIRST_PASS (1 << 2)
4
5 layout(push_constant, std430) uniform Blur {
6 vec2 dest_pixel_size; // 08 - 08
7 vec2 source_pixel_size; // 08 - 16
8
9 vec2 pad; // 08 - 24
10 uint flags; // 04 - 28
11 float glow_level; // 04 - 32
12
13 // Glow.
14 float glow_strength; // 04 - 36
15 float glow_bloom; // 04 - 40
16 float glow_hdr_threshold; // 04 - 44
17 float glow_hdr_scale; // 04 - 48
18
19 float glow_exposure; // 04 - 52
20 float glow_white; // 04 - 56
21 float glow_luminance_cap; // 04 - 60
22 float luminance_multiplier; // 04 - 64
23 }
24 blur;