aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_cs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/vulkan/tu_cs.h')
-rw-r--r--src/freedreno/vulkan/tu_cs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/freedreno/vulkan/tu_cs.h b/src/freedreno/vulkan/tu_cs.h
index 33d000ae06f..0dc69196b07 100644
--- a/src/freedreno/vulkan/tu_cs.h
+++ b/src/freedreno/vulkan/tu_cs.h
@@ -341,8 +341,8 @@ tu_cond_exec_end(struct tu_cs *cs)
STATIC_ASSERT(count > 0); \
STATIC_ASSERT(count <= 16); \
\
- tu_cs_emit_pkt4(cs, regs[0].reg, count); \
- uint32_t *p = cs->cur; \
+ tu_cs_emit_pkt4((cs), regs[0].reg, count); \
+ uint32_t *p = (cs)->cur; \
__ONE_REG( 0, regs); \
__ONE_REG( 1, regs); \
__ONE_REG( 2, regs); \
@@ -359,7 +359,7 @@ tu_cond_exec_end(struct tu_cs *cs)
__ONE_REG(13, regs); \
__ONE_REG(14, regs); \
__ONE_REG(15, regs); \
- cs->cur = p; \
+ (cs)->cur = p; \
} while (0)
#endif /* TU_CS_H */