mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-24 16:37:51 +00:00
bugfix when calculating kernel weights for smaller than 1px blur size
This commit is contained in:
committed by
Ryan Fleury
parent
d4474b5a31
commit
44fa806334
@@ -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