···2323- *IB*: Indirect Buffer: Allocated on BO, can be submitted to a HW_IP.
2424- *CS*: Command Stream
25252626+2727+AMD (& afaik NV) support predication in multiple ways. In AMD, we can both skip over commands in the CP, but also
2828+many packets can read from the predication register. Skipping commands is done for arbitrary va atomic ops (i believe),
2929+and the register is for stuff like DRAW_VISIBLE. I believe it would be awesome to support an api like::
3030+3131+ auto x = kes_malloc(dev, size, 4, KesMemoryDefault);
3232+ auto pred = kes_malloc(dev, 1, 4, KesMemoryDefault);
3333+3434+ auto l1 = kes_start_recording(compute);
3535+3636+ kes_cmd_conditional_begin(l1, pred, KesCondOpEqual);
3737+ kes_cmd_memset(l1, x.gpu, size, 2);
3838+ kes_cmd_memcpy(l1, y.gpu, x.gpu, size);
3939+ kes_cmd_conditional_end(l1);
4040+4141+ kes_submit(compute, l1);
4242+4343+This would be awesome, as it would actually expose this stuff without weird extensions like VK_conditional_rendering.
4444+2645.. toctree::
2746 bugs
2847