Anyone know if when writing shaders if I have foo*(formula) and foo = 0 will it bother to compute the formula?
@netgrind I've found they usually don't, and can even be over aggressive to the point of removing needed code.
-
-
@AxiomVerge really? haven't encountered any skipping code but I will keep that in mind. -
@netgrind At Petroglyph we have a shader that only runs when compiled for debug...I didn't write it, though :-) - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.