diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-09-18 09:40:02 -0400 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-10-23 13:56:02 +0800 |
commit | ffe25a063e23222cd72fbe4ae3eb0409618c77dd (patch) | |
tree | 24a906ab783874cff4a5c25e13e828305df6a2cb | |
parent | 1663bbe66a922f26922a4e3bc49eeb3a32e09349 (diff) |
intel: fix max number of threads used on Ivy Bridge.
Fix the max number of threads to be used on Ivy Bridge. In particular,
the GEN7_PS_MAX_THREADS_SHIFT offset was wrong, thus causing the GPU
to use half of what was specified.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
-rw-r--r-- | src/i965_defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_defines.h b/src/i965_defines.h index b58260a..66e8e89 100644 --- a/src/i965_defines.h +++ b/src/i965_defines.h @@ -234,7 +234,7 @@ # define GEN7_PS_FLOATING_POINT_MODE_ALT (1 << 16) /* DW3: scratch space */ /* DW4 */ -# define GEN7_PS_MAX_THREADS_SHIFT 23 +# define GEN7_PS_MAX_THREADS_SHIFT 24 # define GEN7_PS_PUSH_CONSTANT_ENABLE (1 << 11) # define GEN7_PS_ATTRIBUTE_ENABLE (1 << 10) # define GEN7_PS_OMASK_TO_RENDER_TARGET (1 << 9) |