summaryrefslogtreecommitdiff
path: root/src/gpu-compute/wavefront.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu-compute/wavefront.cc')
-rw-r--r--src/gpu-compute/wavefront.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu-compute/wavefront.cc b/src/gpu-compute/wavefront.cc
index caeed85a7..96f0d0e96 100644
--- a/src/gpu-compute/wavefront.cc
+++ b/src/gpu-compute/wavefront.cc
@@ -675,6 +675,8 @@ Wavefront::exec()
} else {
instructionBuffer.pop_front();
}
+ } else {
+ discardFetch();
}
if (computeUnit->shader->hsail_mode==Shader::SIMT) {