summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-01-04 17:52:38 -0800
committerKenneth Graunke <[email protected]>2017-01-05 01:55:27 -0800
commit7c6b714cd0fe06044c9a810186f5ce3690152574 (patch)
tree65141e283941ae72d5fc632de05ef2e085dd9972 /src/mesa/drivers/dri/i965
parent480d6c1653713dcae617ac523b2ca5deee01c845 (diff)
i965: Print VS output VUE map in Vulkan too.
We need to move this to the shared layer. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp5
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index f096ce9e020..b5e846d7cf5 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -2786,6 +2786,11 @@ brw_compile_vs(const struct brw_compiler *compiler, void *log_data,
else
prog_data->base.urb_entry_size = DIV_ROUND_UP(vue_entries, 4);
+ if (INTEL_DEBUG & DEBUG_VS) {
+ fprintf(stderr, "VS Output ");
+ brw_print_vue_map(stderr, &prog_data->base.vue_map);
+ }
+
if (is_scalar) {
prog_data->base.dispatch_mode = DISPATCH_MODE_SIMD8;
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c
index ede6097b404..9d219fd7b15 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.c
+++ b/src/mesa/drivers/dri/i965/brw_vs.c
@@ -169,9 +169,6 @@ brw_codegen_vs_prog(struct brw_context *brw,
if (unlikely(INTEL_DEBUG & DEBUG_VS)) {
if (!prog)
brw_dump_arb_asm("vertex", &vp->program);
-
- fprintf(stderr, "VS Output ");
- brw_print_vue_map(stderr, &prog_data.base.vue_map);
}
int st_index = -1;