diff options
author | Marek Olšák <[email protected]> | 2015-06-27 14:19:41 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-08-06 20:44:35 +0200 |
commit | d587742650c262dea8007474b9956fd65472f8b2 (patch) | |
tree | f54af28fe7c28ce6d389c42c69c5c0794ce31c04 /src/gallium/drivers/r300/r300_cs.h | |
parent | 57245cce52d544c61f03fc966850f0f94e8118d5 (diff) |
gallium/radeon: allow the winsys to choose the IB size
Picked from the amdgpu branch.
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_cs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h index 37f9641ab3e..fc150542d4b 100644 --- a/src/gallium/drivers/r300/r300_cs.h +++ b/src/gallium/drivers/r300/r300_cs.h @@ -46,7 +46,7 @@ #ifdef DEBUG #define BEGIN_CS(size) do { \ - assert(size <= (RADEON_MAX_CMDBUF_DWORDS - cs_copy->cdw)); \ + assert(size <= (cs_copy->max_dw - cs_copy->cdw)); \ cs_count = size; \ } while (0) |