This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I just bisected the problem commit | |
➜ godot git:(7f4eafa6f28) git bisect good | |
Bisecting: 1 revision left to test after this (roughly 1 step) | |
[18f09492b4ff5db708cbb6b31f4ea3419f8092c1] Merge pull request #50874 from raulsntos/backport-44355 | |
➜ godot git:(18f09492b4f) htop | |
➜ godot git:(18f09492b4f) git bisect good | |
Bisecting: 0 revisions left to test after this (roughly 0 steps) | |
[d27428406922697382348ca1b769805db20a5310] Octahedral Normal/Tangent Compression | |
➜ godot git:(d2742840692) git bisect bad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is the old code | |
const float *v = (const float *)&r[j * total_elem_size + offsets[i]]; | |
w[j] = Vector3(v[0], v[1], v[2]); | |
// this is the replacement (has correct alignment) | |
float x = (float)r[j*total_elem_size*offsets[i]]; | |
float y = (float)r[j*total_elem_size*offsets[i]+1]; | |
float z = (float)r[j*total_elem_size*offsets[i]+2]; | |
w[j] = Vector3(x,y,z); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is the old code | |
const float *v = (const float *)&r[j * total_elem_size + offsets[i]]; | |
w[j] = Vector3(v[0], v[1], v[2]); | |
// this is the replacement (has correct alignment) | |
float x = (float)r[j*total_elem_size*offsets[i]]; | |
float y = (float)r[j*total_elem_size*offsets[i]+1]; | |
float z = (float)r[j*total_elem_size*offsets[i]+2]; | |
w[j] = Vector3(x,y,z); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias AK db | |
alias PressureValue r0 | |
alias OutPressure r1 | |
alias OutPressure2 r2 | |
alias InputPressure r3 | |
alias p1 r4 | |
alias p2 r5 | |
alias p3 r6 | |
alias p4 r7 | |
define MaximumPressure 40000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define COAL 1724793494 | |
define COBALT -983091249 | |
define COPPER -707307845 | |
define GOLD -1348105509 | |
define IRON 1758427767 | |
define LEAD -190236170 | |
define NICKEL 1830218956 | |
define SILICON 1103972403 | |
define SILVER -916518678 | |
define URANIUM -1516581844 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fix sony XM4's disconnecting and wifi dying on Intel AX210 cards on Linux | |
# run as root | |
echo -1 > /sys/module/usbcore/parameters/autosuspend | |
echo N | tee /sys/module/snd_hda_intel/parameters/power_save_controller | |
echo 0 | tee /sys/module/snd_hda_intel/parameters/power_save | |
# you prob need to modify this to your wifi card name run iwconfig and add it properly replacing wlp5s0 | |
iwconfig wlp5s0 power off |
OlderNewer