mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
remove outdated unused shader functions
This commit is contained in:
parent
ffa16727fe
commit
01643f5fee
1 changed files with 0 additions and 14 deletions
|
@ -40,13 +40,6 @@ fragment =
|
|||
|
||||
float kernel[9];
|
||||
|
||||
float hash12(vec2 p)
|
||||
{
|
||||
vec2 pp = p * 1234.3;
|
||||
vec2 p2 = fract(pp) + fract(dot(pp, pp.yx + vec2(12.0,51.0)));
|
||||
return fract(fract(p2.x * p2.y) * 123.312);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
kernel[0] = 0.0; kernel[1] = 1.0; kernel[2] = 0.0;
|
||||
|
@ -122,13 +115,6 @@ fragment41core =
|
|||
|
||||
float kernel[9];
|
||||
|
||||
float hash12(vec2 p)
|
||||
{
|
||||
vec2 pp = p * 1234.3;
|
||||
vec2 p2 = fract(pp) + fract(dot(pp, pp.yx + vec2(12.0,51.0)));
|
||||
return fract(fract(p2.x * p2.y) * 123.312);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
kernel[0] = 0.0; kernel[1] = 1.0; kernel[2] = 0.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue