diff options
Diffstat (limited to 'shaders/decor.frag.glsl')
| -rw-r--r-- | shaders/decor.frag.glsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shaders/decor.frag.glsl b/shaders/decor.frag.glsl index 72083ffe..5a6ac458 100644 --- a/shaders/decor.frag.glsl +++ b/shaders/decor.frag.glsl @@ -1,8 +1,8 @@ #version 450 -// Decor, drawn by ui.vert.glsl like a cell, its track's transition included, -// and blended as the overlay pipeline blends (backgroundLayerBlend). Ink (a -// cursor) is drawn with the opacity uniform at 1. +// Decor, drawn by ui.vert.glsl like a cell, and blended as the overlay +// pipeline blends (backgroundLayerBlend). Ink (a cursor) is drawn with the +// opacity uniform at 1. // // Flat: a hard-edged fill (a rule, a rail, a grip mark, a bar cursor). Its // colour rides in the cell's ground (a_bg), its coverage in a_fg.r, so the @@ -18,7 +18,7 @@ layout(location = 0) in vec2 v_uv; layout(location = 1) in vec3 v_fg; layout(location = 2) in vec3 v_bg; layout(location = 3) in vec2 v_cell_uv; -layout(location = 4) flat in uvec4 v_effect; +layout(location = 4) flat in uvec2 v_effect; layout(location = 5) flat in vec4 v_clip; layout(location = 0) out vec4 o_col; |
