Remove shader-related hallucinations

This commit is contained in:
wheremyfoodat 2024-07-22 02:06:24 +03:00
parent 6399cb55e2
commit 85af58f0a7
3 changed files with 3 additions and 6 deletions

View file

@ -329,9 +329,11 @@ void GPU::writeInternalReg(u32 index, u32 value, u32 mask) {
break;
}
/* TODO: Find out if this actually does anything
case VertexShaderTransferEnd:
if (value != 0) shaderUnit.vs.finalize();
break;
*/
case VertexShaderTransferIndex: shaderUnit.vs.setBufferIndex(value); break;

View file

@ -9,7 +9,6 @@ void ShaderUnit::reset() {
void PICAShader::reset() {
loadedShader.fill(0);
bufferedShader.fill(0);
operandDescriptors.fill(0);
boolUniform = 0;