summaryrefslogtreecommitdiff
path: root/src/sna/gen8_render.h
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2014-10-13 11:33:26 -0700
committerChris Wilson <chris@chris-wilson.co.uk>2014-10-14 08:00:16 +0100
commitf5935aa4bb4fbd5cc16bd7a861e12becb3c1bcd2 (patch)
tree7fc560a68de7a3ae4fa7a20fc9cb2e37a7014636 /src/sna/gen8_render.h
parent2c227f391a1727f7bcfd0f03c2c75e01bf893383 (diff)
sna: Fix URB offset shift on 3DSTATE_SBE
Unfortunatelly this doesn't the bug I was hunting, but let's follow the spec. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'src/sna/gen8_render.h')
-rw-r--r--src/sna/gen8_render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen8_render.h b/src/sna/gen8_render.h
index 0bcdf107..29f3e970 100644
--- a/src/sna/gen8_render.h
+++ b/src/sna/gen8_render.h
@@ -125,7 +125,7 @@
# define SBE_SWIZZLE_ENABLE (1 << 21)
# define SBE_POINT_SPRITE_LOWERLEFT (1 << 20)
# define SBE_URB_ENTRY_READ_LENGTH_SHIFT 11
-# define SBE_URB_ENTRY_READ_OFFSET_SHIFT 4
+# define SBE_URB_ENTRY_READ_OFFSET_SHIFT 5
#define GEN8_3DSTATE_PS GEN8_3D(3, 0, 0x20)
/* DW1: kernel pointer */