v3d: add debug assert
[mesa.git] / src / broadcom / common / v3d_cpu_tiling.h
index e10b45866098bbf14b62450b955e506351a0d25b..cb1ee7c96f45f47d70226af6ba45bf8e5baabdb4 100644 (file)
@@ -159,9 +159,8 @@ v3d_store_utile(void *gpu, uint32_t gpu_stride,
                          * d0-d7.
                          */
                         "vstm %[gpu], {q0, q1, q2, q3}\n"
-                        :
+                        : [cpu]         "+r"(cpu)
                         : [gpu]         "r"(gpu),
-                          [cpu]         "r"(cpu),
                           [cpu_stride]  "r"(cpu_stride)
                         : "q0", "q1", "q2", "q3");
                 return;