diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-06-03 14:22:41 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-06-03 14:32:56 +0100 |
commit | 81862bbbc82341b1271fc4bc7b803d409826aeba (patch) | |
tree | bb0f844edf62a234d418aeae6492c7f9896e9ae1 /src/gallium/drivers/llvmpipe/lp_state_fs.h | |
parent | 55948247ebd6b37b9ac1869992eb2f765dd62912 (diff) |
llvmpipe: Number shaders/variants for more reproducible function names in the IR.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; }; |