Closed SelfishOlex closed 2 years ago
As of last week I am getting the following errors when processing PopcornFX shaders:
Ribbon_Legacy.shader-3325586407-7081.log
~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~ShaderVariantAssetBuilder: Entry Point: RibbonVS ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Platform API] = dx12 ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~ShaderVariantAssetBuilder: Begin compiling shader function "RibbonVS" ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Platform API] = dx12 ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~ShaderPlatformInterface: Executing '"C:\git\o3de\build\bin\profile\Builders\DirectXShaderCompiler\dxc.exe" -E RibbonVS -T vs_6_2 -Zpr -enable-16bit-types -Fo "C:\git\o3de-multiplayersample\user\AssetProcessorTemp\JobTemp-ERNaty\Ribbon_Legacy_dx12.dxil.bin" -Fh "C:\git\o3de-multiplayersample\user\AssetProcessorTemp\JobTemp-ERNaty\Ribbon_Legacy_dx12.dxil.txt" "C:/git/o3de-multiplayersample/user/AssetProcessorTemp/JobTemp-ERNaty/Ribbon_Legacy_dx12.hlsl.prepend"' ... ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Platform API] = dx12 ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Trace] = C:/git/o3de/Gems/Atom/RHI/Code/Source/RHI.Edit/Utils.cpp(380): 'bool __cdecl AZ::RHI::ReportMessages(class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,bool)' ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Type] = Trace::Error ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~E: DXC: C:/git/o3de-multiplayersample-assets/Gems/O3DEPopcornFXPlugin/Assets/shaders/Common/RendererFeatures.azsli:190:26: error: use of undeclared identifier 'PassSrg' ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Platform API] = dx12 ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Trace] = C:/git/o3de/Gems/Atom/RHI/Code/Source/RHI.Edit/Utils.cpp(380): 'bool __cdecl AZ::RHI::ReportMessages(class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,bool)' ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Type] = Trace::Error ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~E: const float sceneDepth = PassSrg :: m_linearDepthTexture . Sample ( PassSrg :: LinearSampler , screenUV ) . r ; ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Platform API] = dx12 ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Trace] = C:/git/o3de/Gems/Atom/RHI/Code/Source/RHI.Edit/Utils.cpp(380): 'bool __cdecl AZ::RHI::ReportMessages(class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,class AZStd::basic_string_view<char,struct AZStd::char_traits<char> >,bool)' ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~C: [Type] = Trace::Error ~~1663881948517~~1~~000000000000A6C8~~AssetBuilder~~E: ^
This is now fixed on the development branch in the commit b8bd5cea3787833787b5a1a57d2296a856542eb4.
As of last week I am getting the following errors when processing PopcornFX shaders:
Ribbon_Legacy.shader-3325586407-7081.log