projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cab214
)
ac: fix ac_get_type_size() for doubles
author
Connor Abbott
<cwabbott0@gmail.com>
Wed, 19 Jul 2017 03:44:47 +0000
(20:44 -0700)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 8 Sep 2017 03:19:47 +0000
(
04:19
+0100)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_llvm_build.c
b/src/amd/common/ac_llvm_build.c
index a765c0d7500392a138a18a1f056d4fc05763b4ff..f8ae9db3357591bd18c27a5dcd28cc23f19c2b24 100644
(file)
--- 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: