summaryrefslogtreecommitdiff
path: root/lib/rendercopy_gen9.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-02-27 14:57:35 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2014-09-30 12:21:02 +0100
commitecd659e000dc3165c33793b7da612863738dc1c5 (patch)
treebed05a0ce12285fc1ff365e6b42fadf08ef70f66 /lib/rendercopy_gen9.c
parente5b850cb340a7dde8e6907a6de28d0ba825d1cb2 (diff)
rendercopy/skl: Update 3DSTATE_SBE
SBE has now to be explicitely told which channels of which components are used by the pixel shader. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Diffstat (limited to 'lib/rendercopy_gen9.c')
-rw-r--r--lib/rendercopy_gen9.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c
index ae4893f9..01d5ef35 100644
--- a/lib/rendercopy_gen9.c
+++ b/lib/rendercopy_gen9.c
@@ -706,7 +706,7 @@ gen8_emit_sf(struct intel_batchbuffer *batch)
{
int i;
- OUT_BATCH(GEN7_3DSTATE_SBE | (4 - 2));
+ OUT_BATCH(GEN7_3DSTATE_SBE | (6 - 2));
OUT_BATCH(1 << GEN7_SBE_NUM_OUTPUTS_SHIFT |
GEN8_SBE_FORCE_URB_ENTRY_READ_LENGTH |
GEN8_SBE_FORCE_URB_ENTRY_READ_OFFSET |
@@ -714,6 +714,8 @@ gen8_emit_sf(struct intel_batchbuffer *batch)
1 << GEN8_SBE_URB_ENTRY_READ_OFFSET_SHIFT);
OUT_BATCH(0);
OUT_BATCH(0);
+ OUT_BATCH(GEN9_SBE_ACTIVE_COMPONENT_XYZW << 0);
+ OUT_BATCH(0);
OUT_BATCH(GEN8_3DSTATE_SBE_SWIZ | (11 - 2));
for (i = 0; i < 8; i++)