Great idea to collect useful write-ups about SM
Here's an article I found about aliasing caused by conditionals in HLSL:

http://ati.amd.com/developer/SIGGRAPH04/ShadingCourse2004_HLSL_Slides.pdf

Not the entire article is based on this, the interesting part starts from page 26
I'll try to input some SM code I've got asap

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB