mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 15:00:11 +01:00
amd/vpelib: Remove support for non-linear FP16
- Remove support for non-linear FP16 Reviewed-by: Roy Chan <Roy.Chan@amd.com> Acked-by: Jack Chih <chiachih@amd.com> Signed-off-by: Navid Assadian <navid.assadian@amd.com> --- Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28972>
This commit is contained in:
parent
acad1328a1
commit
0e6df4d458
1 changed files with 3 additions and 0 deletions
|
|
@ -408,6 +408,9 @@ bool vpe10_check_output_color_space(struct vpe_priv *vpe_priv, enum vpe_surface_
|
|||
if (cs == COLOR_SPACE_UNKNOWN || tf == TRANSFER_FUNC_UNKNOWN)
|
||||
return false;
|
||||
|
||||
if (vpe_is_fp16(format) && tf != TRANSFER_FUNC_LINEAR)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue