Module: Mesa Branch: master Commit: fafa2995117a13df5356b82fb249cceb8987c184 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fafa2995117a13df5356b82fb249cceb8987c184
Author: Connor Abbott <[email protected]> Date: Tue Jul 18 20:44:47 2017 -0700 ac: fix ac_get_type_size() for doubles Reviewed-by: Dave Airlie <[email protected]> --- 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 a765c0d750..f8ae9db335 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: _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
