[PICA] Implement int uniforms

This commit is contained in:
wheremyfoodat 2022-09-25 17:45:59 +03:00
parent 4cda023c22
commit a5c6fb858f
5 changed files with 25 additions and 3 deletions

View file

@ -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;