From: Marek Olšák Date: Thu, 2 Mar 2017 18:01:35 +0000 (+0100) Subject: trace: remove leftover assertions after pipe_resource wrapping removal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=080f322f06e05b0813f3753898e48dbc72b35a13;p=mesa.git trace: remove leftover assertions after pipe_resource wrapping removal --- diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 40a56df4e5f..81c1a46422b 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -1496,8 +1496,6 @@ trace_context_buffer_subdata(struct pipe_context *_context, struct pipe_context *context = tr_context->pipe; struct pipe_box box; - assert(resource->screen == context->screen); - trace_dump_call_begin("pipe_context", "buffer_subdata"); trace_dump_arg(ptr, context); @@ -1530,8 +1528,6 @@ trace_context_texture_subdata(struct pipe_context *_context, struct trace_context *tr_context = trace_context(_context); struct pipe_context *context = tr_context->pipe; - assert(resource->screen == context->screen); - trace_dump_call_begin("pipe_context", "texture_subdata"); trace_dump_arg(ptr, context); @@ -1564,8 +1560,6 @@ trace_context_invalidate_resource(struct pipe_context *_context, struct trace_context *tr_context = trace_context(_context); struct pipe_context *context = tr_context->pipe; - assert(resource->screen == context->screen); - trace_dump_call_begin("pipe_context", "invalidate_resource"); trace_dump_arg(ptr, context);