summaryrefslogtreecommitdiffstats
path: root/docs/RELNOTES-5.0.1
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-02-07 22:59:24 -0800
committerEric Anholt <[email protected]>2012-03-13 13:50:08 -0700
commitead3589aa2810b66164178a1d55d2063cfa3b041 (patch)
tree14cf2e5f97a12efcbdf8ffd22d9d71c93e37dd0f /docs/RELNOTES-5.0.1
parentb536ac6b2bc54ad9bb6e58fbd307055e419a288f (diff)
glsl: Avoid extra if statements for logic and/or with no side effects.
This avoids extra if statements in the common case of just comparing two expressions that don't involve assignments or function calls, along with simplifying the handling of constant expressions. Reduces i965 instructions generated in unigine tropics and sanctuary, yofrankie, warsow, gstreamer shaders, and the weston compositor. shader-db results: Total instructions: 213052 -> 212752 38/1246 programs affected (3.0%) 14309 -> 14009 instructions in affected programs (2.1% reduction)
Diffstat (limited to 'docs/RELNOTES-5.0.1')
0 files changed, 0 insertions, 0 deletions