-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Augmentable operators optimization: * is not always commutative (#372)
This is a fix to an issue found in #369. Thanks to @therontarigo!
- Loading branch information
Showing
8 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
clod.frag... 8836 => 1515.830 | ||
mouton/mouton.vert... 16951 => 2447.462 | ||
audio-flight-v2.frag 4509 => 881.311 | ||
mouton/mouton.vert... 16952 => 2447.464 | ||
audio-flight-v2.frag 4510 => 881.310 | ||
buoy.frag 4051 => 607.428 | ||
controllable-machinery.frag 7703 => 1216.907 | ||
ed-209.frag 7697 => 1340.743 | ||
elevated.hlsl 3400 => 602.269 | ||
endeavour.frag 2584 => 532.679 | ||
from-the-seas-to-the-stars.frag 14250 => 2308.842 | ||
from-the-seas-to-the-stars.frag 14251 => 2308.886 | ||
frozen-wasteland.frag 4566 => 806.475 | ||
kinder_painter.frag 2847 => 442.771 | ||
leizex.frag 2270 => 510.375 | ||
lunaquatic.frag 5234 => 1043.382 | ||
mandelbulb.frag 2342 => 537.655 | ||
ohanami.frag 3255 => 723.732 | ||
orchard.frag 5505 => 1027.273 | ||
ohanami.frag 3256 => 723.324 | ||
orchard.frag 5506 => 1027.274 | ||
oscars_chair.frag 4651 => 986.364 | ||
robin.frag 6254 => 1047.419 | ||
slisesix.frag 4549 => 913.642 | ||
terrarium.frag 3593 => 741.557 | ||
the_real_party_is_in_your_pocket.frag 12087 => 1780.714 | ||
valley_ball.glsl 4307 => 881.820 | ||
yx_long_way_from_home.frag 2942 => 598.650 | ||
Total: 134383 => 23495.298 | ||
Total: 134388 => 23494.936 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ float result; | |
void main() | ||
{ | ||
float x=.5; | ||
x*=.6*x; | ||
x=.6*x*x; | ||
result=x; | ||
} | ||
int arithmetic() | ||
|