mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
trace: Fix set_constant_buffer dumping.
We were dumping the trace driver pointer, instead of the pointer from the underlying pipe driver.
This commit is contained in:
parent
b92984b2fa
commit
59025d6e95
1 changed files with 2 additions and 2 deletions
|
|
@ -700,6 +700,7 @@ trace_context_set_constant_buffer(struct pipe_context *_pipe,
|
|||
if (constant_buffer) {
|
||||
cb = *constant_buffer;
|
||||
cb.buffer = trace_resource_unwrap(tr_ctx, constant_buffer->buffer);
|
||||
constant_buffer = &cb;
|
||||
}
|
||||
|
||||
trace_dump_call_begin("pipe_context", "set_constant_buffer");
|
||||
|
|
@ -709,8 +710,7 @@ trace_context_set_constant_buffer(struct pipe_context *_pipe,
|
|||
trace_dump_arg(uint, index);
|
||||
trace_dump_arg(constant_buffer, constant_buffer);
|
||||
|
||||
pipe->set_constant_buffer(pipe, shader, index,
|
||||
constant_buffer ? &cb : NULL);
|
||||
pipe->set_constant_buffer(pipe, shader, index, constant_buffer);
|
||||
|
||||
trace_dump_call_end();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue