[Intel-gfx] [PATCH 1/2] sna: Fix URB offset shift on 3DSTATE_SBE
Rodrigo Vivi
rodrigo.vivi at intel.com
Mon Oct 13 20:33:26 CEST 2014
Unfortunatelly this doesn't the bug I was hunting, but let's follow
the spec.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
src/sna/gen8_render.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sna/gen8_render.h b/src/sna/gen8_render.h
index 0bcdf10..29f3e97 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 */
--
1.9.3
More information about the Intel-gfx
mailing list