mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-06-30 21:37:16 -04:00
Stamp out pre-echo (hopefully)
This commit is contained in:
@ -140,7 +140,7 @@ void blur_density_v(float4 *pixbuf, const float *scratch,
|
||||
den += dsrc[astride*min(astride-1, y+2)] * 0.00135f;
|
||||
|
||||
float *ddst = reinterpret_cast<float*>(&pixbuf[astride * y + x]) + 3;
|
||||
*ddst = den;
|
||||
*ddst = min(*ddst, den);
|
||||
}
|
||||
|
||||
#define W 15 // Filter width (regardless of standard deviation chosen)
|
||||
|
Reference in New Issue
Block a user