#include "cso_cache/cso_cache.h"
#include "cso_cache/cso_hash.h"
#include "cso_context.h"
-
+#include "driver_trace/tr_dump.h"
/**
* Per-shader sampler information.
{
unsigned i;
+ bool dumping = trace_dumping_enabled_locked();
+ if (dumping)
+ trace_dumping_stop_locked();
if (ctx->pipe) {
ctx->pipe->bind_blend_state( ctx->pipe, NULL );
ctx->pipe->bind_rasterizer_state( ctx->pipe, NULL );
ctx->pipe->set_sample_mask(ctx->pipe, ctx->sample_mask);
if (ctx->pipe->set_min_samples)
ctx->pipe->set_min_samples(ctx->pipe, ctx->min_samples);
+ if (dumping)
+ trace_dumping_start_locked();
}
/**