anv/compute: Fix thread width max off by 1
See cooresponding code in:
commit 8d87070af2
Author: Jordan Justen <jordan.l.justen@intel.com>
Date: Thu Aug 28 14:47:19 2014 -0700
i965/cs: Implement brw_emit_gpgpu_walker
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user