From 81862bbbc82341b1271fc4bc7b803d409826aeba Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 3 Jun 2010 14:22:41 +0100 Subject: llvmpipe: Number shaders/variants for more reproducible function names in the IR. --- src/gallium/drivers/llvmpipe/lp_state_fs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.h') diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.h b/src/gallium/drivers/llvmpipe/lp_state_fs.h index 1d9279e58a..64ead2a997 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.h +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.h @@ -76,6 +76,9 @@ struct lp_fragment_shader_variant lp_jit_frag_func jit_function[2]; struct lp_fragment_shader_variant *next; + + /* For debugging/profiling purposes */ + unsigned no; }; @@ -87,6 +90,10 @@ struct lp_fragment_shader struct tgsi_shader_info info; struct lp_fragment_shader_variant *variants; + + /* For debugging/profiling purposes */ + unsigned no; + unsigned variant_no; }; -- cgit v1.2.3