Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test with MSYS2 UCRT environment #3521

Open
AnyOldName3 opened this issue Feb 15, 2024 · 0 comments
Open

Failing test with MSYS2 UCRT environment #3521

AnyOldName3 opened this issue Feb 15, 2024 · 0 comments

Comments

@AnyOldName3
Copy link
Contributor

[  FAILED  ] Glsl/CompileVulkanToSpirvTest.FromFile/spv_specConstant_vert, where GetParam() = "spv.specConstant.vert" (1 ms)

GCC 13.2.0 x86_64-w64-mingw32 ucrt64

With diff:
@@ -12,5 +12,5 @@
                               Name 4  \"main\"
                               Name 9  \"arraySize\"
-                              Name 14  \"foo(vf4[s216172782];\"
+                              Name 14  \"foo(vf4[];\"
                               Name 13  \"p\"
                               Name 17  \"builtin_spec_constant(\"
@@ -107,8 +107,8 @@
               48:          10 Load 22(ucol)
                               Store 47(param) 48
-              49:           2 FunctionCall 14(foo(vf4[s216172782];) 47(param)
+              49:           2 FunctionCall 14(foo(vf4[];) 47(param)
                               Return
                               FunctionEnd
-14(foo(vf4[s216172782];):           2 Function None 12
+  14(foo(vf4[];):           2 Function None 12
            13(p):     11(ptr) FunctionParameter
               15:             Label

The tests all work fine for me with MSVC 2022, though.

I don't know enough about the guts of glslang to diagnose the problem. If I had to hazard a guess, I'd say it might be because I'm using GCC 13.2.0 and the CI's only testing GCC 9.4.0, so there could be something that compiles slightly differently with the different compiler version and STL version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant