summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2012-11-07 11:30:45 -0500
committerAlex Deucher <[email protected]>2012-11-07 11:51:16 -0500
commit0b61f0b14894792baa48d59ff3df167334c7d83e (patch)
treec291e964367049b331e9cd41803ada2aa7dd4d84
parent65faedb0d92e1bef8c79f5d8d233ecb83a148b0a (diff)
r600g/compute: fix call to r600_bytecode_init
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--src/gallium/drivers/r600/r600_shader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 4634c30b6bc..8862d0ee70b 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -249,7 +249,8 @@ int r600_compute_shader_create(struct pipe_context * ctx,
r600_llvm_compile(mod, &bytes, &byte_count, r600_ctx->family , dump);
shader_ctx.bc = bytecode;
- r600_bytecode_init(shader_ctx.bc, r600_ctx->chip_class, r600_ctx->family);
+ r600_bytecode_init(shader_ctx.bc, r600_ctx->chip_class, r600_ctx->family,
+ r600_ctx->screen->msaa_texture_support);
shader_ctx.bc->type = TGSI_PROCESSOR_COMPUTE;
r600_bytecode_from_byte_stream(&shader_ctx, bytes, byte_count);
if (shader_ctx.bc->chip_class == CAYMAN) {