summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_shader.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-17 21:28:10 +0200
committerChristian König <[email protected]>2012-07-24 12:29:29 +0200
commit835098a5290e59bb7b468eb987db67b0e1913c67 (patch)
treec4ef9184a3beca6db6e86eaace98cd353603a4d6 /src/gallium/drivers/radeonsi/radeonsi_shader.c
parent7e011d92c9746ba4050890442db6e504fa42c4ad (diff)
radeonsi: move framebuffer to new handling
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c
index 7b805b59948..ecd319f9542 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_shader.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c
@@ -572,7 +572,7 @@ int si_pipe_shader_create(
si_shader_ctx.type = si_shader_ctx.parse.FullHeader.Processor.Processor;
si_shader_ctx.rctx = rctx;
- shader->shader.nr_cbufs = rctx->nr_cbufs;
+ shader->shader.nr_cbufs = rctx->framebuffer.nr_cbufs;
/* Dump TGSI code before doing TGSI->LLVM conversion in case the
* conversion fails. */