diff options
author | Jordan Justen <[email protected]> | 2015-12-08 16:06:43 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-12-08 18:09:31 -0800 |
commit | d28df86c879fec259d16a80797cb1334a2fc0eac (patch) | |
tree | cdb63934c5fd09dd6aec5d68098381d4c3f981f2 /src/vulkan/gen7_cmd_buffer.c | |
parent | db66424218661c7beedf7966a5cc13929fcc01f0 (diff) |
anv/compute: Fix thread width max off by 1
See cooresponding code in:
commit 8d87070af295140fb3558b6784dc6303fde11a67
Author: Jordan Justen <[email protected]>
Date: Thu Aug 28 14:47:19 2014 -0700
i965/cs: Implement brw_emit_gpgpu_walker
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/vulkan/gen7_cmd_buffer.c')
-rw-r--r-- | src/vulkan/gen7_cmd_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/gen7_cmd_buffer.c b/src/vulkan/gen7_cmd_buffer.c index 5efa7cce002..c31ea338e64 100644 --- a/src/vulkan/gen7_cmd_buffer.c +++ b/src/vulkan/gen7_cmd_buffer.c @@ -646,7 +646,7 @@ void genX(CmdDispatch)( .SIMDSize = prog_data->simd_size / 16, .ThreadDepthCounterMaximum = 0, .ThreadHeightCounterMaximum = 0, - .ThreadWidthCounterMaximum = pipeline->cs_thread_width_max, + .ThreadWidthCounterMaximum = pipeline->cs_thread_width_max - 1, .ThreadGroupIDXDimension = x, .ThreadGroupIDYDimension = y, .ThreadGroupIDZDimension = z, @@ -683,7 +683,7 @@ void genX(CmdDispatchIndirect)( .SIMDSize = prog_data->simd_size / 16, .ThreadDepthCounterMaximum = 0, .ThreadHeightCounterMaximum = 0, - .ThreadWidthCounterMaximum = pipeline->cs_thread_width_max, + .ThreadWidthCounterMaximum = pipeline->cs_thread_width_max - 1, .RightExecutionMask = pipeline->cs_right_mask, .BottomExecutionMask = 0xffffffff); |