Moritz Brückner

Results 132 comments of Moritz Brückner

Thank you, I didn't know that (actually this is the first time I'm working with the sublime API). Do you think it is safe to open it? I'm not sure...

And changes to that file don't get overwritten by Sublime? If no, I will try to implement this, but not before Sunday unfortunately, I'm very busy this week. Thank you...

After a lot of thinking, testing, and doubts, I finally found a solution! Now the mode gets saved between sessions, between projects and even after switching windows. As you deleted...

@jrappen As it seems to me, after the latest Sublime Text update the method with writing to session files doesn't work anymore. Or it also didn't work before and I...

> Could you test the suggested change on your end? Using "Auto Save Session.sublime-session" seems to work. > In the JSON session files there's a "windows": [ ... ] array...

Those could be the problematic lines: https://github.com/Kode/krafix/blob/68149aa77f3968dc9e2d5946d9cdee866b8ea243/Sources/SpirVTranslator.cpp#L234-L237 I'm not really sure about the contents of `arraySizes` but it looks like this might be the issue here. @RobDangerous does this look...

I don't know anything about Krafix so if you can point me to where to look that would be awesome (it's like finding a needle in a haystack to me)....

This looks like it could be the cause: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-packing-rules. It says: > Arrays are not packed in HLSL by default. To avoid forcing the shader to take on ALU overhead...