summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-04-11 02:22:06 -0700
committerZack Rusin <[email protected]>2013-04-16 23:38:46 -0700
commitb739376cffec19870804b1ebd4bef3c2f654e943 (patch)
tree4e5d22968723f30fdd002c61ff5f225d5588fdee /src/gallium/auxiliary/util
parent93627e33cc4c4e8f800fdb61693c1107e6cdcd2e (diff)
gallivm/gs: fix the end primitive calls
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 conditions. Now we're combining the execution mask with a mask created from emitted vertices to handle both cases. As a result we don't need the pending_end_primitive flag which was broken because it was static and could be affected by both above mentioned conditions at run-time. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
0 files changed, 0 insertions, 0 deletions