File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Graphics/GraphicsEngine/src Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ ShaderCreateInfoWrapper::ShaderCreateInfoWrapper(const ShaderCreateInfo& ShaderC
4040 Allocator.AddSpaceForString (ShaderCI.EntryPoint );
4141 Allocator.AddSpaceForString (ShaderCI.Desc .Name );
4242 Allocator.AddSpaceForString (ShaderCI.Desc .CombinedSamplerSuffix );
43+ Allocator.AddSpaceForString (ShaderCI.GLSLExtensions );
44+ Allocator.AddSpaceForString (ShaderCI.WebGPUEmulatedArrayIndexSuffix );
4345
4446 if (ShaderCI.ByteCode && ShaderCI.ByteCodeSize > 0 )
4547 {
@@ -73,9 +75,11 @@ ShaderCreateInfoWrapper::ShaderCreateInfoWrapper(const ShaderCreateInfo& ShaderC
7375
7476 m_pRawMemory = decltype (m_pRawMemory){Allocator.ReleaseOwnership (), STDDeleterRawMem<void >{RawAllocator}};
7577
76- m_CreateInfo.EntryPoint = Allocator.CopyString (ShaderCI.EntryPoint );
77- m_CreateInfo.Desc .Name = Allocator.CopyString (ShaderCI.Desc .Name );
78- m_CreateInfo.Desc .CombinedSamplerSuffix = Allocator.CopyString (ShaderCI.Desc .CombinedSamplerSuffix );
78+ m_CreateInfo.EntryPoint = Allocator.CopyString (ShaderCI.EntryPoint );
79+ m_CreateInfo.Desc .Name = Allocator.CopyString (ShaderCI.Desc .Name );
80+ m_CreateInfo.Desc .CombinedSamplerSuffix = Allocator.CopyString (ShaderCI.Desc .CombinedSamplerSuffix );
81+ m_CreateInfo.GLSLExtensions = Allocator.CopyString (ShaderCI.GLSLExtensions );
82+ m_CreateInfo.WebGPUEmulatedArrayIndexSuffix = Allocator.CopyString (ShaderCI.WebGPUEmulatedArrayIndexSuffix );
7983
8084 if (m_CreateInfo.Desc .Name == nullptr )
8185 m_CreateInfo.Desc .Name = " " ;
You can’t perform that action at this time.
0 commit comments