[Mesa-dev] [PATCH 11/15] ac: fix ac_get_type_size() for doubles

Connor Abbott connora at valvesoftware.com
Tue Aug 8 01:32:37 UTC 2017


From: Connor Abbott <cwabbott0 at gmail.com>

---
 src/amd/common/ac_llvm_build.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index a10ec51..d4b48d1 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:
-- 
2.9.4



More information about the mesa-dev mailing list