diff options
author | Zack Rusin <[email protected]> | 2014-01-28 16:34:18 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2014-02-03 13:29:14 -0500 |
commit | 9bace99d77642f8fbd46b1f0be025ad758f83f5e (patch) | |
tree | 73d7f8c8086352aa2143eb7f7720bd035ba4ce44 /src/gallium/drivers/svga/svga_context.h | |
parent | 595bcf38a6620cc6b69b170bd5c48ace720dd607 (diff) |
gallivm: fix opcode and function nesting
gallivm soa code supported only a single level of nesting for
control flow opcodes (if, switch, loops...) but the d3d10 spec
clearly states that those are nested within functions. To support
nesting of conditionals inside functions we need to store the
nesting data inside function contexts and keep a stack of those.
Furthermore we make sure that if nesting for subroutines is deeper
than 32 then we simply ignore all subsequent 'call' invocations.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
0 files changed, 0 insertions, 0 deletions