mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
ac: fix ac_get_type_size() for doubles
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4cab214e76
commit
fafa299511
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue