bgfx: Fixed crt-geom{,-deluxe} shader compilation and recompiled shaders.

This commit is contained in:
Vas Crabb 2021-03-20 02:58:53 +11:00
parent e796dc2735
commit a860495f6c
22 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -190,7 +190,7 @@ vec4 x_coeffs(vec4 x, float pos_x)
return cubic(x,0.0,0.5);
} else if (u_interp.x < 4.5) { // Mitchell-Netravali
return cubic(x,1.0/3.0,1.0/3.0);
} else if (u_interp.x < 5.5) { // B-spline
} else /*if (u_interp.x < 5.5)*/ { // B-spline
return cubic(x,1.0,0.0);
}
}

View File

@ -170,7 +170,7 @@ vec4 x_coeffs(vec4 x, float pos_x)
return cubic(x,0.0,0.5);
} else if (u_interp.x < 4.5) { // Mitchell-Netravali
return cubic(x,1.0/3.0,1.0/3.0);
} else if (u_interp.x < 5.5) { // B-spline
} else /*if (u_interp.x < 5.5)*/ { // B-spline
return cubic(x,1.0,0.0);
}
}