Add IArrayBuffer.Length, temporarily increase masking buffer size #1277
Test Results (Linux, MultiThreaded) ❌
❌ TestResults-Linux-MultiThreaded.trx
2980 tests were completed in 191s with 2920 passed, 3 failed and 57 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
osu.Framework.Tests.Shaders.TestSceneShaderDisposal | 2❌ | 326ms | ||
osu.Framework.Tests.Shaders.TestShaderLoading | 1✔️ | 1❌ | 109ms |
❌ osu.Framework.Tests.Shaders.TestSceneShaderDisposal
❌ TestConstructor
TearDown : osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
❌ TestShadersLoseReferencesOnManagerDisposal
TearDown : osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
❌ osu.Framework.Tests.Shaders.TestShaderLoading
❌ TestFetchExistentShader
osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
✔️ TestFetchNonExistentShader
Annotations
Check failure on line 67 in osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs
github-actions / Test Results (Linux, MultiThreaded)
osu.Framework.Tests.Shaders.TestSceneShaderDisposal ► TestConstructor
Failed test found in:
TestResults-Linux-MultiThreaded.trx
Error:
TearDown : osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
Raw output
TearDown : osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
--TearDown
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 67
at osu.Framework.Tests.Shaders.TestSceneShaderDisposal.TestGLRenderer.TestGLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestSceneShaderDisposal.cs:line 69
at osu.Framework.Tests.Shaders.TestSceneShaderDisposal.TestGLRenderer.CreateShader(String name, IShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestSceneShaderDisposal.cs:line 64
at osu.Framework.Graphics.Rendering.Renderer.osu.Framework.Graphics.Rendering.IRenderer.CreateShader(String name, IShaderPart[] parts) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Rendering/Renderer.cs:line 1153
at osu.Framework.Graphics.Shaders.ShaderManager.Load(String vertex, String fragment) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderManager.cs:line 42
at osu.Framework.Tests.Shaders.TestSceneShaderDisposal.<SetUpSteps>b__3_0() in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestSceneShaderDisposal.cs:line 33
at osu.Framework.Testing.Drawables.Steps.SingleStepButton.<.ctor>b__1_0() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/SingleStepButton.cs:line 19
at osu.Framework.Testing.Drawables.Steps.StepButton.PerformStep(Boolean userTriggered) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/StepButton.cs:line 124
at osu.Framework.Testing.TestScene.runNextStep(Action onCompletion, Action`1 onError, Func`2 stopCondition) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 203
--- End of stack trace from previous location ---
at osu.Framework.Testing.TestSceneTestRunner.TestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 89
at osu.Framework.Testing.TestSceneTestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 32
at osu.Framework.Testing.TestScene.RunTestsFromNUnit() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 469
Check failure on line 67 in osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs
github-actions / Test Results (Linux, MultiThreaded)
osu.Framework.Tests.Shaders.TestSceneShaderDisposal ► TestShadersLoseReferencesOnManagerDisposal
Failed test found in:
TestResults-Linux-MultiThreaded.trx
Error:
TearDown : osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
Raw output
TearDown : osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
--TearDown
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 67
at osu.Framework.Tests.Shaders.TestSceneShaderDisposal.TestGLRenderer.TestGLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestSceneShaderDisposal.cs:line 69
at osu.Framework.Tests.Shaders.TestSceneShaderDisposal.TestGLRenderer.CreateShader(String name, IShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestSceneShaderDisposal.cs:line 64
at osu.Framework.Graphics.Rendering.Renderer.osu.Framework.Graphics.Rendering.IRenderer.CreateShader(String name, IShaderPart[] parts) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Rendering/Renderer.cs:line 1153
at osu.Framework.Graphics.Shaders.ShaderManager.Load(String vertex, String fragment) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderManager.cs:line 42
at osu.Framework.Tests.Shaders.TestSceneShaderDisposal.<SetUpSteps>b__3_0() in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestSceneShaderDisposal.cs:line 33
at osu.Framework.Testing.Drawables.Steps.SingleStepButton.<.ctor>b__1_0() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/SingleStepButton.cs:line 19
at osu.Framework.Testing.Drawables.Steps.StepButton.PerformStep(Boolean userTriggered) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/StepButton.cs:line 124
at osu.Framework.Testing.TestScene.runNextStep(Action onCompletion, Action`1 onError, Func`2 stopCondition) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 203
--- End of stack trace from previous location ---
at osu.Framework.Testing.TestSceneTestRunner.TestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 89
at osu.Framework.Testing.TestSceneTestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 32
at osu.Framework.Testing.TestScene.RunTestsFromNUnit() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 469
Check failure on line 67 in osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs
github-actions / Test Results (Linux, MultiThreaded)
osu.Framework.Tests.Shaders.TestShaderLoading ► TestFetchExistentShader
Failed test found in:
TestResults-Linux-MultiThreaded.trx
Error:
osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
Raw output
osu.Framework.Graphics.OpenGL.Shaders.GLShader+ProgramLinkingFailedException : A osu.Framework.Graphics.OpenGL.Shaders.GLShader failed to link: Texture2D/Texture:
Veldrid.SPIRV.SpirvCompilationException: Compilation failed: <veldrid-spirv-input>:96: error: 'm_MaskingIndex' : undeclared identifier
<veldrid-spirv-input>:96: error: 'InitMasking' : no matching overloaded function found
<veldrid-spirv-input>:99: error: 'g_MaskingInfo' : undeclared identifier
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle too long
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : unknown swizzle selection
<veldrid-spirv-input>:99: error: 'ToMaskingSpace' : vector swizzle selection out of range
<veldrid-spirv-input>:106: error: 'assign' : cannot convert from ' temp float' to 'layout( location=5) flat out highp int'
<veldrid-spirv-input>:119: warning: '__internal_real_main' : identifiers containing consecutive underscores ("__") are reserved
<veldrid-spirv-input>:122: error: 'm_BackbufferDrawDepth' : undeclared identifier
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(UInt32 sourceLength, Byte* sourceTextPtr, String fileName, ShaderStages stage, Boolean debug, UInt32 macroCount, NativeMacroDefinition* macros)
at Veldrid.SPIRV.SpirvCompilation.CompileGlslToSpirv(String sourceText, String fileName, ShaderStages stage, GlslCompileOptions options)
at osu.Framework.Graphics.Shaders.ShaderCompilationStore.CompileVertexFragment(String vertexText, String fragmentText, CrossCompileTarget target) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderCompilationStore.cs:line 32
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 60
at osu.Framework.Graphics.OpenGL.Shaders.GLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/OpenGL/Shaders/GLShader.cs:line 67
at osu.Framework.Tests.Shaders.TestShaderLoading.TestGLRenderer.TestGLShader..ctor(GLRenderer renderer, String name, GLShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestShaderLoading.cs:line 49
at osu.Framework.Tests.Shaders.TestShaderLoading.TestGLRenderer.CreateShader(String name, IShaderPart[] parts, IUniformBuffer`1 globalUniformBuffer, ShaderCompilationStore compilationStore) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestShaderLoading.cs:line 44
at osu.Framework.Graphics.Rendering.Renderer.osu.Framework.Graphics.Rendering.IRenderer.CreateShader(String name, IShaderPart[] parts) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Rendering/Renderer.cs:line 1153
at osu.Framework.Graphics.Shaders.ShaderManager.Load(String vertex, String fragment) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Shaders/ShaderManager.cs:line 42
at osu.Framework.Tests.Shaders.TestShaderLoading.TestFetchExistentShader() in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Shaders/TestShaderLoading.cs:line 35