summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_context.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-05-16 03:13:15 +0100
committerJakob Bornecrantz <[email protected]>2009-05-18 20:54:09 +0100
commitbd59dd69ba0f11f96e627c663c67cc15d1083776 (patch)
tree3bfcfee6d14e9e58bde8930b56d024890f188598 /src/gallium/drivers/trace/tr_context.c
parent7d11a392d780ef7f0374f8da87e3ba416d880cf2 (diff)
trace: Improve shader wrapping
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.c')
-rw-r--r--src/gallium/drivers/trace/tr_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index a4166285628..2ad5ca49987 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -582,7 +582,7 @@ trace_context_create_fs_state(struct pipe_context *_pipe,
trace_dump_call_end();
- result = trace_shader_create(tr_ctx, state, result);
+ result = trace_shader_create(tr_ctx, state, result, TRACE_SHADER_FRAGMENT);
return result;
}
@@ -654,7 +654,7 @@ trace_context_create_vs_state(struct pipe_context *_pipe,
trace_dump_call_end();
- result = trace_shader_create(tr_ctx, state, result);
+ result = trace_shader_create(tr_ctx, state, result, TRACE_SHADER_VERTEX);
return result;
}