Re: [Mesa-dev] [PATCH 1/2] gallivm/gs: fix the end primitive calls

2013-04-12 Thread Jose Fonseca
- Original Message - The issue with SOA execution and end_primitive opcode is that it can be executed both when we haven't emitted any vertices, in which case we don't want to emit an empty primitive, and when the execution mask is zero and the execution should be skipped. We

[Mesa-dev] [PATCH 1/2] gallivm/gs: fix the end primitive calls

2013-04-11 Thread Zack Rusin
The issue with SOA execution and end_primitive opcode is that it can be executed both when we haven't emitted any vertices, in which case we don't want to emit an empty primitive, and when the execution mask is zero and the execution should be skipped. We handled only the latter of those