mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 05:15:51 +12:00
[PICA] We can now upload floating point uniforms for real
This commit is contained in:
parent
92b7ca3b8c
commit
ce07b7e5e0
3 changed files with 7 additions and 6 deletions
|
@ -17,6 +17,9 @@ void PICAShader::run() {
|
|||
PICAShader::vec4f PICAShader::getSource(u32 source) {
|
||||
if (source < 16)
|
||||
return attributes[source];
|
||||
else if (source >= 0x20 && source <= 0x7f)
|
||||
return floatUniforms[source - 0x20];
|
||||
|
||||
Helpers::panic("[PICA] Unimplemented source value: %X", source);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue