Merge pull request #545 from OFFTKP/fix-scale

Fix shadowed variable in ubershader
This commit is contained in:
wheremyfoodat 2024-07-21 12:56:50 +00:00 committed by GitHub
commit a419312cc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -307,8 +307,8 @@ void calcLighting(out vec4 primary_color, out vec4 secondary_color) {
primary_color = vec4(vec3(0.0), 1.0);
secondary_color = vec4(vec3(0.0), 1.0);
uint GPUREG_LIGHTING_LUTINPUT_SCALE = readPicaReg(0x01D2u);
uint GPUREG_LIGHTING_CONFIG0 = readPicaReg(0x01C3u);
GPUREG_LIGHTING_LUTINPUT_SCALE = readPicaReg(0x01D2u);
GPUREG_LIGHTING_CONFIG1 = readPicaReg(0x01C4u);
GPUREG_LIGHTING_LUTINPUT_ABS = readPicaReg(0x01D0u);
GPUREG_LIGHTING_LUTINPUT_SELECT = readPicaReg(0x01D1u);