summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-09-22 15:04:56 -0700
committerKenneth Graunke <[email protected]>2011-10-18 12:24:48 -0700
commit3c22e3516527ccb83f2667abfa0e6518c5938df8 (patch)
treedc3207e331e99831067e88375a75daedf320bf96 /src/glsl/standalone_scaffolding.h
parentf8377b411dfe3c879eaab11bb86f509178796bd1 (diff)
glsl: Stop tree grafting if a variable is overwritten as an 'out' param.
While reviewing some compiler cleanups I'd sent out, Paul noticed that tree grafting wasn't taking "out" parameters into account. Further investigation revealed that it isn't strictly necessary: ir_call ends basic blocks, and tree grafting currently only operates on basic blocks. So calls already kill grafts. However, just to be safe, this patch makes "out" parameters explicitly kill grafts. Paul and I both prefer this. It's a bit clearer. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/standalone_scaffolding.h')
0 files changed, 0 insertions, 0 deletions