diff options
author | Dave Airlie <[email protected]> | 2014-11-27 14:10:05 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-11-27 14:11:23 +1000 |
commit | 91a827624c01d40613e97322632aaffe319540f1 (patch) | |
tree | 15688b29ac78cd063bf13351be3039cdf4b20c5e /src/gallium | |
parent | b10ddf962f2ca09073a13ad19817bf7c9b158294 (diff) |
r600g: make llvm code compile this time
Actually compiling the code helps make it compile.
Cc: "10.3 10.4" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index 470c65f7af5..e8cae000080 100644 --- a/src/gallium/drivers/r600/r600_llvm.c +++ b/src/gallium/drivers/r600/r600_llvm.c @@ -689,7 +689,7 @@ static void llvm_emit_tex( if (emit_data->inst->Dst[0].Register.WriteMask & 4) { LLVMValueRef offset = lp_build_const_int32(bld_base->base.gallivm, 0); LLVMValueRef ZLayer = LLVMBuildExtractElement(gallivm->builder, - llvm_load_const_buffer(bld_base, offset, LLVM_R600_BUFFER_INFO_CONST_BUFFER, + llvm_load_const_buffer(bld_base, offset, LLVM_R600_BUFFER_INFO_CONST_BUFFER), lp_build_const_int32(gallivm, 0), ""); emit_data->output[0] = LLVMBuildInsertElement(gallivm->builder, emit_data->output[0], ZLayer, lp_build_const_int32(gallivm, 2), ""); |