From c0e132f48b138b16d981a5187c6e800b98b12945 Mon Sep 17 00:00:00 2001 From: csmartdalton Date: Thu, 23 May 2024 14:56:07 +0000 Subject: [PATCH] Fix shader compilation on UE4 This patch allows Rive shaders to compile under the conditions of UE4's DirectX 11 config by: * Disabling some unsupported D3D features when the device feature level is below 11_1 * Changing min16int/min16uint to int/uint, as these types aren't supported * Adding explicit rounding from float to half values, as this causes warnings which are treated as errors Authored-by: Elliot Colp Diffs= --- .rive_renderer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rive_renderer b/.rive_renderer index 8d6a41f4..d217e8df 100644 --- a/.rive_renderer +++ b/.rive_renderer @@ -1 +1 @@ -c25b70544d5fa4a5503a915b0fec80521604e9fb +0f344fbdba610f9569234e3244d82695d0e86768