mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
aux/trace: copy over stream_output_target_offset method from context
this can't be traced, so don't crash
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14481>
(cherry picked from commit 01709464a4)
This commit is contained in:
parent
fc8bc2d307
commit
bb025625e1
2 changed files with 3 additions and 1 deletions
|
|
@ -4810,7 +4810,7 @@
|
|||
"description": "aux/trace: copy over stream_output_target_offset method from context",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2271,6 +2271,8 @@ trace_context_create(struct trace_screen *tr_scr,
|
|||
TR_CTX_INIT(create_stream_output_target);
|
||||
TR_CTX_INIT(stream_output_target_destroy);
|
||||
TR_CTX_INIT(set_stream_output_targets);
|
||||
/* this is lavapipe-only and can't be traced */
|
||||
tr_ctx->base.stream_output_target_offset = pipe->stream_output_target_offset;
|
||||
TR_CTX_INIT(resource_copy_region);
|
||||
TR_CTX_INIT(blit);
|
||||
TR_CTX_INIT(flush_resource);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue