trace: Reorder dumping of pipe_rasterizer_state.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 5 Dec 2013 13:25:38 +0000 (13:25 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 5 Dec 2013 13:35:06 +0000 (13:35 +0000)
Such that it matches the pipe_rasterizer_state declaration, making it
easier to double-check that all state is being actually dumped.

Trivial.

src/gallium/drivers/trace/tr_dump_state.c

index 2284cae..32f11a5 100644 (file)
@@ -127,24 +127,32 @@ void trace_dump_rasterizer_state(const struct pipe_rasterizer_state *state)
    trace_dump_member(bool, state, poly_smooth);
    trace_dump_member(bool, state, poly_stipple_enable);
    trace_dump_member(bool, state, point_smooth);
-   trace_dump_member(uint, state, sprite_coord_enable);
    trace_dump_member(bool, state, sprite_coord_mode);
    trace_dump_member(bool, state, point_quad_rasterization);
    trace_dump_member(bool, state, point_size_per_vertex);
    trace_dump_member(bool, state, multisample);
    trace_dump_member(bool, state, line_smooth);
    trace_dump_member(bool, state, line_stipple_enable);
-   trace_dump_member(uint, state, line_stipple_factor);
-   trace_dump_member(uint, state, line_stipple_pattern);
    trace_dump_member(bool, state, line_last_pixel);
+
    trace_dump_member(bool, state, flatshade_first);
+
    trace_dump_member(bool, state, half_pixel_center);
    trace_dump_member(bool, state, bottom_edge_rule);
+
    trace_dump_member(bool, state, rasterizer_discard);
+
    trace_dump_member(bool, state, depth_clip);
+
    trace_dump_member(bool, state, clip_halfz);
+
    trace_dump_member(uint, state, clip_plane_enable);
 
+   trace_dump_member(uint, state, line_stipple_factor);
+   trace_dump_member(uint, state, line_stipple_pattern);
+
+   trace_dump_member(uint, state, sprite_coord_enable);
+
    trace_dump_member(float, state, line_width);
    trace_dump_member(float, state, point_size);
    trace_dump_member(float, state, offset_units);