summaryrefslogtreecommitdiff
path: root/src/gpu-compute/dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu-compute/dispatcher.cc')
-rw-r--r--src/gpu-compute/dispatcher.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu-compute/dispatcher.cc b/src/gpu-compute/dispatcher.cc
index adc1f51bd..79eb46bbf 100644
--- a/src/gpu-compute/dispatcher.cc
+++ b/src/gpu-compute/dispatcher.cc
@@ -398,3 +398,9 @@ GpuDispatcher::setFuncargsSize(int funcargs_size)
{
shader->funcargs_size = funcargs_size;
}
+
+uint32_t
+GPUDispatcher::getStaticContextSize() const
+{
+ return shader->cuList[0]->wfList[0][0]->getStaticContextSize();
+}