diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-07-09 16:51:23 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-08-01 10:33:38 -0700 |
commit | 2b4fbc4d7d3578642ca57b5e45094e66e03626fc (patch) | |
tree | c7c5b9247099c15ca63ef963645b1ec61e9b7231 /src/glsl/builtins/profiles | |
parent | 83fa0842ca0772e9a3493bd7a66f69c458a1739b (diff) | |
download | external_mesa3d-2b4fbc4d7d3578642ca57b5e45094e66e03626fc.zip external_mesa3d-2b4fbc4d7d3578642ca57b5e45094e66e03626fc.tar.gz external_mesa3d-2b4fbc4d7d3578642ca57b5e45094e66e03626fc.tar.bz2 |
intel: Decrease nesting level in intelCreateBuffer
Nearly the whole function body was contained in the 'else' branch. The
'if' branch did one thing: return early with an error. Clean things up by
moving all the code out of the 'else' branch. Decreases max nesting level
from 4 to 3.
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/glsl/builtins/profiles')
0 files changed, 0 insertions, 0 deletions