Description

This appears to be new in 4.25.

Steps to Reproduce
  1. Create a new material
  2. Set the blend mode to Translucent
  3. Add a "SpiralBlur-SceneTexture" node to the graph
  4. Connect a constant value of 1 to Distance, Distance Steps, and Radial Steps
  5. Connect the Result output pin to the Emissive input
  6. Compile the material
  7. Observe numerous "warning: implicit truncation of vector type" errors
Callstack
[SM5] at 0x1dea5421420 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 Validation failed.
 D3DCompileToDxil failed
[SM5] /Engine/Generated/Material.ush(1864:13): warning: implicit truncation of vector type
 RandomSamp+=Texture2DSample(Tex,TexSampler,ScenePixels);
 ^
[SM5] /Engine/Generated/Material.ush(1867:17): warning: implicit truncation of vector type
 TempAARotation*=RandomSamp;
 ^
[SM5] /Engine/Generated/Material.ush(1868:25): warning: implicit truncation of vector type
 TempAADistance*=StepSize*RandomSamp;
 ^
[SM5] /Engine/Generated/Material.ush(1888:9): warning: implicit truncation of vector type
 NewUV.x = BaseUV.x + (CurOffset.x * (CurDistance+(RandomSamp*TempAADistance)));
 ^
[SM5] /Engine/Generated/Material.ush(1889:9): warning: implicit truncation of vector type
 NewUV.y = BaseUV.y + (CurOffset.y * (CurDistance+(RandomSamp*TempAADistance)));
 ^
[SM5] error: validation errors 
 at 0x210624c3e20 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 at 0x210624c3ba0 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
[SM5] at 0x210624c3c20 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 at 0x210624c50a0 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 at 0x210624c4720 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
[SM5] at 0x210624c5120 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 Validation failed.
 D3DCompileToDxil failed
[SM5] error: validation errors 
 at 0x1dea5421d20 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 at 0x1dea5421520 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
[SM5] at 0x1dea5421ea0 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 at 0x1dea54211a0 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value
 at 0x1dea54212a0 inside block ?internal.CalcInterpolants@@YAXUFRayCone@@UFDefaultAttributes@@UFVertexFactoryInterpolantsVSToPS@@@Z.exit of function ?MaterialCHS@@YAXUFPackedMaterialClosestHitPayload@@UFDefaultAttributes@@@Z Instructions should not read uninitialized value

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-92949 in the post.

24
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.254.26
Target Fix4.26
Fix Commit14560985
Release Commit14560985
CreatedMay 8, 2020
ResolvedOct 23, 2020
UpdatedSep 19, 2021