diff options
author | Tom Stellard <[email protected]> | 2013-02-04 19:31:54 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-02-05 15:41:33 +0000 |
commit | 8aaee4d64e362137fabfe536a686638a6cc882bc (patch) | |
tree | 668be51fd0a548815739529ccbf47ab82d28b895 /src/gallium/drivers/r600/r600_shader.c | |
parent | 02a423b23936a0757f5171535235707c5444b9bc (diff) |
r600g/compute: Fix segfault caused by new shader disassembler
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 8d07b638555..59a7f92d2c0 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -271,6 +271,7 @@ int r600_compute_shader_create(struct pipe_context * ctx, 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; + shader_ctx.bc->isa = r600_ctx->isa; r600_bytecode_from_byte_stream(&shader_ctx, bytes, byte_count); if (shader_ctx.bc->chip_class == CAYMAN) { cm_bytecode_add_cf_end(shader_ctx.bc); |