Moonlit-Games / Ultimate-Water-System

15 stars 7 forks source link

Shader errors with Vulkan Graphics API #37

Open skaughtx0r opened 6 years ago

skaughtx0r commented 6 years ago

I tried doing a Linux build and had Auto Graphics API for Linux selected, which automatically enables Vulkan (it seems). Anyway, the build failed with shader errors:

617: [Unity] Shader error in 'Hidden/UltimateWater-Scene-DeferredShading': Recursing macros (on vulkan) 618: [Unity] WARNING: Shader Unsupported: 'Hidden/Post FX/Eye Adaptation' - Pass '' has no vertex shader 619: [Unity] WARNING: Shader Unsupported: 'Hidden/Post FX/Eye Adaptation' - Setting to default shader. 620: [Unity] WARNING: Shader Unsupported: 'Hidden/Post FX/Depth Of Field' - Pass 'COC TEMPORAL FILTER' has no vertex shader 621: [Unity] WARNING: Shader Unsupported: 'Hidden/Post FX/Temporal Anti-aliasing' - Pass '' has no vertex shader 622: [Unity] Shader error in 'UltimateWater/Depth/Water Depth': '' : compilation terminated at line 35 (on vulkan) 623: [Unity] Shader error in 'UltimateWater/Depth/Water Depth': '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'patch out 4-element array of float TessLevelOuter' and a right operand of type 'patch temp float TessLevelOuter' (or there is no acceptable conversion) at line 35 (on vulkan) 624: [Unity] Shader error in 'UltimateWater/Depth/Water Depth': 'assign' : cannot convert from 'patch out 4-element array of float TessLevelOuter' to 'global highp float' at line 35 (on vulkan)

Not sure if this is easy to fix to support Vulkan API?