summaryrefslogtreecommitdiff
path: root/src/gpu-compute/vector_register_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu-compute/vector_register_file.cc')
-rw-r--r--src/gpu-compute/vector_register_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu-compute/vector_register_file.cc b/src/gpu-compute/vector_register_file.cc
index 8b7dc0691..c43d765af 100644
--- a/src/gpu-compute/vector_register_file.cc
+++ b/src/gpu-compute/vector_register_file.cc
@@ -63,7 +63,7 @@ VectorRegisterFile::VectorRegisterFile(const VectorRegisterFileParams *p)
nxtBusy.clear();
nxtBusy.resize(numRegsPerSimd, 0);
- vgprState->init(numRegsPerSimd);
+ vgprState->init(numRegsPerSimd, p->wfSize);
}
void