summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_samplers.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-04-18 14:25:03 -0700
committerJason Ekstrand <[email protected]>2016-04-20 14:54:09 -0700
commit64ad2d3bcd9bcbb49ef3840446f560e0f11a1f70 (patch)
treec2ae23e043a74c6da290ca559eb25537803a276c /src/compiler/nir/nir_lower_samplers.c
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 <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_samplers.c')
0 files changed, 0 insertions, 0 deletions