mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-19 10:06:24 +12:00
[PICA] Implement int uniforms
This commit is contained in:
parent
4cda023c22
commit
a5c6fb858f
5 changed files with 25 additions and 3 deletions
|
@ -10,7 +10,6 @@ void PICAShader::reset() {
|
|||
bufferedShader.fill(0);
|
||||
operandDescriptors.fill(0);
|
||||
|
||||
intUniforms.fill(0);
|
||||
boolUniform = 0;
|
||||
bufferIndex = 0;
|
||||
floatUniformIndex = 0;
|
||||
|
@ -24,6 +23,10 @@ void PICAShader::reset() {
|
|||
outputs.fill(zero);
|
||||
tempRegisters.fill(zero);
|
||||
|
||||
for (auto& e : intUniforms) {
|
||||
e.x() = e.y() = e.z() = e.w() = 0;
|
||||
}
|
||||
|
||||
addrRegister.x() = 0;
|
||||
addrRegister.y() = 0;
|
||||
loopCounter = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue