diff options
-rw-r--r-- | src/gallium/drivers/vc4/vc4_simulator_validate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.c b/src/gallium/drivers/vc4/vc4_simulator_validate.c index 855947395e9..e16b3728eac 100644 --- a/src/gallium/drivers/vc4/vc4_simulator_validate.c +++ b/src/gallium/drivers/vc4/vc4_simulator_validate.c @@ -462,6 +462,7 @@ validate_shader_rec(struct drm_device *dev, memcpy(pkt_v, pkt_u, packet_size); exec->shader_rec_u += packet_size; exec->shader_rec_v += packet_size; + exec->shader_rec_size -= packet_size; for (i = 0; i < nr_relocs; i++) { if (src_handles[i] >= exec->bo_count) { |