mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 12:29:41 -07:00
bugfix when calculating kernel weights for smaller than 1px blur size
This commit is contained in:
1 parent
e56eb077d0
commit
82f86d654f
1 file changed
+1
-1
@@ -1263,8 +1263,8 @@ r_window_submit(OS_Handle window, R_Handle window_equip, R_PassList *passes)
|
||||
// zw elements are not used, a bit of waste but it allows for simpler shader code
|
||||
uniforms.kernel[(idx+1)/2] = v4f32(w, (F32)idx + t, 0, 0);
|
||||
}
|
||||
uniforms.kernel[0].x = weights[0];
|
||||
}
|
||||
uniforms.kernel[0].x = weights[0];
|
||||
|
||||
// technically we need just direction be different
|
||||
// but there are 256 bytes of usable space anyway for each constant buffer chunk
|
||||
|
||||
Reference in new issue
Block a user