[PICA] Indexed add

This commit is contained in:
wheremyfoodat 2023-03-12 04:39:27 +02:00
parent c41d9b4462
commit 63075f1830
2 changed files with 3 additions and 4 deletions

View file

@ -180,8 +180,7 @@ public:
}
void setBufferIndex(u32 index) {
if (index != 0) Helpers::panic("How many bits is the shader buffer index reg meant to be?");
bufferIndex = (index >> 2) & 0xfff;
bufferIndex = index & 0xfff;
}
void setOpDescriptorIndex(u32 index) {