ilo: enable dumping of WM PCB
authorChia-I Wu <olvaffe@gmail.com>
Wed, 17 Jul 2013 21:42:21 +0000 (05:42 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 13 Aug 2013 08:28:24 +0000 (16:28 +0800)
It was disabled because it wasn't supported.

src/gallium/drivers/ilo/ilo_3d_pipeline_dump.c

index 2276140471b856410773bb2e6659d5f5891b04c1..dd9e5324b889cc88f9ad4977c09cc1ea7595be65 100644 (file)
@@ -614,6 +614,11 @@ dump_3d_state(struct ilo_3d_pipeline *p)
    else
       dump_gen7_sampler_state(&brw, p->state.wm.SAMPLER_STATE, num_states * 16);
 
+   if (p->state.wm.PUSH_CONSTANT_BUFFER_size) {
+      dump_wm_constants(&brw, p->state.wm.PUSH_CONSTANT_BUFFER,
+            p->state.wm.PUSH_CONSTANT_BUFFER_size);
+   }
+
    dump_scissor(&brw, p->state.SCISSOR_RECT);
 
    (void) dump_vs_state;
@@ -622,7 +627,6 @@ dump_3d_state(struct ilo_3d_pipeline *p)
    (void) dump_sf_state;
    (void) dump_wm_state;
    (void) dump_cc_state_gen4;
-   (void) dump_wm_constants;
 }
 
 /**