mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 12:50:12 +01:00
r600: proper fix for 1560183536
PRE_EMIT_STATE_BUFSZ accounts for the start 3d, idle, cd/db flush not for state. The relocs for CB_COLOR0_FRAG & CB_COLOR0_TILE are part of the render target state.
This commit is contained in:
parent
f9f4f3df42
commit
5997501ca0
2 changed files with 2 additions and 2 deletions
|
|
@ -1349,7 +1349,7 @@ void r600InitAtoms(context_t *context)
|
|||
ALLOC_STATE(poly, always, 10, r700SendPolyState);
|
||||
ALLOC_STATE(cb, cb, 18, r700SendCBState);
|
||||
ALLOC_STATE(clrcmp, always, 6, r700SendCBCLRCMPState);
|
||||
ALLOC_STATE(cb_target, always, 25, r700SendRenderTargetState);
|
||||
ALLOC_STATE(cb_target, always, 29, r700SendRenderTargetState);
|
||||
ALLOC_STATE(blnd, blnd, (6 + (R700_MAX_RENDER_TARGETS * 3)), r700SendCBBlendState);
|
||||
ALLOC_STATE(blnd_clr, always, 6, r700SendCBBlendColorState);
|
||||
ALLOC_STATE(sx, always, 9, r700SendSXState);
|
||||
|
|
|
|||
|
|
@ -419,7 +419,7 @@ static void r700RunRenderPrimitiveImmediate(GLcontext * ctx, int start, int end,
|
|||
}
|
||||
|
||||
/* start 3d, idle, cb/db flush */
|
||||
#define PRE_EMIT_STATE_BUFSZ 5 + 5 + 18
|
||||
#define PRE_EMIT_STATE_BUFSZ 5 + 5 + 14
|
||||
|
||||
static GLuint r700PredictRenderSize(GLcontext* ctx,
|
||||
const struct _mesa_prim *prim,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue