diff options
author | Rob Clark <[email protected]> | 2020-02-04 13:46:56 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-04 23:59:33 +0000 |
commit | 2c07e03b792d57ae807a6953f0d8ff5f4bcdffd0 (patch) | |
tree | 97ab2a8f6f94ec9795c6a5f62ba8739fae75c8da /src/gallium/drivers/iris | |
parent | 22d2cbe6856fea65bf01dc96941b5127f17dacab (diff) |
freedreno: allow ctx->batch to be NULL
This was mostly true already, now that we use `fd_context_batch()` for
first access to batch in draw/clear/grid paths. So we can drop the old
code in `batch_flush()` that tried to prevent `ctx->batch` from being
NULL.
Fixes a crash with a large number of tabs in chromium.
Cc: "20.0" [email protected]
Signed-off-by: Rob Clark <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3700>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3700>
Diffstat (limited to 'src/gallium/drivers/iris')
0 files changed, 0 insertions, 0 deletions