VReaperV

Results 524 comments of VReaperV

I tried deleting glsl cache, running 0.55.2, then running master again - still no issues.

> * but GL/GLSL versions differ? For GLSL versions - yes, and they follow from the GL version. > * or extensions may differ? Yes, as long as they are...

> We use the `__VERSION__` builtin macro in several shaders, so if we change GLSL version the source code is effectively different for those. That won't break, because GLSL version...

> We also have some `HAVE_*` definitions based on extensions we explicitly check, but I wonder if some implicit extensions may change the produced bitcode. It probably shouldn't since those...

> Yes I noticed that we have some `#version *` string containing the GLSL version that is appended to the source, so that will invalidate the build if the version...

> Master looks like this for me on the main menu. If I set `r_glslCache 0` it works. > > ![Image](https://github.com/user-attachments/assets/6196f537-ab92-4a87-a8b9-cdb663fe5e57) This looks more like the results I've gotten before...

> > This looks more like the results I've gotten before due to GL errors. > > What do you mean, what kind of errors? Ones that would get caught...

> It's the bitness. If you run 32-bit Daemon it poisons the cache for 64-bit Daemon and vice versa. > > Perhaps this bug was already there but I never...

Perhaps there should just be a value in the shader cache header to indicate whether it's 32-bit or 64-bit?