mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 12:00:12 +01:00
gallivm: fix debug prints for halfs
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15246>
This commit is contained in:
parent
ba18799ca1
commit
cf9454bb2a
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ lp_build_print_value(struct gallivm_state *gallivm,
|
|||
length = 1;
|
||||
}
|
||||
|
||||
if (type_kind == LLVMFloatTypeKind || type_kind == LLVMDoubleTypeKind) {
|
||||
if (type_kind == LLVMFloatTypeKind || type_kind == LLVMDoubleTypeKind || type_kind == LLVMHalfTypeKind) {
|
||||
type_fmt[2] = '.';
|
||||
type_fmt[3] = '9';
|
||||
type_fmt[4] = 'g';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue