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
Vulkan assertion since updating glslang from 1.3.224 to 1.3.231 #10965
Comments
Tried downgrading libplacebo to 5.229.1 too, to no avail. |
Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=884301 |
Here's the gdb backtrace:
Link to |
Alright, so it is going from top to bottom:
Quite the mix, esp. with the last two. So libplacebo is calling shaderc, and then shaderc is calling glslang internally. I would also just recommend rebuilding both shaderc and glslang just in case, in case one of those projects did some API/ABI breakage and the update only rebuilt one of those two. |
Also you can see where the area of mpv/libplacebo ends in
which then calls shaderc_compile_into_spv (https://code.videolan.org/videolan/libplacebo/-/blob/7ead30db8aa75db28236eee40899f0ff6e3c9688/src/glsl/spirv_shaderc.c#L103-105) After that it's all shaderc/glslang, and I'm definitely not sure if there's any relevant variables being passed on directly. |
On Sun Dec 4, 2022 at 10:46 PM CET, Jan Ekström wrote:
Alright, so it is going from top to bottom:
- mpv
- libplacebo
- shaderc
- glslang
Quite the mix, esp. with the last two. So libplacebo is calling shaderc, and then shaderc is calling glslang internally. I would also just recommend rebuilding both shaderc and glslang just in case, in case one of those projects did some API/ABI breakage and the update only rebuilt one of those two.
Fixed my problem nicely, (except that shaderc-2022.2 didn't want to build with glslang-1.3.231 and I needed more recent spirv-tools/spirv-headers to build 2022.3). Man, what a shitshow this is.
|
There was a mistake in the stabilization process in Gentoo, shaderc-2022.2 was never supposed to be used with that glslang version. I think there's nothing to do here. |
Alright, great. Closing. |
Important Information
Provide following Information:
Reproduction steps
Update glslang from 1.3.224-r1 to 1.3.231-r2 and
Expected behavior
No problem.
Actual behavior
Downgrading glslang fixes it.
Log file
http://0x0.st/okYN.txt
The text was updated successfully, but these errors were encountered: