Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4761
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17435>
case PIPE_FORMAT_R16G16B16_UINT:
return PIPE_FORMAT_R16G16B16A16_UINT;
+ case PIPE_FORMAT_R8G8B8A8_SSCALED:
+ return PIPE_FORMAT_R8G8B8A8_SINT;
+ case PIPE_FORMAT_R8G8B8A8_USCALED:
+ return PIPE_FORMAT_R8G8B8A8_UINT;
+ case PIPE_FORMAT_R16G16B16A16_SSCALED:
+ return PIPE_FORMAT_R16G16B16A16_SINT;
+ case PIPE_FORMAT_R16G16B16A16_USCALED:
+ return PIPE_FORMAT_R16G16B16A16_UINT;
+
default:
return fmt;
}