mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
radeonsi: Bump MAX_DRAW_CS_DWORDS.
I missed this when updating si_context_draw().
This commit is contained in:
parent
9af1ba565d
commit
0201c7d0af
3 changed files with 3 additions and 3 deletions
|
|
@ -481,7 +481,7 @@ void si_context_draw(struct r600_context *ctx, const struct r600_draw *draw)
|
|||
ndwords += 6;
|
||||
|
||||
/* when increasing ndwords, bump the max limit too */
|
||||
assert(ndwords <= R600_MAX_DRAW_CS_DWORDS);
|
||||
assert(ndwords <= SI_MAX_DRAW_CS_DWORDS);
|
||||
|
||||
/* queries need some special values
|
||||
* (this is non-zero if any query is active) */
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ void r600_need_cs_space(struct r600_context *ctx, unsigned num_dw,
|
|||
num_dw += ctx->pm4_dirty_cdwords;
|
||||
|
||||
/* The upper-bound of how much a draw command would take. */
|
||||
num_dw += R600_MAX_DRAW_CS_DWORDS;
|
||||
num_dw += SI_MAX_DRAW_CS_DWORDS;
|
||||
}
|
||||
|
||||
/* Count in queries_suspend. */
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#include "util/u_hash_table.h"
|
||||
#include "os/os_thread.h"
|
||||
|
||||
#define R600_MAX_DRAW_CS_DWORDS 17
|
||||
#define SI_MAX_DRAW_CS_DWORDS 18
|
||||
|
||||
#define PKT_COUNT_C 0xC000FFFF
|
||||
#define PKT_COUNT_S(x) (((x) & 0x3FFF) << 16)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue