diff options
author | Connor Abbott <[email protected]> | 2017-07-18 20:44:47 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-09-08 04:19:47 +0100 |
commit | fafa2995117a13df5356b82fb249cceb8987c184 (patch) | |
tree | 8103ebc5efe90f37aa8e5cbc2c19d91c768a3a4e | |
parent | 4cab214e76f95dfe4df83bc55da9a0dfdc642cbc (diff) |
ac: fix ac_get_type_size() for doubles
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index a765c0d7500..f8ae9db3357 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -99,6 +99,7 @@ ac_get_type_size(LLVMTypeRef type) return LLVMGetIntTypeWidth(type) / 8; case LLVMFloatTypeKind: return 4; + case LLVMDoubleTypeKind: case LLVMPointerTypeKind: return 8; case LLVMVectorTypeKind: |