mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
removed stray debug printfs
This commit is contained in:
parent
addad052b1
commit
bc2aa00e2a
@ -14,11 +14,6 @@ void colorclip(float4 *pixbuf, float gamma, float vibrancy, float highpow,
|
||||
int i = blockDim.x * blockIdx.x + threadIdx.x;
|
||||
float4 pix = pixbuf[i];
|
||||
|
||||
if (i == 58905) {
|
||||
printf("pix = %f %f %f %f\\n",pix.w,pix.x,pix.y,pix.z);
|
||||
}
|
||||
|
||||
|
||||
if (pix.w <= 0) {
|
||||
pixbuf[i] = make_float4(bkgd.x, bkgd.y, bkgd.z, 0);
|
||||
return;
|
||||
@ -34,11 +29,6 @@ void colorclip(float4 *pixbuf, float gamma, float vibrancy, float highpow,
|
||||
|
||||
float ls = vibrancy * alpha / pix.w;
|
||||
|
||||
if (i == 58905) {
|
||||
printf("alpha = %f, ls = %f\\n",alpha, ls);
|
||||
}
|
||||
|
||||
|
||||
alpha = fminf(1.0f, fmaxf(0.0f, alpha));
|
||||
|
||||
float maxc = fmaxf(pix.x, fmaxf(pix.y, pix.z));
|
||||
|
Loading…
Reference in New Issue
Block a user