summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-07-18 05:42:21 +0800
committerChia-I Wu <[email protected]>2013-08-13 16:28:24 +0800
commit3b6cee1634ac6fa8c02a08127b5373b11d466a8f (patch)
treed571764942ee155c3b61c922a9d62a911f903a37 /src
parent0f8a86682f311615e5a74ddd7d480fa0c7ac6f7d (diff)
ilo: enable dumping of WM PCB
It was disabled because it wasn't supported.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_dump.c6
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 2276140471b..dd9e5324b88 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;
}
/**