llvmpipe: use util_dump_logicop()
authorBrian Paul <brianp@vmware.com>
Wed, 19 May 2010 17:37:42 +0000 (11:37 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 20 May 2010 16:27:11 +0000 (10:27 -0600)
src/gallium/drivers/llvmpipe/lp_state_fs.c

index 3e0c574895c767075f31062561c775248efccca2..7497565d2acc870584dd2117e743e0cf4734fdfe 100644 (file)
@@ -910,7 +910,7 @@ dump_fs_variant_key(const struct lp_fragment_shader_variant_key *key)
    }
 
    if (key->blend.logicop_enable) {
-      debug_printf("blend.logicop_func = %u\n", key->blend.logicop_func);
+      debug_printf("blend.logicop_func = %s\n", util_dump_logicop(key->blend.logicop_func, TRUE));
    }
    else if (key->blend.rt[0].blend_enable) {
       debug_printf("blend.rgb_func = %s\n",   util_dump_blend_func  (key->blend.rt[0].rgb_func, TRUE));