diff options
author | Vincent Lejeune <[email protected]> | 2013-10-30 18:35:58 +0100 |
---|---|---|
committer | Vincent Lejeune <[email protected]> | 2013-11-11 23:14:42 +0100 |
commit | 88c8f1972976c506e8fb048100ed11fef1ca938b (patch) | |
tree | 364cfbbda7fb51c1d256f036e6471d3069a1612f /src/gallium/drivers/r600/r600_shader.c | |
parent | 23afe71f444067cad927273728529ff15ba394df (diff) |
r600/llvm: Store inputs in function arguments
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 aed21007384..1ea4ae6c056 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1102,6 +1102,7 @@ static int r600_shader_from_tgsi(struct r600_screen *rscreen, radeon_llvm_ctx.type = ctx.type; radeon_llvm_ctx.two_side = shader->two_side; radeon_llvm_ctx.face_gpr = ctx.face_gpr; + radeon_llvm_ctx.inputs_count = ctx.shader->ninput + 1; radeon_llvm_ctx.r600_inputs = ctx.shader->input; radeon_llvm_ctx.r600_outputs = ctx.shader->output; radeon_llvm_ctx.color_buffer_count = max_color_exports; |