diff options
author | Vincent Lejeune <[email protected]> | 2013-02-13 18:49:30 +0100 |
---|---|---|
committer | Vincent Lejeune <[email protected]> | 2013-02-18 15:08:50 +0100 |
commit | 90e6f47ac8c8fdbfd097ef099895cd2ae005eb55 (patch) | |
tree | 3b02b20f793fa8011e9589bcf992d61eec81584a /src/gallium/drivers/r600/r600_shader.c | |
parent | ef8fde6acbc575487388389b3af5eab18eae4537 (diff) |
r600g/llvm: Fix alpha_to_one piglit tests
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
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 59a7f92d2c0..86424634d0f 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1428,6 +1428,7 @@ static int r600_shader_from_tgsi(struct r600_screen *rscreen, radeon_llvm_ctx.fs_color_all = shader->fs_write_all && (rscreen->chip_class >= EVERGREEN); radeon_llvm_ctx.stream_outputs = &so; radeon_llvm_ctx.clip_vertex = ctx.cv_output; + radeon_llvm_ctx.alpha_to_one = key.alpha_to_one; mod = r600_tgsi_llvm(&radeon_llvm_ctx, tokens); if (debug_get_bool_option("R600_DUMP_SHADERS", FALSE)) { dump = 1; |