Module: Mesa
Branch: master
Commit: 080f322f06e05b0813f3753898e48dbc72b35a13
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=080f322f06e05b0813f3753898e48dbc72b35a13

Author: Marek Olšák <[email protected]>
Date:   Thu Mar  2 19:01:35 2017 +0100

trace: remove leftover assertions after pipe_resource wrapping removal

---

 src/gallium/drivers/trace/tr_context.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/gallium/drivers/trace/tr_context.c 
b/src/gallium/drivers/trace/tr_context.c
index 40a56df4e5..81c1a46422 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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to