r600g/compute: fix call to r600_bytecode_init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Nov 2012 16:30:45 +0000 (11:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Nov 2012 16:51:16 +0000 (11:51 -0500)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_shader.c

index 4634c30b6bce0820fc173c0d095a339dc348d493..8862d0ee70b0d747b6d42d3cdcc1e9f696899c3e 100644 (file)
@@ -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) {