summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_cmd_buffer.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-01-28 16:31:54 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:02:13 -0700
commit741a4325df3a9c605bf85d2429f4af97a755e407 (patch)
tree87d0cf50338d769181b3c2faea5a12822c42d799 /src/freedreno/vulkan/tu_cmd_buffer.c
parent29f111000399821452e8538ca74ce2de7210ee47 (diff)
turnip: add tu_cs_sanity_check
It replaces tu_cs_reserve_space_assert and can be called at any time to sanity check tu_cs.
Diffstat (limited to 'src/freedreno/vulkan/tu_cmd_buffer.c')
-rw-r--r--src/freedreno/vulkan/tu_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c
index 346f5f29ff5..541a37b6dde 100644
--- a/src/freedreno/vulkan/tu_cmd_buffer.c
+++ b/src/freedreno/vulkan/tu_cmd_buffer.c
@@ -511,7 +511,7 @@ tu6_init_hw(struct tu_cmd_buffer *cmd)
tu_cs_emit_pkt4(cs, REG_A6XX_RB_LRZ_CNTL, 1);
tu_cs_emit(cs, 0x00000000);
- tu_cs_reserve_space_assert(cs);
+ tu_cs_sanity_check(cs);
}
static void