title: GLSL/HLSL - Multiple single line conditional statements as opposed to single block
body: <p>Doing some research into antialiasing methods, I stumbled upon this piece of code (grabbed from Nvidia's FXAA shader):</p>
  
  <pre><code>if(!pairN) lumaN = lumaS;
  if(!pairN) gradientN = gradientS;
  if(!pairN) lengthSign *= -1.0;
  </code></pre>
  
  <p>Is there a good reason it's not written as the following instead?</p>
  
  <pre><code>if (!pairN) {
      lumaN = lumaS;
      gradientN = gradientS;
      lengthSign *= -1.0;
  }
  </code></pre>
  
  <p>I assume it's an optimization of some sort? Just seems really counterintuitive...</p>