aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64/x86-64.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-04-02 13:29:37 -0700
committerKenneth Graunke <[email protected]>2012-04-09 10:17:37 -0700
commit781e2d5cfae37c24180c0c622467f656582af9f5 (patch)
tree1f0fea0d67db4727d8239bd238e706908406042c /src/mesa/x86-64/x86-64.c
parentf78f48b6d2c4034a62ab11a558c95901d2245c4a (diff)
ir_to_mesa: Remove pretense of support for function calls.
While ir_to_mesa contains code that attempts to support functions, I honestly doubt it's been tested and have little confidence that it works. The comment in visit(ir_function *ir) doesn't inspire confidence: /* Ignore function bodies other than main() -- we shouldn't see calls to * them since they should all be inlined before we get to ir_to_mesa. */ Furthermore, hardware drivers such as i915, i965, and (AFAICT) r200 don't support the BGNSUB/ENDSUB/CAL opcodes anyway. Only swrast does. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/x86-64/x86-64.c')
0 files changed, 0 insertions, 0 deletions