freedreno/computerator: Mark shader bo for dumping
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14231>
This commit is contained in:
parent
d1edc6d9a1
commit
9766a5721d
|
@ -53,6 +53,9 @@ ir3_asm_assemble(struct ir3_compiler *c, FILE *in)
|
||||||
|
|
||||||
memcpy(fd_bo_map(v->bo), kernel->bin, sz);
|
memcpy(fd_bo_map(v->bo), kernel->bin, sz);
|
||||||
|
|
||||||
|
/* Always include shaders in kernel crash dumps. */
|
||||||
|
fd_bo_mark_for_dump(v->bo);
|
||||||
|
|
||||||
return kernel;
|
return kernel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue