}
-static void trace_dump_reference(const struct pipe_reference *reference)
-{
- if (!trace_dumping_enabled_locked())
- return;
-
- trace_dump_struct_begin("pipe_reference");
- trace_dump_member(int, reference, count);
- trace_dump_struct_end();
-}
-
-
void trace_dump_template(const struct pipe_texture *templat)
{
if (!trace_dumping_enabled_locked())
trace_dump_struct_begin("pipe_surface");
- trace_dump_reference(&state->reference);
-
trace_dump_member(format, state, format);
trace_dump_member(uint, state, width);
trace_dump_member(uint, state, height);