aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_test_blend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test_blend.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_test_blend.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_blend.c b/src/gallium/drivers/llvmpipe/lp_test_blend.c
index 9ac115b99f4..56cd800b37f 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_blend.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_blend.c
@@ -71,6 +71,9 @@ write_tsv_header(FILE *fp)
"result\t"
"cycles\t"
"type\t"
+ "sep_func\t"
+ "sep_src_factor\t"
+ "sep_dst_factor\t"
"rgb_func\t"
"rgb_src_factor\t"
"rgb_dst_factor\t"
@@ -91,7 +94,7 @@ write_tsv_row(FILE *fp,
{
fprintf(fp, "%s\t", success ? "pass" : "fail");
- fprintf(fp, "%u\t", (unsigned)(cycles + 0.5));
+ fprintf(fp, "%.1f\t", cycles + 0.5);
fprintf(fp, "%s%u%sx%u\t",
type.floating ? "f" : (type.fixed ? "h" : (type.sign ? "s" : "u")),
@@ -100,6 +103,12 @@ write_tsv_row(FILE *fp,
type.length);
fprintf(fp,
+ "%s\t%s\t%s\t",
+ blend->rgb_func != blend->alpha_func ? "true" : "false",
+ blend->rgb_src_factor != blend->alpha_src_factor ? "true" : "false",
+ blend->rgb_dst_factor != blend->alpha_dst_factor ? "true" : "false");
+
+ fprintf(fp,
"%s\t%s\t%s\t%s\t%s\t%s\n",
debug_dump_blend_func(blend->rgb_func, TRUE),
debug_dump_blend_factor(blend->rgb_src_factor, TRUE),