Shaders fail to compile with a series of cube map errors (subset below):
LogShaderCompilers: Warning: 17 Shader compiler errors compiling global shaders for platform SF_METAL_MRT:
LogShaderCompilers: Warning: /tmp/3733_3798084495.metal(0): Shader VisualizeTexturePSCubeArray, VF None:
Failed to compile to bytecode locally, code: 1, output: /tmp/3733_3798084495.metal:49:12: error: no matching function for call to 'sample'
v8.xyzw = texture_cube_array::sample(VisualizeTextureCubeArray, s0, (v9).xyz, (uint)(v9).w, level(pu_h[1].w));
^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ue4_stdlib.metal:2141:64: note: candidate template ignored: could not match 'texturecube_array' against 'texture2d_array'
static inline _attribute_((always_inline)) vec<T, 4> sample(texturecube_array<T, a> tex, sampler s, float3 coord, uint array, bias options)
^
/tmp/ue4_stdlib.metal:2151:64: note: candidate template ignored: could not match 'texturecube_array' against 'texture2d_array'
static inline _attribute_((always_inline)) vec<T, 4> sample(texturecube_array<T, a> tex, sampler s, float3 coord, uint array, level options)
^
/tmp/ue4_stdlib.metal:2161:64: note: candidate template ignored: could not match 'texturecube_array' against 'texture2d_array'
static inline _attribute_((always_inline)) vec<T, 4> sample(texturecube_array<T, a> tex, sampler s, float3 coord, uint array, gradientcube options)
^
/tmp/ue4_stdlib.metal:2131:64: note: candidate function template not viable: requires 4 arguments, but 5 were provided
static inline _attribute_((always_inline)) vec<T, 4> sample(texturecube_array<T, a> tex, sampler s, float3 coord, uint array)
^
1 error generated.
Selecte XCode 9.3 beta
Choose desktop forward for the iOS renderer
Deploy to device
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
How to delete some elements correctly when deleting an array loop?
What controls of umg have mouse wheel events in UE4.27?
Why RevisionControl connect failed in Unreal5.4 but Unreal5.3 success
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-57083 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.19 |
Target Fix | 4.20 |
Fix Commit | 4005974 |
---|---|
Main Commit | 4042226 |
Release Commit | 4095966 |
Created | Mar 30, 2018 |
---|---|
Resolved | Apr 16, 2018 |
Updated | Sep 16, 2019 |