trace: remove leftover assertions after pipe_resource wrapping removal
authorMarek Olšák <marek.olsak@amd.com>
Thu, 2 Mar 2017 18:01:35 +0000 (19:01 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 17 Mar 2017 17:30:21 +0000 (18:30 +0100)
src/gallium/drivers/trace/tr_context.c

index 40a56df4e5f8b784068a19e07ced53b0ea4d4364..81c1a46422bf41453c8048cc4b9cf11413bbce36 100644 (file)
@@ -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);