winsys/amdgpu: add REWIND emulation via INDIRECT_BUFFER into cs_check_space
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -382,7 +382,7 @@ static void r300_clear(struct pipe_context* pipe,
|
||||
r300_get_num_cs_end_dwords(r300);
|
||||
|
||||
/* Reserve CS space. */
|
||||
if (!r300->rws->cs_check_space(r300->cs, dwords)) {
|
||||
if (!r300->rws->cs_check_space(r300->cs, dwords, false)) {
|
||||
r300_flush(&r300->context, PIPE_FLUSH_ASYNC, NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user