commit 330d0607ed60fd3edca192e54b4246310f06652f `gallium: remove pipe_index_buffer and set_index_buffer` causes glitches and crash in 32bit build with `-O3` optimization level. Can't test 64bit.
`-O2` was looking fine, but turns out it's just a little more stable. Less glitches and fewer crashes, but still broken.
Created attachment 131405 [details]
winedbg crashes at startup with memory corruption
Sorry previously attached backtrace is invalid, please ignore it.
Should be fixed by
Sorry but I can't manage to apply this patch, which branch/commit it's supposed to be applied on? (tried on master)
patching file src/gallium/state_trackers/nine/device9.c
Hunk #1 succeeded at 2915 with fuzz 1 (offset -12 lines).
patching file src/gallium/state_trackers/nine/indexbuffer9.c
Hunk #1 FAILED at 49.
Hunk #2 FAILED at 73.
2 out of 2 hunks FAILED -- saving rejects to file src/gallium/state_trackers/nine/indexbuffer9.c.rej
patching file src/gallium/state_trackers/nine/indexbuffer9.h
patching file src/gallium/state_trackers/nine/nine_state.c
Hunk #1 FAILED at 1575.
Hunk #2 FAILED at 2540.
Hunk #3 FAILED at 2561.
Hunk #4 succeeded at 2606 with fuzz 2.
Hunk #5 succeeded at 2622 with fuzz 2.
3 out of 5 hunks FAILED -- saving rejects to file src/gallium/state_trackers/nine/nine_state.c.rej
It applies well for me on master.
You can also find the patch here:
ah, I'm on git://anongit.freedesktop.org/mesa/mesa , I'll try iXit then
it won't compile due to some issue with llvm (5.0 master branch, which was fine for mesa repo), which version should I use?
I've tested your patch with Unigine Heaven, HL2 mod Metastasis and STALKER: Shadows of Chernobyl. Everything is fine, no glitches, no crashes.
Alright, there was some weird issue with my local repo, I can confirm everything is working on my end too.
Fixed by: 7e04ae74d44105dca8190fc2fdd2ab8581cbe698