diff options
author | Jason Ekstrand <[email protected]> | 2016-04-18 14:25:03 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-20 14:54:09 -0700 |
commit | 64ad2d3bcd9bcbb49ef3840446f560e0f11a1f70 (patch) | |
tree | c2ae23e043a74c6da290ca559eb25537803a276c /src/egl | |
parent | d30768025a2283d4cc57930b784798bf278969da (diff) |
anv: Add a new block-based batch emit macro
This new macro uses a for loop to create an actual code block in which to
place the macro setup code. One advantage of this is that you syntatically
use braces instead of parentheses. Another is that the code in the block
doesn't even get executed if anv_batch_emit_dwords fails.
Acked-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions