Re: [Mesa-dev] [PATCH] gallivm: fix opcode and function nesting

2014-01-29 Thread Zack Rusin
- Original Message - > Am 28.01.2014 23:08, schrieb Zack Rusin: > > 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 condition

Re: [Mesa-dev] [PATCH] gallivm: fix opcode and function nesting

2014-01-29 Thread Roland Scheidegger
Am 28.01.2014 23:08, schrieb Zack Rusin: > 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 t

[Mesa-dev] [PATCH] gallivm: fix opcode and function nesting

2014-01-28 Thread Zack Rusin
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