Created
April 20, 2015 00:51
-
-
Save Subv/810b52124615b7c68828 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| @@ -154,6 +154,10 @@ static void ProcessShaderCode(VertexShaderState& state) { | |
| return &state.temporary_registers[source_reg.GetIndex()].x; | |
| case RegisterType::FloatUniform: | |
| if (source_reg.GetIndex() >= 96) { | |
| LOG_CRITICAL(HW_GPU, "Trying to load too much %u", source_reg.GetIndex()); | |
| return dummy_vec4_float24; | |
| } | |
| return &shader_uniforms.f[source_reg.GetIndex()].x; | |
| default: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment