summaryrefslogtreecommitdiffstats
path: root/src/getopt
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-04-18 14:25:03 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-04-20 14:54:09 -0700
commit64ad2d3bcd9bcbb49ef3840446f560e0f11a1f70 (patch)
treec2ae23e043a74c6da290ca559eb25537803a276c /src/getopt
parentd30768025a2283d4cc57930b784798bf278969da (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 <krh@bitplanet.net>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions