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

Author: Chia-I Wu <olva...@gmail.com>
Date:   Thu Jul 18 05:42:21 2013 +0800

ilo: enable dumping of WM PCB

It was disabled because it wasn't supported.

---

 src/gallium/drivers/ilo/ilo_3d_pipeline_dump.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_dump.c 
b/src/gallium/drivers/ilo/ilo_3d_pipeline_dump.c
index 2276140..dd9e532 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_dump.c
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_dump.c
@@ -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;
 }
 
 /**

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to